[pygtk] Handler for showing window
Petr Hracek
phracek at redhat.com
Thu May 16 17:00:56 WST 2013
Hi Timo,
thank it helps during the showing.
But I think that my way was wrong.
Let's say that I would like to run some command which takes 10minutes
(like yum installation under Linux)
and I would like to track in TextView all actions.
I think that python thread would be needed, right?
How to solve that issues?
Or are there any other possibilities?
Best regards / S pozdravem
Petr Hracek
On 05/14/2013 10:22 AM, Timo wrote:
> 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 at daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://faq.pygtk.org/
More information about the pygtk
mailing list