Actions
Window » History » Revision 4
« Previous |
Revision 4/9
(diff)
| Next »
iri, 02/22/2011 01:45 AM
Window¶
_gtkWindowNew¶
Create a new window
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
_gtkWindowAddChild¶
Add a child to a window
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
_gtkWindowCBdestroyed¶
Callback called when the window is destroyed
Prototype :¶
fun [ObjGtkWidget fun [ObjGtkWidget u0] u1 u0] ObjGtkWidget
Return API
Updated by iri almost 14 years ago · 4 revisions