Re: [gtkmm] configure_event in drawing area



> 
> the order of events related to a window becoming visible is something
> like:
> 
> 	show
> 	realize
> 	configure  << whenever its size changes, including the first show
> 	map
> 	expose
> 
> the exact order may be a little different; what matters here is that
> the expose event comes *after* the configure event.
> 
> you can get the information about size from configure, then draw in
> expose. what the user sees on the screen will reflect what you do in
> the expose event handler.
> 

Ok, the problem I'm having is actually that i want to draw to the drawingarea before it's visible. Maybe i should write a short example program to illustrate my problem.

/Daniel

> --p
> 
>     
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
> 



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