Top |
GtkListStore * | gimp_int_store_new () |
gboolean | gimp_int_store_lookup_by_value () |
gboolean | gimp_int_store_lookup_by_user_data () |
GimpIntStore implements GtkTreeModel, GtkTreeDragSource, GtkTreeDragDest, GtkTreeSortable and GtkBuildable.
GtkListStore *
gimp_int_store_new (void
);
Creates a GtkListStore with a number of useful columns. GimpIntStore is especially useful if the items you want to store are identified using an integer value.
Since: 2.2
gboolean gimp_int_store_lookup_by_value (GtkTreeModel *model
,gint value
,GtkTreeIter *iter
);
Iterate over the model
looking for value
.
model |
||
value |
an integer value to lookup in the |
|
iter |
return location for the iter of the given |
Since: 2.2
gboolean gimp_int_store_lookup_by_user_data (GtkTreeModel *model
,gpointer user_data
,GtkTreeIter *iter
);
Iterate over the model
looking for user_data
.
model |
||
user_data |
a gpointer "user-data" to lookup in the |
|
iter |
return location for the iter of the given |
Since: 2.10
The column types of GimpIntStore.
“user-data-type”
property “user-data-type” GType *
Sets the GType for the GIMP_INT_STORE_USER_DATA column.
You need to set this property when constructing the store if you want to use the GIMP_INT_STORE_USER_DATA column and want to have the store handle ref-counting of your user data.
Owner: GimpIntStore
Flags: Read / Write / Construct Only
Allowed values: void
Since: 2.4