[ CCode ( cname = "gimp_cell_renderer_toggle_new" , has_construct_function = false , type = "GtkCellRenderer*" ) ]
[ Version ( since = "2.2" ) ]
public CellRendererToggle (string icon_name)
Creates a custom version of the CellRendererToggle.
Instead of showing the standard toggle button, it shows a named icon if the cell is active and no icon otherwise. This cell renderer is for example used in the Layers treeview to indicate and control the layer's visibility by showing gimp_stock_visible.
| icon_name |
the icon name of the icon to use for the active state |
|
a new CellRendererToggle |