GimpUi.BrushSelectButton.new
function new(title: String, brush_name: String, opacity: Number(gdouble), spacing: Number(gint), paint_mode: Gimp.LayerMode): Gtk.Widget {
// Gjs wrapper for gimp_brush_select_button_new()
}
Creates a new Gtk.Widget that completely controls the selection of a brush. 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 means to use the default title.
- brush_name
Initial brush name or null to use current selection.
- opacity
Initial opacity. -1 means to use current opacity.
- spacing
Initial spacing. -1 means to use current spacing.
- paint_mode
Initial paint mode. -1 means to use current paint mode.
- Returns
A Gtk.Widget that you can use in your UI.