| Top |  |  |  |  | 
GObject ╰── GInitiallyUnowned ╰── GtkObject ╰── GtkWidget ╰── GtkContainer ╰── GtkBox ╰── GimpSelectButton ╰── GimpPatternSelectButton
GimpPatternSelectButton implements AtkImplementorIface, GtkBuildable and GtkOrientable.
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.
Since: 2.4
const gchar *
gimp_pattern_select_button_get_pattern
                               (GimpPatternSelectButton *button);
Retrieves the name of currently selected pattern.
Since: 2.4
void gimp_pattern_select_button_set_pattern (GimpPatternSelectButton *button,const gchar *pattern_name);
Sets the current pattern for the pattern select button.
Since: 2.4
“pattern-name” property“pattern-name” gchar *
The name of the currently selected pattern.
Flags: Read / Write
Default value: NULL
Since: 2.4
“pattern-set” signalvoid user_function (GimpPatternSelectButton *widget, gchar *pattern_name, gint width, gint height, gint bpp, gpointer mask_data, gboolean dialog_closing, gpointer user_data)
The ::pattern-set signal is emitted when the user selects a pattern.
| 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