Gimp.Resource.select_new
@accepts(unicode, GLib.Bytes, Gimp.Resource, GType, Gimp.ResourceChoosedCallback, gpointer, GLib.DestroyNotify)
@returns(unicode)
def select_new(title, parent_handle, 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_data.
A proxy to a remote dialog in core, which knows the installed resources.
- title
Title of the resource selection dialog.
- parent_handle
- resource
The resource to set as the initial choice.
- resource_type
The type of the subclass of [class@Resource].
- callback
The callback function to call when the user chooses a resource.
- owner_data
The run_data given to callback.
- data_destroy
The destroy function for owner_data.
- Returns