Manage a box » History » Revision 4
Revision 3 (iri, 02/22/2011 01:34 AM) → Revision 4/6 (iri, 02/22/2011 01:34 AM)
h1. Manage a box h2. * _gtkBoxAddChilds Add a list of widgets to a box 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]]