_gtkBoxNew

Return a new horizontal or vertical box.

Retourne un nouveau container 'boîte' horizontal ou vertical.

Type :

fun [Chn I I I] ObjGtk

_channel_ : Chn : the channel where the box could be created

_direction_ : I : define if the box is horizontal (SGTK_HORIZONTAL) or vertical (SGTK_VERTICAL)

_homogeneous_ : I : define if all children are to be given equal space allotments (SGTK_HOMOGENEOUS) or not (SGTK_NO_HOMOGENEOUS)

_spacing_ : I : the default number of pixels between children

Return : ObjGtk : a new box object

Example :

	typeof box = ObjGtk;;
	fun main()=
		_showconsole;
		set box = _gtkBoxNew _channel SGTK_VERTICAL SGTK_HOMOGENEOUS 5;
		...

Back