[ CCode ( cname = "gimp_prop_switch_new" ) ]
[ Version ( since = "3.0" ) ]
public Widget prop_switch_new (Object config, string property_name, string label, out unowned Widget label_out, out unowned Widget switch_out)
Creates a Box with a switch and a label that displays and sets the specified boolean property.
If label is null, the property_name's nick will be used as label.
| config |
Object to which property is attached. |
| property_name |
Name of boolean property controlled by checkbutton. |
| label |
Label to give checkbutton (including mnemonic). |
| label_out |
The generated Label |
| switch_out |
The generated Switch |
|
The newly created box containing a Switch. |