Re: [gtkmm] configure_event in drawing area
- From: Paul Davis <pbd op net>
- To: Daniel <dss home se>
- Cc: gtkmm-list gnome org
- Subject: Re: [gtkmm] configure_event in drawing area
- Date: Thu, 12 Sep 2002 20:09:51 -0400
>> 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 illustrat
>e my problem.
as i said before, *ALL* drawing happens in an expose_event. if you
draw in the *first* expose_event, you *are* drawing *before* the
window is visible.
--p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]