Method

GtkCellRendererget_state

since: 3.0

Declaration [src]

GtkStateFlags
gtk_cell_renderer_get_state (
  GtkCellRenderer* cell,
  GtkWidget* widget,
  GtkCellRendererState cell_state
)

Description [src]

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

Available since: 3.0

Parameters

cell

Type: GtkCellRenderer

A GtkCellRenderer, or NULL.

The argument can be NULL.
widget

Type: GtkWidget

A GtkWidget, or NULL.

The argument can be NULL.
The data is owned by the caller of the method.
cell_state

Type: GtkCellRendererState

Cell renderer state.

Return value

Type: GtkStateFlags

The widget state flags applying to cell.