# GimpUi.PatternSelectButton::pattern-set

    def callback(pattern_select_button, pattern_name, width, height, bpp, mask_data, dialog_closing, user_param1, ...)

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

Since 2.4

## user_param1

pattern_select_button

  instance of GimpUi.PatternSelectButton that is emitting 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.

...

  additional user parameters (if any)