--- Paul Davis <paul@xxxxxxxxxxxxxxxxxxxxx> 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 to keep in mind is that a window is a > software > abstraction, an object that your code manipulates via an API. at some > point, the X server decides to change the appearance of the screen by > making the state of your window(s) actually visible. this is called > "mapping". until a window is mapped, nothing that you draw on it is > visible. after its mapped, all drawing is done when handling expose > events. > > once a window has been mapped to the screen, it can also be > unmapped. the typical case is when you hide it use some window > manager > decoration or keybinding. the window object has not been destroyed, > but it is no longer represented on the screen anymore. changes that > you make to it will make no difference to the screen. this continues > until the window is mapped again (for example, by de-minimizing the > window). > > a window may emit any number of map/unmap events over its lifetime, > depending on how the application and user treat it during that > lifetime. for many applications, there is one map event at program > startup and one unmap event at program termination. > _______________________________________________ > > gtk-list@xxxxxxxxx > http://mail.gnome.org/mailman/listinfo/gtk-list 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? By the way, do you know any source on the internet that documents all the GTK events and functions? The official GTK website doesn't have a complete documentation. Or do you suggest any places where there are people who have such knowledge? Also, is there a book or online documentation that details how GTK was created from X Window? Thank you in advance for your help. Jack ______________________________________________________________________ Post your free ad now! http://personals.yahoo.ca _______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list