--- Paul Davis [EMAIL PROTECTED] wrote: Hi, everyone
they are a bit X Window specific, perhaps.
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_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.
no, expose events are sent whenever some part of the window needs to
be redrawn. thats quite different.
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
So, say in Gimp for example, when does the
So, say in Gimp for example, when does the drawing area widget emit the
map event?
whenever the window is made visible on the screen after it was created
or unmapped.
by contrast, expose_event is emitted for any necessary redraw.
you generally don't need map_event - its useful for obscure hacks
--- Paul Davis [EMAIL PROTECTED] wrote: So, say in Gimp
for example, when does the drawing area widget emit
the
map event?
whenever the window is made visible on the screen after it was
created
or unmapped.
by contrast, expose_event is emitted for any necessary redraw.
you generally
--- Paul Davis [EMAIL PROTECTED] wrote: So, say in Gimp
for example, when does the drawing area widget emit
the
map event?
whenever the window is made visible on the screen after it was
created
or unmapped.
by contrast, expose_event is emitted for any necessary redraw.
you generally
--- Paul Davis [EMAIL PROTECTED] wrote: --- Paul Davis
So you are saying as long as the drawing_area_widget is on the
screen,
it will emit the map_event?
no. it is emitted once per mapping-onto-screen. this
mapping-onto-screen occurs after it has been realized+shown, and then
might
So to put it in plain words what you said was that map_event is emittted
if the window was first minimized and then brought back to the screen.
Right?
its hard to explain this to you without getting into a lot of X Window
concepts. what you have to keep in mind is that a window is a software
--- Paul Davis [EMAIL PROTECTED] wrote: So to put it in
plain words what you said was that map_event is
emittted
if the window was first minimized and then brought back to the
screen.
Right?
its hard to explain this to you without getting into a lot of X
Window
concepts. what you have
Thank you. So if I want to understand the deeper functions and events
of GTK, I need to study how the GTK API was created from the X Window
functions, right?
you will get a deeper appreciation, if only because there are
relatively complete docs on X available. however, GTK does not rely on
X
Hi, everyone
My name is Jack. I am new to the list. My question is what the two
events, map_event and unmap_event, are. I saw them used with the
drawing_area widget but don't know what they are for, and the official
API reference didn't document them.
Thank you in advance for your help.
11 matches
Mail list logo