Project

General

Profile

Actions

Manage a box » History » Revision 3

« Previous | Revision 3/6 (diff) | Next »
iri, 02/22/2011 01:34 AM


Manage a box

* _gtkBoxAddChilds

Add a list of widgets to a box

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.

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.

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.

Prototype :

fun [[ObjGtkWidget ObjGtkWidget I I I I ] r1] I

See above to the similar explanation.

Return Containers

Updated by iri almost 14 years ago · 3 revisions