get_state


Description:

[ Version ( since = "3.0" ) ]
public StateFlags get_state (Widget? widget, CellRendererState cell_state)

Translates the cell renderer state to StateFlags, based on the cell renderer and widget sensitivity, and the given CellRendererState.

Parameters:

this

a CellRenderer, or null

widget

a Widget, or null

cell_state

cell renderer state

Returns:

the widget state flags applying to this