Re: What are map_event and unmap_event?
- From: Paul Davis <paul linuxaudiosystems com>
- To: Jack Chen <jacks_small_world yahoo com>
- Cc: gtk-list gnome org
- Subject: Re: What are map_event and unmap_event?
- Date: Sat, 27 Dec 2003 14:08:50 -0500
>> "map_event" is emitted when a window is first made visible on the
>> display, and "unmap_event" when it is removed. a typical (but not
>> guaranteed) signal event order is:
>>
>> show
>> realize
>> map
>> ....
>> hide
>> unmap
>>
>> "show" is a pseudo-event, it doesn't affect anything "real".
>> "realize"
>> corresponds to the allocation of the underlying objects accessed by
>> GDK for drawing. "map" corresponds to those objects finally being
>> allocated a position on the display screen.
>>
>> i suspect that for some implementations of GDK, the map event signal
>> might be missing, perhaps. not sure.
>>
>
>Hi, thank you. But if what you said were correct, isn't that what the
>exposure_event is for, that is, in place of the map_event?
no, expose events are sent whenever some part of the window needs to
be redrawn. thats quite different.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]