Package: gtk

Function gtk:widget-class-find-style-property

Lambda List

gtk:widget-class-find-style-property (gtype name)

Arguments

class -- a g:type-t type ID for a gtk:widget class
name -- a string with the name of the style property to find

Return Value

The g:param-spec instance of the style property or a cffi:null-pointer if class has no style property with that property name.

Details

Finds a style property of a widget class by property name.

Examples

(gtk:widget-class-find-style-property "GtkNotebook" "arrow-spacing")
=> #.(SB-SYS:INT-SAP #X00E8BAE0)
(g:param-spec-type *)
=> #<GTYPE :name "GParamInt" :id 14620672>
(g:param-spec-value-type **)
=> #<GTYPE :name "gint" :id 24>
(gtk:widget-class-find-style-property "GtkNotebook" "unknown")
=> #.(SB-SYS:INT-SAP #X00000000)    
 

See also

#2024-12-29