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

GimpPatternSelectButton

+

GimpPatternSelectButton — A button which pops up a pattern select dialog.

+
+
+

Functions

+
++++ + + + + + + + + + + + + + + +
+GtkWidget * + +gimp_pattern_select_button_new () +
const gchar * + +gimp_pattern_select_button_get_pattern () +
+void + +gimp_pattern_select_button_set_pattern () +
+
+
+

Properties

+
+++++ + + + + + + + + + + + + +
+char *pattern-nameRead / Write
+char *titleRead / Write / Construct Only
+
+
+

Signals

+
+++++ + + + + + +
voidpattern-setRun First
+
+
+

Types and Values

+
++++ + + + + +
 GimpPatternSelectButton
+
+
+

Object Hierarchy

+
    GObject
+    ╰── GInitiallyUnowned
+        ╰── GtkObject
+            ╰── GtkWidget
+                ╰── GtkContainer
+                    ╰── GtkBox
+                        ╰── GimpSelectButton
+                            ╰── GimpPatternSelectButton
+
+
+
+

Implemented Interfaces

+

+GimpPatternSelectButton implements + AtkImplementorIface, GtkBuildable and GtkOrientable.

+
+
+

Description

+

A button which pops up a pattern select dialog.

+
+
+

Functions

+
+

gimp_pattern_select_button_new ()

+
GtkWidget *
+gimp_pattern_select_button_new (const gchar *title,
+                                const gchar *pattern_name);
+

Creates a new GtkWidget that completely controls the selection of +a pattern. This widget is suitable for placement in a table in a +plug-in dialog.

+
+

Parameters

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

title

Title of the dialog to use or NULL to use the default title.

 

pattern_name

Initial pattern name or NULL to use current selection.

 
+
+
+

Returns

+

A GtkWidget that you can use in your UI.

+
+

Since: 2.4

+
+
+
+

gimp_pattern_select_button_get_pattern ()

+
const gchar *
+gimp_pattern_select_button_get_pattern
+                               (GimpPatternSelectButton *button);
+

Retrieves the name of currently selected pattern.

+
+

Parameters

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

button

A GimpPatternSelectButton

 
+
+
+

Returns

+

an internal copy of the pattern name which must not be freed.

+
+

Since: 2.4

+
+
+
+

gimp_pattern_select_button_set_pattern ()

+
void
+gimp_pattern_select_button_set_pattern
+                               (GimpPatternSelectButton *button,
+                                const gchar *pattern_name);
+

Sets the current pattern for the pattern select button.

+
+

Parameters

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

button

A GimpPatternSelectButton

 

pattern_name

Pattern name to set; NULL means no change.

 
+
+

Since: 2.4

+
+
+
+

Types and Values

+
+

GimpPatternSelectButton

+
typedef struct _GimpPatternSelectButton GimpPatternSelectButton;
+
+
+
+

Property Details

+
+

The “pattern-name” property

+
  “pattern-name”             char *
+

The name of the currently selected pattern.

+

Owner: GimpPatternSelectButton

+

Flags: Read / Write

+

Default value: NULL

+

Since: 2.4

+
+
+
+

The “title” property

+
  “title”                    char *
+

The title to be used for the pattern selection popup dialog.

+

Owner: GimpPatternSelectButton

+

Flags: Read / Write / Construct Only

+

Default value: "Pattern Selection"

+

Since: 2.4

+
+
+
+

Signal Details

+
+

The “pattern-set” signal

+
void
+user_function (GimpPatternSelectButton *widget,
+               char                    *pattern_name,
+               int                      width,
+               int                      height,
+               int                      bpp,
+               gpointer                 mask_data,
+               gboolean                 dialog_closing,
+               gpointer                 user_data)
+

The ::pattern-set signal is emitted when the user selects a pattern.

+
+

Parameters

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

widget

the object which received the signal.

 

pattern_name

the name of the currently selected pattern.

 

width

width of the pattern

 

height

height of the pattern

 

bpp

bpp of the pattern

 

mask_data

pattern mask data

 

dialog_closing

whether the dialog was closed or not.

 

user_data

user data set when the signal handler was connected.

 
+
+

Flags: Run First

+

Since: 2.4

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