Package: gtk

Function gtk:cell-renderer-toggle-new

Lambda List

gtk:cell-renderer-toggle-new ()

Return Value

The new gtk:cell-renderer-toggle object.

Details

Creates a new cell renderer toggle. Adjust rendering parameters using object properties. Object properties can be set globally, with the g:object-property function. Also, with the gtk:tree-view-column object, you can bind a property to a value in a gtk:tree-model object. For example, you can bind the active property on the cell renderer to a boolean value in the model, thus causing the check button to reflect the state of the model.

Warning

The gtk:cell-renderer-toggle object is deprecated since 4.10. Please do not use it in newly written code.
 

See also

2024-2-22