get_state_flags


Description:

[ Version ( since = "3.0" ) ]
public StateFlags get_state_flags ()

Returns the widget state as a flag set.

It is worth mentioning that the effective gtk_state_flag_insensitive state will be returned, that is, also based on parent insensitivity, even if this itself is sensitive.

Also note that if you are looking for a way to obtain the StateFlags to pass to a StyleContext method, you should look at get_state.

Parameters:

this

a Widget

Returns:

The state flags for widget