_gtkObjectDepthList
_gtkObjectDepthList list the hierarchy until the given object.
All Scol types derived of Objects are accepted.
Prototype : fun [*] [S r1]
- * : any Scol type derived of Objects
- Return : [S r1] : a list, each element is a parent type, from Objects to the current class
See also
Example
typeof window = ObjGtkWindow;; fun main ()= _showconsole; set window = _gtkWindowNew _channel nil "title" 0; ... _fooSList _gtkObjectDepthSize window; ... 0;;
The console will display :
ScolObject:ScolWidget:ScolContainer:ScolWindow