Package: gtk

Function gtk-container-class-find-child-property

Lambda List

gtk-container-class-find-child-property (gtype property)

Arguments

gtype -- a g-type type ID
property -- a string with the name of the child property to find

Return Value

The g-param-spec instance of the child property or a null-pointer if the gtype type has no child property with that name.

Details

Finds a child property of a container type by name.

Example

(gtk-container-class-find-child-property "GtkBox" "expand")
=> #.(SB-SYS:INT-SAP #X00A7DA60)
(g-param-spec-type *)
=> #<GTYPE :name "GParamBoolean" :id 24606448>
(g-param-spec-value-type **)
=> #<GTYPE :name "gboolean" :id 20>
(gtk-container-class-find-child-property "GtkBox" "unknown")
=> #.(SB-SYS:INT-SAP #X00000000)    
 

See also

2021-9-12