getState

open fun getState(widget: Widget? = null, cellState: CellRendererState): StateFlags

Translates the cell renderer state to GtkStateFlags, based on the cell renderer and widget sensitivity, and the given GtkCellRendererState.

Return

the widget state flags applying to @cell

Parameters

widget

a GtkWidget

cellState

cell renderer state