DrawableChooser


Description:

[ CCode ( cname = "gimp_drawable_chooser_new" , has_construct_function = false , type = "GtkWidget*" ) ]
public DrawableChooser (string? title, string? label, Type drawable_type, Drawable? drawable)

Creates a new Widget that lets a user choose a drawable which must be of type drawable_type.

Note:

drawable_type of values g_type_none and gimp_type_drawable are equivalent. Otherwise it must be a subtype of gimp_type_drawable.

When drawable is null, initial choice is from context.

Parameters:

title

Title of the dialog to use or null to use the default title.

label

Button label or null for no label.

drawable_type

the acceptable subtype of choosable drawables.

drawable

Initial drawable.

Returns:

A [class@GimpUi.DrawableChooser.