Project

General

Profile

Window » History » Version 1

iri, 02/22/2011 01:43 AM

1 1 iri
h1. Window
2
3
h2. _gtkWindowNew
4
5
> Create a new window
6
7
> h3. Prototype :
8
9
> fun [Chn ObjGtkWidget S [I I] [I I]] ObjGtkWidget
10
11
> * Channel : Chn :any channel
12
13
> * Parent : ObjGtkWidget : a parent, can be nil
14
15
> * Title : S : a title
16
17
> * Position : [I I] : x and y
18
19
> * Size : [I I] : width and height
20
21
> * *Return* : ObjGtkWidget : the new window or nil if error
22
23
24
h2. _gtkWindowAddChild
25
26
> Add a child to a window
27
28
> h3.Prototype :
29
30
> fun [ObjGtkWidget ObjGtkWidget] ObjGtkWidget
31
32
> * window : ObjGtkWidget : the parent
33
34
> * child : ObjGtkWidget : a child (typically a container but can be a single widget like a button)
35
36
> * *Return* : the same window
37
38
39
h2. _gtkWindowCBdestroyed
40
41
> Callback called when the window is destroyed
42
43
> h3. Prototype :
44
45
> fun [ObjGtkWidget fun [ObjGtkWidget u0] u1 u0] ObjGtkWidget
46
47
48
49
Return [[Window]]