Window » History » Revision 3
Revision 2 (iri, 02/22/2011 01:44 AM) → Revision 3/9 (iri, 02/22/2011 01:44 AM)
h1. Window h2. _gtkWindowNew > Create a new window > h3. Prototype h3.Prototype : > fun [Chn ObjGtkWidget S [I I] [I I]] ObjGtkWidget > * Channel : Chn :any channel > * Parent : ObjGtkWidget : a parent, can be nil > * Title : S : a title > * Position : [I I] : x and y > * Size : [I I] : width and height > * *Return* : ObjGtkWidget : the new window or nil if error h2. _gtkWindowAddChild > Add a child to a window > h3. Prototype h3.Prototype : > fun [ObjGtkWidget ObjGtkWidget] ObjGtkWidget > * window : ObjGtkWidget : the parent > * child : ObjGtkWidget : a child (typically a container but can be a single widget like a button) > * *Return* : the same window h2. _gtkWindowCBdestroyed > Callback called when the window is destroyed > h3. Prototype : > fun [ObjGtkWidget fun [ObjGtkWidget u0] u1 u0] ObjGtkWidget Return [[Window]]