Package: gtk

Function gtk:list-store-new

Lambda List

gtk:list-store-new (&rest column-types)

Arguments

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

Return Value

The new gtk:list-store object.

Details

Creates a new list store as with each of the types passed in. Note that only types derived from standard g:type-t fundamental type IDs are supported.

Examples

The following example creates a new gtk:list-store object with three columnes, of type "gint", "gchararray" and "GdkPixbuf".
(gtk:list-store-new "gint" "gchararray" "GdkPixbuf")    
Note that in the Lisp binding a second implementation is
(make-instance 'gtk:list-store
               :column-types '("gint" "gchararray" "GdkPixbuf"))    

Warning

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

See also

2024-4-7