Package: gtk

Function gtk:container-class-list-child-properties

Lambda List

gtk:container-class-list-child-properties (gtype)

Arguments

gtype -- a g:type-t type ID

Return Value

The list of g:param-spec instances.

Details

Returns the child properties of a container type.

Notes

In the Lisp binding we pass the type of a container class and not a pointer to the container class as argument to the function.

Examples

Get the child properties of GtkBox.
(gtk:container-class-list-child-properties "GtkBox")
=> (#.(SB-SYS:INT-SAP #X55878748BE60) #.(SB-SYS:INT-SAP #X7FC3F800C2F0)
    #.(SB-SYS:INT-SAP #X558787508850) #.(SB-SYS:INT-SAP #X5587875088D0)
    #.(SB-SYS:INT-SAP #X558787508950))
(mapcar #'g:param-spec-name *)
=> ("expand" "fill" "padding" "pack-type" "position")    
 

See also

2023-6-17