Python GUI: [Gtk 3 + Glade] - GtkPopover, GtkLabel, and Threading

preview_player
Показать описание
ITDominator Website:
Twitter:
Рекомендации по теме
Комментарии
Автор

You make really good Pygobject / Glade tutorials. The pace of the tutorials and the explanations are excellent. I also like how you didn't cut out the parts of the tutorials that show errors. I hope to see more pygobject tutorials from you! Thanks.

jobinpy
Автор

The term you were looking for in this video is decorator. What is happening when you use a decorator is you are basically using a shortcut for the following.

hideMessageTimed = threaded(hideMessageTimed)


In effect, it redefines hideMessageTimed to be redefined with the wrapper function wrapper, that you defined in threaded, wrapped around it. The old hideMessageTimed still gets called, but from withing the wrapper function by the threading call, which spawns it as a separate thread. The name of the wrapped function is no longer visible to the outside world because it was overwritten with the wrapped version.

stevevest
Автор

Hi I subscribed to your channel because you are very clear. Will you make a video about DrawingArea??? Thanks bye from Italy

andreamo
visit shbcf.ru