Widgets » History » Version 5
iri, 03/31/2011 10:58 PM
| 1 | 1 | iri | h1. Widgets |
|---|---|---|---|
| 2 | |||
| 3 | 5 | iri | Base class for all widgets. |
| 4 | |||
| 5 | 1 | iri | h2. _gtkWidgetShowAll |
| 6 | 4 | iri | |
| 7 | Show all childs |
||
| 8 | 1 | iri | |
| 9 | Prototype : |
||
| 10 | *fun [ObjGtkWidget] ObjGtkWidget* |
||
| 11 | 4 | iri | |
| 12 | 5 | iri | +Return+ : the same object or nil if error |
| 13 | 1 | iri | |
| 14 | 5 | iri | h2. _gtkWidgetShow |
| 15 | 1 | iri | |
| 16 | 5 | iri | Show / Hide a single widget. |
| 17 | |||
| 18 | Prototype : |
||
| 19 | *fun [ObjGtkWidget I] ObjGtkWidget* |
||
| 20 | |||
| 21 | If the flag is at 1, the widget is shown, if the flag is at 0, the widget is hidden. |
||
| 22 | |||
| 23 | +Return+ : the same object or nil if error |
||
| 24 | |||
| 25 | |||
| 26 | 1 | iri | h2. _gtkWidgetDestroy |
| 27 | |||
| 28 | Destroy an object |
||
| 29 | 4 | iri | |
| 30 | Prototype : |
||
| 31 | 1 | iri | *fun [ObjGtkWidget] I* |
| 32 | 4 | iri | |
| 33 | 5 | iri | +Return+ : 0 or nil if error |
| 34 | 1 | iri | |
| 35 | h2. _gtkWidgetCB |
||
| 36 | |||
| 37 | 4 | iri | Define any callback to a widget |
| 38 | 1 | iri | |
| 39 | 4 | iri | Prototype : |
| 40 | *fun [ObjGtkWidget u1 u0 I I] ObjGtkWidget* |
||
| 41 | 1 | iri | |
| 42 | 5 | iri | +Return+ : the same object or nil if error |
| 43 | 4 | iri | for more details, [[widget callbacks|see callbacks]] |
| 44 | 3 | iri | |
| 45 | 4 | iri | h2. _gtkWidgetTypeName |
| 46 | 3 | iri | |
| 47 | 4 | iri | Returns the type of a widget (e.g. "GtkButton", "GtkLabel", "GtkWindow", ...) |
| 48 | |||
| 49 | Prototype : |
||
| 50 | *fun [ObjGtkWidget] S* |
||
| 51 | |||
| 52 | Return the type of the widget or nil if error |
||
| 53 | 3 | iri | |
| 54 | 1 | iri | |
| 55 | Return [[API]] |