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 |
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 |
GimpResource |
The resource to set as the initial choice. |
|
The data is owned by the caller of the function. | |
resource_type |
GType |
The type of the subclass of resource. |
|
callback |
GimpResourceChoosedCallback |
The callback function to call when a user chooses a resource. |
|
owner_data |
gpointer |
The run_data given to |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
data_destroy |
GDestroyNotify |
The destroy function for |