prop_enum_check_button_new


Description:

[ CCode ( cname = "gimp_prop_enum_check_button_new" ) ]
[ Version ( since = "2.4" ) ]
public Widget prop_enum_check_button_new (Object config, string property_name, string? label, int false_value, int true_value)

Creates a CheckButton that displays and sets the specified property of type Enum.

Note that this widget only allows two values for the enum, one corresponding to the "checked" state and the other to the "unchecked" state. If label is null, the property_name's nick will be used as label of the returned button.

Parameters:

config

Object to which property is attached.

property_name

Name of enum property controlled by checkbutton.

label

Label to give checkbutton (including mnemonic).

false_value

Enum value corresponding to unchecked state.

true_value

Enum value corresponding to checked state.

Returns:

The newly created CheckButton widget.


Namespace: GimpUi
Package: gimp-ui-3.0