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