From 5c1676dfe6d2f3c837a5e074117b45613fd29a72 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 20:30:19 +0200 Subject: Adding upstream version 2.10.34. Signed-off-by: Daniel Baumann --- devel-docs/libgimpwidgets/html/GimpEnumStore.html | 403 ++++++++++++++++++++++ 1 file changed, 403 insertions(+) create mode 100644 devel-docs/libgimpwidgets/html/GimpEnumStore.html (limited to 'devel-docs/libgimpwidgets/html/GimpEnumStore.html') diff --git a/devel-docs/libgimpwidgets/html/GimpEnumStore.html b/devel-docs/libgimpwidgets/html/GimpEnumStore.html new file mode 100644 index 0000000..034ef31 --- /dev/null +++ b/devel-docs/libgimpwidgets/html/GimpEnumStore.html @@ -0,0 +1,403 @@ + + + + +GimpEnumStore: GIMP Widgets Library Reference Manual + + + + + + + + + + + + + + + + +
+
+
+ + +
+

GimpEnumStore

+

GimpEnumStore — A GimpIntStore subclass that keeps enum values.

+
+
+

Functions

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+GtkListStore * + +gimp_enum_store_new () +
+GtkListStore * + +gimp_enum_store_new_with_range () +
+GtkListStore * + +gimp_enum_store_new_with_values () +
+GtkListStore * + +gimp_enum_store_new_with_values_valist () +
+void + +gimp_enum_store_set_stock_prefix () +
+void + +gimp_enum_store_set_icon_prefix () +
+
+
+

Properties

+
+++++ + + + + + +
+GType *enum-typeRead / Write / Construct Only
+
+
+

Types and Values

+
++++ + + + + +
 GimpEnumStore
+
+
+

Object Hierarchy

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

Implemented Interfaces

+

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

+
+
+

Description

+

A GimpIntStore subclass that keeps enum values.

+
+
+

Functions

+
+

gimp_enum_store_new ()

+
GtkListStore *
+gimp_enum_store_new (GType enum_type);
+

Creates a new GimpEnumStore, derived from GtkListStore and fills +it with enum values. The enum needs to be registered to the type +system and should have translatable value names.

+
+

Parameters

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

enum_type

the GType of an enum.

 
+
+
+

Returns

+

a new GimpEnumStore.

+
+

Since: 2.4

+
+
+
+

gimp_enum_store_new_with_range ()

+
GtkListStore *
+gimp_enum_store_new_with_range (GType enum_type,
+                                gint minimum,
+                                gint maximum);
+

Creates a new GimpEnumStore like gimp_enum_store_new() but allows +to limit the enum values to a certain range. Values smaller than +minimum + or larger than maximum + are not added to the store.

+
+

Parameters

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

enum_type

the GType of an enum.

 

minimum

the minimum value to include

 

maximum

the maximum value to include

 
+
+
+

Returns

+

a new GimpEnumStore.

+
+

Since: 2.4

+
+
+
+

gimp_enum_store_new_with_values ()

+
GtkListStore *
+gimp_enum_store_new_with_values (GType enum_type,
+                                 gint n_values,
+                                 ...);
+

Creates a new GimpEnumStore like gimp_enum_store_new() but allows +to explicitly list the enum values that should be added to the +store.

+
+

Parameters

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

enum_type

the GType of an enum.

 

n_values

the number of enum values to include

 

...

a list of enum values (exactly n_values +)

 
+
+
+

Returns

+

a new GimpEnumStore.

+
+

Since: 2.4

+
+
+
+

gimp_enum_store_new_with_values_valist ()

+
GtkListStore *
+gimp_enum_store_new_with_values_valist
+                               (GType enum_type,
+                                gint n_values,
+                                va_list args);
+

See gimp_enum_store_new_with_values().

+
+

Parameters

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

enum_type

the GType of an enum.

 

n_values

the number of enum values to include

 

args

a va_list of enum values (exactly n_values +)

 
+
+
+

Returns

+

a new GimpEnumStore.

+
+

Since: 2.4

+
+
+
+

gimp_enum_store_set_stock_prefix ()

+
void
+gimp_enum_store_set_stock_prefix (GimpEnumStore *store,
+                                  const gchar *stock_prefix);
+
+

gimp_enum_store_set_stock_prefix is deprecated and should not be used in newly-written code.

+

GIMP 2.10

+
+

Creates a stock ID for each enum value in the store + by appending +the value's nick to the given stock_prefix +, separated by a hyphen.

+

See also: gimp_enum_combo_box_set_stock_prefix().

+
+

Parameters

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

store

a GimpEnumStore

 

stock_prefix

a prefix to create icon stock ID from enum values

 
+
+

Since: 2.4

+
+
+
+

gimp_enum_store_set_icon_prefix ()

+
void
+gimp_enum_store_set_icon_prefix (GimpEnumStore *store,
+                                 const gchar *icon_prefix);
+

Creates an icon name for each enum value in the store + by appending +the value's nick to the given icon_prefix +, separated by a hyphen.

+

See also: gimp_enum_combo_box_set_icon_prefix().

+
+

Parameters

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

store

a GimpEnumStore

 

icon_prefix

a prefix to create icon names from enum values

 
+
+

Since: 2.10

+
+
+
+

Types and Values

+
+

GimpEnumStore

+
typedef struct _GimpEnumStore GimpEnumStore;
+
+
+
+

Property Details

+
+

The “enum-type” property

+
  “enum-type”                GType *
+

Sets the GType of the enum to be used in the store.

+

Owner: GimpEnumStore

+

Flags: Read / Write / Construct Only

+

Allowed values: int

+

Since: 2.4

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