GimpUi.PatternSelectButton::pattern-set
Description: Reference for signal GimpUi.PatternSelectButton::pattern-set

### Signal

# GimpUi PatternSelectButton::pattern-set

since: 2.4

#### Declaration

    void
    pattern_set (
      GimpPatternSelectButton* self,
      gchar* pattern_name,
      gint width,
      gint height,
      gint bpp,
      gpointer mask_data,
      gboolean dialog_closing,
      gpointer user_data
    )

#### Description [src]

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

Default handler: The default handler is called before the handlers added via `g_signal_connect()`.
Available since: 2.4

#### Parameters

`pattern_name`

  Type: `gchar*`

  The name of the currently selected pattern.

  The data is owned by the caller of the function.
  The value is a NUL terminated UTF-8 string.

`width`

  Type: `gint`

  Width of the pattern.

`height`

  Type: `gint`

  Height of the pattern.

`bpp`

  Type: `gint`

  Bpp of the pattern.

`mask_data`

  Type: `gpointer`

  Pattern mask data.

  The argument can be `NULL`.
  The data is owned by the caller of the function.

`dialog_closing`

  Type: `gboolean`

  Whether the dialog was closed or not.