PathComboBox


Description:

[ CCode ( cname = "gimp_path_combo_box_new" , has_construct_function = false , type = "GtkWidget*" ) ]
[ Version ( since = "2.4" ) ]
public PathComboBox (owned ItemConstraintFunc? constraint)

Creates a new IntComboBox filled with all currently opened path objects.

If a constraint function is specified, it is called for each path object and only if the function returns true, the path object is added to the combobox.

You should use connect to initialize and connect the combo. Use set_active to set the active path ID and get_active to retrieve the ID of the selected path object.

Parameters:

constraint

A ItemConstraintFunc or null

data

A pointer that is passed to constraint

data_destroy

Destroy function for data

Returns:

a new IntComboBox.