From e42129241681dde7adae7d20697e7b421682fbb4 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 18:23:22 +0200 Subject: Adding upstream version 2.10.22. Signed-off-by: Daniel Baumann --- devel-docs/libgimpwidgets/html/GimpIntStore.html | 336 +++++++++++++++++++++++ 1 file changed, 336 insertions(+) create mode 100644 devel-docs/libgimpwidgets/html/GimpIntStore.html (limited to 'devel-docs/libgimpwidgets/html/GimpIntStore.html') diff --git a/devel-docs/libgimpwidgets/html/GimpIntStore.html b/devel-docs/libgimpwidgets/html/GimpIntStore.html new file mode 100644 index 0000000..497ac83 --- /dev/null +++ b/devel-docs/libgimpwidgets/html/GimpIntStore.html @@ -0,0 +1,336 @@ + + + + +GimpIntStore: GIMP Widgets Library Reference Manual + + + + + + + + + + + + + + + + +
+
+
+ + +
+

GimpIntStore

+

GimpIntStore — A model for integer based name-value pairs +(e.g. enums)

+
+
+

Functions

+
++++ + + + + + + + + + + + + + + +
+GtkListStore * + +gimp_int_store_new () +
+gboolean + +gimp_int_store_lookup_by_value () +
+gboolean + +gimp_int_store_lookup_by_user_data () +
+
+
+

Properties

+
+++++ + + + + + +
+GType *user-data-typeRead / Write / Construct Only
+
+
+

Types and Values

+
++++ + + + + + + + + + + +
 GimpIntStore
enumGimpIntStoreColumns
+
+
+

Object Hierarchy

+
    GObject
+    ╰── GtkListStore
+        ╰── GimpIntStore
+            ╰── GimpEnumStore
+
+
+
+

Implemented Interfaces

+

+GimpIntStore implements + GtkTreeModel, GtkTreeDragSource, GtkTreeDragDest, GtkTreeSortable and GtkBuildable.

+
+
+

Description

+

A model for integer based name-value pairs (e.g. enums)

+
+
+

Functions

+
+

gimp_int_store_new ()

+
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.

+
+

Returns

+

a new GimpIntStore.

+
+

Since: 2.2

+
+
+
+

gimp_int_store_lookup_by_value ()

+
gboolean
+gimp_int_store_lookup_by_value (GtkTreeModel *model,
+                                gint value,
+                                GtkTreeIter *iter);
+

Iterate over the model + looking for value +.

+
+

Parameters

+
+++++ + + + + + + + + + + + + + + + + + +

model

a GimpIntStore

 

value

an integer value to lookup in the model +

 

iter

return location for the iter of the given value +

 
+
+
+

Returns

+

TRUE if the value has been located and iter +is +valid, FALSE otherwise.

+
+

Since: 2.2

+
+
+
+

gimp_int_store_lookup_by_user_data ()

+
gboolean
+gimp_int_store_lookup_by_user_data (GtkTreeModel *model,
+                                    gpointer user_data,
+                                    GtkTreeIter *iter);
+

Iterate over the model + looking for user_data +.

+
+

Parameters

+
+++++ + + + + + + + + + + + + + + + + + +

model

a GimpIntStore

 

user_data

a gpointer "user-data" to lookup in the model +

 

iter

return location for the iter of the given user_data +

 
+
+
+

Returns

+

TRUE if the user-data has been located and iter +is +valid, FALSE otherwise.

+
+

Since: 2.10

+
+
+
+

Types and Values

+
+

GimpIntStore

+
typedef struct _GimpIntStore GimpIntStore;
+
+
+
+

enum GimpIntStoreColumns

+

The column types of GimpIntStore.

+
+

Members

+
+++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

GIMP_INT_STORE_VALUE

+

the integer value

+
 

GIMP_INT_STORE_LABEL

+

a human-readable label

+
 

GIMP_INT_STORE_ICON_NAME

+

an icon name

+
 

GIMP_INT_STORE_PIXBUF

+

a GdkPixbuf

+
 

GIMP_INT_STORE_USER_DATA

+

arbitrary user data

+
 

GIMP_INT_STORE_ABBREV

+

an abbreviated label

+
 

GIMP_INT_STORE_NUM_COLUMNS

+

the number of columns

+
 

GIMP_INT_STORE_STOCK_ID

+

compat alias for GIMP_INT_STORE_ICON_NAME +

+
 
+
+
+
+
+

Property Details

+
+

The “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

+
+
+
+ + + \ No newline at end of file -- cgit v1.2.3