# GimpUi.PatternSelectButton.new

    function new(title: String, pattern_name: String): Gtk.Widget {
        // Gjs wrapper for gimp_pattern_select_button_new()
    }

Creates a new Gtk.Widget 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

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 Gtk.Widget that you can use in your UI.