Project

General

Profile

Manage a box » History » Version 1

iri, 02/22/2011 01:33 AM

1 1 iri
h1. Manage a box
2
3
* _gtkBoxAddChilds
4
5
Add a list of widgets to a box
6
7
h3. Prototype :
8
9
fun [ObjGtkWidget [ObjGtkWidget r1] I] ObjGtkWidget
10
11
> * Box : ObjGtkWidget : any box already created
12
13
> * widgets : [ObjGtkWidget r1] : a list of widgets
14
15
> * flag : I :  if 0, widgets will add from the begin, otherwise from the end.
16
17
> * *Return* : ObjGtkWidget : the same box or nil if error
18
19
20
* _gtkBoxSetChildsSame
21
22
Sets the same way childs are packed into box. 
23
24
h3. Prototype :
25
26
fun [ObjGtkWidget [ObjGtkWidget r1] I I I I] ObjGtkWidget
27
28
> * Box : ObjGtkWidget : any box already created
29
30
> * widgets : [ObjGtkWidget r1] : a list of widgets
31
32
> * expand : I : 0 for False, other value  for True
33
34
> * fill : I : 0 for False, other value  for True
35
36
> * padding : I : If the value is negative, the padding will be 0
37
38
> * flag : I : 1 : add from the end, other value : add from the begin
39
40
> * *Return* : ObjGtkWidget : the same box or nil if error
41
42
43
* _gtkBoxSetChilds
44
45
Sets the differents way childs are packed into a box. 
46
47
h3. Prototype :
48
49
fun [ObjGtkWidget [[ObjGtkWidget I I I I ] r1]] ObjGtkWidget
50
51
> * Box : ObjGtkWidget : any box already created
52
53
> * list : [[ObjGtkWidget I I I I ] r1] : see above
54
55
> * *Return* : ObjGtkWidget : the same box or nil if error
56
57
58
* _gtkBoxSetChildsAny
59
60
Sets the differents way childs are packed into any box. 
61
62
h3. Prototype :
63
64
fun [[ObjGtkWidget ObjGtkWidget I I I I ] r1] I
65
66
See above to the similar explanation.
67
68
69
70
71
72
Return [[Containers]]