Re: Signal when window is shown



From: <hunchback netcabo pt>
>
> >realize
>
> i tried it but it never happens!
>
> >show
>
> i tried it but nothing happened again...
>
> >map
>
> 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 appears, 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 paint, only on the second time.

You need to do your drawing in the expose handler. All drawing comes after
the window has been mapped to the screen.

Ron Steinke



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