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