ItemChooser


Description:

[ CCode ( cname = "gimp_item_chooser_new" , has_construct_function = false , type = "GtkWidget*" ) ]
public ItemChooser (string? title, string? label, Type item_type, Item? item)

Creates a new Widget that lets a user choose a item which must be of type item_type.

item_type of values g_type_none and gimp_type_item are equivalent. Otherwise it must be a subtype of gimp_type_item.

When item 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.

item_type

the acceptable subtype of choosable items.

item

Initial item.

Returns:

A [class@GimpUi.ItemChooser.