Function

GimpUiprop_check_button_new

Declaration [src]

GtkWidget*
gimp_prop_check_button_new (
  GObject* config,
  const gchar* property_name,
  const gchar* label
)

Description [src]

Creates a GtkCheckButton that displays and sets the specified boolean property. If label is NULL, the property_names nick will be used as label of the returned button.

Available since:2.4

Parameters

config GObject
 

Object to which property is attached.

 The data is owned by the caller of the function.
property_name const gchar*
 

Name of boolean property controlled by checkbutton.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
label const gchar*
 

Label to give checkbutton (including mnemonic).

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.

Return value

Returns: GtkWidget
 

The newly created GtkCheckButton widget.

 The caller of the function takes ownership of the data, and is responsible for freeing it.