Re: gtkmm window



On Sun, 6 Sep 2009 16:42:18 -0700 (PDT)
luisjcollado <masmalo1 yahoo es> wrote:
[snip]
> Once the window were showed to the user, some code will be executed.
> The problem here is that if I catch the signal win.signal_show, it is
> catch before the main loop happened.

I doubt that.  GTK+ events do not normally propagate until the main loop
is running.

By the way, it is best not to talk of "catching" GTK+ signals.  They
are not asynchronous unix signals, to which the word is normally
applied.

> Then, all the code is executed
> before the window is showed to the user. I have not found a way to
> run some code automatically after the call kit.run().

An idle handler will do this for you, or if you want to indicate
progress, a timeout.

Chris


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]