Constructor
GimpUiDrawableChoosernew
since: 3.0
Declaration [src]
GtkWidget*
gimp_drawable_chooser_new (
  const gchar* title,
  const gchar* label,
  GType drawable_type,
  GimpDrawable* drawable
)
      Description [src]
Creates a new GtkWidget that lets a user choose a drawable which must be of
type drawable_type. drawable_type of values G_TYPE_NONE and
GIMP_TYPE_DRAWABLE are equivalent. Otherwise it must be a subtype of
GIMP_TYPE_DRAWABLE.
When drawable is NULL, initial choice is from context.
Available since: 3.0
Parameters
title- 
            
Type:
const gchar*Title of the dialog to use or
NULLto use the default title.The argument can be NULL.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.  label- 
            
Type:
const gchar*Button label or
NULLfor no label.The argument can be NULL.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.  drawable_type- 
            
Type:
GTypeThe acceptable subtype of choosable drawables.
 drawable- 
            
Type:
GimpDrawableInitial drawable.
The argument can be NULL.The data is owned by the caller of the function.  
Return value
Type: GtkWidget
A [class@GimpUi.DrawableChooser.
| The data is owned by the called function. |