![]() |
![]() |
![]() |
GIMP Library Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
void (*GimpRunPatternCallback) (const gchar *pattern_name, gint width, gint height, gint bpp, const guchar *mask_data, gboolean dialog_closing, gpointer user_data); const gchar * gimp_pattern_select_new (const gchar *title, const gchar *pattern_name, GimpRunPatternCallback callback, gpointer data); void gimp_pattern_select_destroy (const gchar *pattern_callback); gboolean gimp_patterns_popup (const gchar *pattern_callback, const gchar *popup_title, const gchar *initial_pattern); gboolean gimp_patterns_close_popup (const gchar *pattern_callback); gboolean gimp_patterns_set_popup (const gchar *pattern_callback, const gchar *pattern_name);
void (*GimpRunPatternCallback) (const gchar *pattern_name, gint width, gint height, gint bpp, const guchar *mask_data, gboolean dialog_closing, gpointer user_data);
|
|
|
|
|
|
|
|
|
|
|
|
|
const gchar * gimp_pattern_select_new (const gchar *title, const gchar *pattern_name, GimpRunPatternCallback callback, gpointer data);
|
|
|
|
|
|
|
|
Returns : |
void gimp_pattern_select_destroy (const gchar *pattern_callback);
|
gboolean gimp_patterns_popup (const gchar *pattern_callback, const gchar *popup_title, const gchar *initial_pattern);
Invokes the Gimp pattern selection.
This procedure opens the pattern selection dialog.
|
The callback PDB proc to call when pattern selection is made. |
|
Title of the pattern selection dialog. |
|
The name of the pattern to set as the first selected. |
Returns : |
TRUE on success. |
gboolean gimp_patterns_close_popup (const gchar *pattern_callback);
Close the pattern selection dialog.
This procedure closes an opened pattern selection dialog.
|
The name of the callback registered for this pop-up. |
Returns : |
TRUE on success. |
gboolean gimp_patterns_set_popup (const gchar *pattern_callback, const gchar *pattern_name);
Sets the current pattern in a pattern selection dialog.
Sets the current pattern in a pattern selection dialog.
|
The name of the callback registered for this pop-up. |
|
The name of the pattern to set as selected. |
Returns : |
TRUE on success. |