Package: gtk

Function gtk:tree-store-new

Lambda List

gtk:tree-store-new (&rest types)

Arguments

types -- all g:type-t type IDs for the columns, from first to last

Return Value

The new gtk:tree-store object.

Details

Creates a new tree store as with columns of the types passed in. Note that only types derived from standard GType fundamental types are supported.

Examples

The following example creates a new gtk:tree-store object with three columns, of type "gint", "gchararray", and "GdkPixbuf" respectively.
(gtk:tree-store-new "gint" "gchararray" "GdkPixbuf")    

Warning

The gtk:tree-store implementation is deprecated since 4.10. Use the gtk:tree-list-model object instead.
 

See also

2024-5-16