Gimp.Resource.select_new
@accepts(unicode, Gimp.Resource, GType, Gimp.ResourceChoosedCallback, gpointer, GLib.DestroyNotify)
@returns(unicode)
def select_new(title, resource, resource_type, callback, owner_data, data_destroy):
# Python wrapper for gimp_resource_select_new()
Invoke a resource chooser dialog which may call callback with the chosen resource and owner's @data.
A proxy to a remote dialog in core, which knows the model i.e. installed resources.
Generic on type of Gimp.Resource subclass passed in resource_type.
- title
Title of the resource selection dialog.
- resource
The resource to set as the initial choice.
- resource_type
The type of the subclass of resource.
- callback
The callback function to call when a user chooses a resource.
- owner_data
The run_data given to callback.
- data_destroy
The destroy function for owner_data.
- Returns