Op 14-05-13 09:34, Petr Hracek schreef:
Hi folks,
I have a little bit simple question
In Glade3 I have GtkWindow object
with GtkButton and TextView widget.
What is my goal.
I would like to run some actions when all widgets (like TextView,
GtkButton) are really visible.
It means when this condition is satisfied then some actions are run
and output of that actions
are logged into TextView widget.
Actually now I could not find what event should be used for.
It should be some event of GtkWindow, right?
There are some events like visibility_event or show_event, ...
Any advises?
You probable want the realize signal.
window.connect("realize", on_realize)
This will be called when the window is fully shown. This can also be
used for seperate widgets as it's a GtkWidget signal.
Timo
_______________________________________________
pygtk mailing list pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/