Package: gtk

Function gtk:widget-path-iter-object-type

Lambda List

gtk:widget-path-iter-object-type (path pos)

Syntax

(gtk:widget-path-iter-object-type path pos) => gtype
(setf (gtk:widget-path-iter-object-type path pos) gtype)

Arguments

path -- a gtk:widget-path instance
pos -- an integer with the position, -1 for the path head
gtype -- a g:type-t type ID

Details

Accessor of the object type. The gtk:widget-path-iter-object-type function returns the g:type-t type ID of the object that is at position pos in the widget hierarchy defined in path. The (setf gtk:widget-path-iter-object-type) function sets the object type.

Examples

(setq widget (make-instance 'gtk:button))
=> #<GTK-BUTTON {10027EB373}>
(gtk:widget-path-iter-object-type (gtk:widget-path *) -1)
=> #<GTYPE :name "GtkButton" :id 23267040>    
 

See also

#2023-3-30