Re: Signal when window is shown

>i tried it but it never happens!
>i tried it but nothing happened again...
>i tried the map_event and it worked, but not on the first time..
>i have a drawing area and i want to draw somethings on it when the window appe
>ars, but nothing is working! the only one that entered the signal handler was 
>the map_event, but the first time it entered the signal handler it didn't pain
>t, only on the second time.

you must be making a mistake at a different level. realize is always
emitted for every widget with a GdkWindow (e.g. a GtkWindow) - nothing
can be drawn unless the widget is realized, and being realized emits
that signal.

are you sure you connected to the correct signals at the correct time?


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