[ CCode ( cname = "gimp_prop_toggle_new" ) ]
[ Version ( since = "3.2" ) ]
public Widget prop_toggle_new (Object config, string property_name, string icon_name, string label, out unowned Widget image_out)
Creates a [class@Gtk.
ToggleButton] that sets the specified boolean property.
If icon_name is null, label will be used. If label is
null too, 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 the toggle button. |
| icon_name |
Icon to display in the toggle. |
| label |
Label to give the toggle (including mnemonic). |
| image_out |
The generated Image if |
|
The newly ToggleButton. |