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

GimpMemSizeEntry

+

GimpMemSizeEntry — A composite widget to enter a memory size.

+
+
+

Functions

+
++++ + + + + + + + + + + + + + + +
+GtkWidget * + +gimp_memsize_entry_new () +
+void + +gimp_memsize_entry_set_value () +
+guint64 + +gimp_memsize_entry_get_value () +
+
+
+

Signals

+
+++++ + + + + + +
voidvalue-changedRun First
+
+
+

Types and Values

+
++++ + + + + +
 GimpMemsizeEntry
+
+
+

Object Hierarchy

+
    GObject
+    ╰── GInitiallyUnowned
+        ╰── GtkObject
+            ╰── GtkWidget
+                ╰── GtkContainer
+                    ╰── GtkBox
+                        ╰── GimpMemsizeEntry
+
+
+
+

Implemented Interfaces

+

+GimpMemsizeEntry implements + AtkImplementorIface, GtkBuildable and GtkOrientable.

+
+
+

Description

+

Similar to a GimpSizeEntry but instead of lengths, this widget is +used to let the user enter memory sizes. A combo box allows one to +switch between Kilobytes, Megabytes and Gigabytes. Used in the GIMP +preferences dialog.

+
+
+

Functions

+
+

gimp_memsize_entry_new ()

+
GtkWidget *
+gimp_memsize_entry_new (guint64 value,
+                        guint64 lower,
+                        guint64 upper);
+

Creates a new GimpMemsizeEntry which is a GtkHBox with a GtkSpinButton +and a GtkOptionMenu all setup to allow the user to enter memory sizes.

+
+

Parameters

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

value

the initial value (in Bytes)

 

lower

the lower limit for the value (in Bytes)

 

upper

the upper limit for the value (in Bytes)

 
+
+
+

Returns

+

Pointer to the new GimpMemsizeEntry.

+
+
+
+
+

gimp_memsize_entry_set_value ()

+
void
+gimp_memsize_entry_set_value (GimpMemsizeEntry *entry,
+                              guint64 value);
+

Sets the entry +'s value. Please note that the GimpMemsizeEntry rounds +the value to full Kilobytes.

+
+

Parameters

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

entry

a GimpMemsizeEntry

 

value

the new value (in Bytes)

 
+
+
+
+
+

gimp_memsize_entry_get_value ()

+
guint64
+gimp_memsize_entry_get_value (GimpMemsizeEntry *entry);
+

Retrieves the current value from a GimpMemsizeEntry.

+
+

Parameters

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

entry

a GimpMemsizeEntry

 
+
+
+

Returns

+

the current value of entry +(in Bytes).

+
+
+
+
+

Types and Values

+
+

GimpMemsizeEntry

+
typedef struct _GimpMemsizeEntry GimpMemsizeEntry;
+
+
+
+

Signal Details

+
+

The “value-changed” signal

+
void
+user_function (GimpMemsizeEntry *gimpmemsizeentry,
+               gpointer          user_data)
+

Flags: Run First

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