| Top |
XfceItemListStoreXfceItemListStore — Store for XfceItemListModel |
| XfceItemListStore * | xfce_item_list_store_new () |
| void | xfce_item_list_store_clear () |
| gint | xfce_item_list_store_insert () |
| void | xfce_item_list_store_set () |
| gint | xfce_item_list_store_insert_with_values () |
XfceItemListStore implements GtkTreeModel, GtkTreeDragSource and GtkTreeDragDest.
This class copies the GtkListStore interface, it also supports the GtkTreeModel interface, but is intended to be used as an XfceItemListModel.
XfceItemListStore * xfce_item_list_store_new (gint n_columns,...);
n_columns |
Number of columns in the model, if you use only standard ones, specify -1 |
|
... |
Column types |
Since: 4.21.3
void
xfce_item_list_store_clear (XfceItemListStore *store);
Removes all items.
Since: 4.21.3
gint xfce_item_list_store_insert (XfceItemListStore *store,gint index);
Inserts an empty item at the specified index.
Since: 4.21.3
void xfce_item_list_store_set (XfceItemListStore *store,gint index,...);
Sets the value of the item's columns at a specific index; the column index must be -1 at the end.
Since: 4.21.3
gint xfce_item_list_store_insert_with_values (XfceItemListStore *store,gint index,...);
This is a function that combines xfce_item_list_store_insert and xfce_item_list_store_set.
store |
||
index |
Index of the item to insert, or -1 to insert at the end |
|
... |
Indexes and column values |
Since: 4.21.3