Create a box » History » Version 3
iri, 02/22/2011 01:23 AM
| 1 | 1 | iri | h1. Create a box |
|---|---|---|---|
| 2 | |||
| 3 | * _gtkBoxNew |
||
| 4 | |||
| 5 | Create a new GTK+ box |
||
| 6 | |||
| 7 | h3. Prototype : |
||
| 8 | |||
| 9 | fun [Chn ObjGtkWidget I I I] ObjGtkWidget |
||
| 10 | |||
| 11 | > * Channel : Chn: anychannel |
||
| 12 | |||
| 13 | 3 | iri | > * parent : ObjGtkWidget : a parent (can be nil if the parent is set after) |
| 14 | 1 | iri | |
| 15 | > * homogeneous : I : 1 if all children are to be given equal space allotments. |
||
| 16 | |||
| 17 | > * spacing : I : the number of pixels to place by default between children (0 if negative). |
||
| 18 | |||
| 19 | > * flag : I : SCOL_GTK_BOX_HZ for a horizontal box, SCOL_GTK_BOX_VT for a vertical box |
||
| 20 | |||
| 21 | 2 | iri | > * *Return* : ObjGtkWidget : the new box object |
| 22 | 1 | iri | |
| 23 | |||
| 24 | Return [[Containers]] |