Manage a box » History » Revision 5
Revision 4 (iri, 02/22/2011 01:34 AM) → Revision 5/6 (iri, 03/22/2011 11:15 PM)
h1. Manage a box 
 h2.    _gtkBoxAddChilds 
 Add a list of widgets to a box with the defaults parameters : 
 * expand = TRUE; 
 * fill = TRUE; 
 * padding = 0. 
 Otherwise, see anothers functions below. 
 h3. Prototype : 
 fun [ObjGtkWidget [ObjGtkWidget r1] I] ObjGtkWidget 
 > * Box : ObjGtkWidget : any box already created 
 > * widgets : [ObjGtkWidget r1] : a list of widgets 
 > * flag : I :    if 0, widgets will add from the begin, otherwise from the end. 
 > * *Return* : ObjGtkWidget : the same box or nil if error 
 h2.    _gtkBoxSetChildsSame 
 Sets the same way childs are packed into box.  
 h3. Prototype : 
 fun [ObjGtkWidget [ObjGtkWidget r1] I I I I] ObjGtkWidget 
 > * Box : ObjGtkWidget : any box already created 
 > * widgets : [ObjGtkWidget r1] : a list of widgets 
 > * expand : I : 0 for False, other value    for True 
 > * fill : I : 0 for False, other value    for True 
 > * padding : I : If the value is negative, the padding will be 0 
 > * flag : I : 1 : add from the end, other value : add from the begin 
 > * *Return* : ObjGtkWidget : the same box or nil if error 
 h2. . _gtkBoxSetChilds 
 Sets the differents way childs are packed into a box.  
 h3. Prototype : 
 fun [ObjGtkWidget [[ObjGtkWidget I I I I ] r1]] ObjGtkWidget 
 > * Box : ObjGtkWidget : any box already created 
 > * list : [[ObjGtkWidget I I I I ] r1] : see above 
 > * *Return* : ObjGtkWidget : the same box or nil if error 
 h2.    _gtkBoxSetChildsAny 
 Sets the differents way childs are packed into any box.  
 h3. Prototype : 
 fun [[ObjGtkWidget ObjGtkWidget I I I I ] r1] I 
 See above to the similar explanation. 
 Return [[Containers]]