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/GimpUnitStore.html | 346 ++++++++++++++++++++++ 1 file changed, 346 insertions(+) create mode 100644 devel-docs/libgimpwidgets/html/GimpUnitStore.html (limited to 'devel-docs/libgimpwidgets/html/GimpUnitStore.html') diff --git a/devel-docs/libgimpwidgets/html/GimpUnitStore.html b/devel-docs/libgimpwidgets/html/GimpUnitStore.html new file mode 100644 index 0000000..ed853cc --- /dev/null +++ b/devel-docs/libgimpwidgets/html/GimpUnitStore.html @@ -0,0 +1,346 @@ + + + + +GimpUnitStore: GIMP Widgets Library Reference Manual + + + + + + + + + + + + + + + + +
+
+
+ + +
+

GimpUnitStore

+

GimpUnitStore — A model for units

+
+
+

Functions

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+GimpUnitStore * + +gimp_unit_store_new () +
+void + +gimp_unit_store_set_has_pixels () +
+gboolean + +gimp_unit_store_get_has_pixels () +
+void + +gimp_unit_store_set_has_percent () +
+gboolean + +gimp_unit_store_get_has_percent () +
+void + +gimp_unit_store_set_pixel_value () +
+void + +gimp_unit_store_set_pixel_values () +
+void + +gimp_unit_store_set_resolution () +
+void + +gimp_unit_store_set_resolutions () +
+gdouble + +gimp_unit_store_get_value () +
+void + +gimp_unit_store_get_values () +
+
+
+

Properties

+
+++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
gbooleanhas-percentRead / Write
gbooleanhas-pixelsRead / Write
+char *long-formatRead / Write
intnum-valuesRead / Write / Construct Only
+char *short-formatRead / Write
+
+
+

Types and Values

+
++++ + + + + +
 GimpUnitStore
+
+
+

Object Hierarchy

+
    GObject
+    ╰── GimpUnitStore
+
+
+
+

Implemented Interfaces

+

+GimpUnitStore implements + GtkTreeModel.

+
+
+

Description

+

A model for GimpUnit views

+
+
+

Functions

+
+

gimp_unit_store_new ()

+
GimpUnitStore *
+gimp_unit_store_new (gint num_values);
+
+
+
+

gimp_unit_store_set_has_pixels ()

+
void
+gimp_unit_store_set_has_pixels (GimpUnitStore *store,
+                                gboolean has_pixels);
+
+
+
+

gimp_unit_store_get_has_pixels ()

+
gboolean
+gimp_unit_store_get_has_pixels (GimpUnitStore *store);
+
+
+
+

gimp_unit_store_set_has_percent ()

+
void
+gimp_unit_store_set_has_percent (GimpUnitStore *store,
+                                 gboolean has_percent);
+
+
+
+

gimp_unit_store_get_has_percent ()

+
gboolean
+gimp_unit_store_get_has_percent (GimpUnitStore *store);
+
+
+
+

gimp_unit_store_set_pixel_value ()

+
void
+gimp_unit_store_set_pixel_value (GimpUnitStore *store,
+                                 gint index,
+                                 gdouble value);
+
+
+
+

gimp_unit_store_set_pixel_values ()

+
void
+gimp_unit_store_set_pixel_values (GimpUnitStore *store,
+                                  gdouble first_value,
+                                  ...);
+
+
+
+

gimp_unit_store_set_resolution ()

+
void
+gimp_unit_store_set_resolution (GimpUnitStore *store,
+                                gint index,
+                                gdouble resolution);
+
+
+
+

gimp_unit_store_set_resolutions ()

+
void
+gimp_unit_store_set_resolutions (GimpUnitStore *store,
+                                 gdouble first_resolution,
+                                 ...);
+
+
+
+

gimp_unit_store_get_value ()

+
gdouble
+gimp_unit_store_get_value (GimpUnitStore *store,
+                           GimpUnit unit,
+                           gint index);
+
+
+
+

gimp_unit_store_get_values ()

+
void
+gimp_unit_store_get_values (GimpUnitStore *store,
+                            GimpUnit unit,
+                            gdouble *first_value,
+                            ...);
+
+
+
+

Types and Values

+
+

GimpUnitStore

+
typedef struct _GimpUnitStore GimpUnitStore;
+
+
+
+

Property Details

+
+

The “has-percent” property

+
  “has-percent”              gboolean
+

Whether the store has GIMP_UNIT_PERCENT.

+

Owner: GimpUnitStore

+

Flags: Read / Write

+

Default value: FALSE

+
+
+
+

The “has-pixels” property

+
  “has-pixels”               gboolean
+

Whether the store has GIMP_UNIT_PIXELS.

+

Owner: GimpUnitStore

+

Flags: Read / Write

+

Default value: TRUE

+
+
+
+

The “long-format” property

+
  “long-format”              char *
+

Format string for a long label.

+

Owner: GimpUnitStore

+

Flags: Read / Write

+

Default value: "%p"

+
+
+
+

The “num-values” property

+
  “num-values”               int
+

The number of values this store provides.

+

Owner: GimpUnitStore

+

Flags: Read / Write / Construct Only

+

Allowed values: >= 0

+

Default value: 0

+
+
+
+

The “short-format” property

+
  “short-format”             char *
+

Format string for a short label.

+

Owner: GimpUnitStore

+

Flags: Read / Write

+

Default value: "%a"

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