Re: What are map_event and unmap_event?

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

 



>> "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.
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux