Builder included objects » History » Version 5
  iri, 02/22/2011 01:53 PM 
  
| 1 | 1 | iri | h1. Builder included objects | 
|---|---|---|---|
| 2 | |||
| 3 | * _gtkBuilderWidgetGet | ||
| 4 | |||
| 5 | 5 | iri | Create and return a Scol GtkWidget object from its GTK+ 's name. | 
| 6 | 3 | iri | A new Scol object will be created if no previous call to +this+ GTK+ object. Otherwise, the previous Scol object will be returned. So, there is not doublon. | 
| 7 | If no GTK+ object is found, the function returns nil. Verify the name or the object may be in another builder. | ||
| 8 | 1 | iri | |
| 9 | If you want have an object included in a builder, you must call this function. | ||
| 10 | |||
| 11 | h3. Prototype : | ||
| 12 | |||
| 13 | fun [ObjGtkWidget S] ObjGtkWidget | ||
| 14 | |||
| 15 | > * Builder : ObjGtkWidget : a builder already created | ||
| 16 | |||
| 17 | 2 | iri | > * Name : S : the name of the searched object | 
| 18 | 1 | iri | |
| 19 | > * *Return* : ObjGtkWidget : the Scol searched object or nil if not found or error | ||
| 20 | |||
| 21 | |||
| 22 | Return [[Builder]] |