Project

General

Profile

Actions

Manage a box

_gtkBoxAddChilds

Add a list of widgets to a box with the defaults parameters :
  • expand = TRUE;
  • fill = TRUE;
  • padding = 0.

Otherwise, see anothers functions below.

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

_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

. _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

_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 about 13 years ago ยท 6 revisions