Function
GimpResourceselect_new
Declaration [src]
const gchar*
gimp_resource_select_new (
const gchar* title,
GimpResource* resource,
GType resource_type,
GimpResourceChoosedCallback callback,
gpointer owner_data,
GDestroyNotify data_destroy
)
Description [src]
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 GimpResource subclass passed in resource_type.
Parameters
title-
Type:
const gchar*Title of the resource selection dialog.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. resource-
Type:
GimpResourceThe resource to set as the initial choice.
The data is owned by the caller of the function. resource_type-
Type:
GTypeThe type of the subclass of resource.
callback-
Type:
GimpResourceChoosedCallbackThe callback function to call when a user chooses a resource.
owner_data-
Type:
gpointerThe run_data given to
callback.The argument can be NULL.The data is owned by the caller of the function. data_destroy-
Type:
GDestroyNotifyThe destroy function for
owner_data.