get_state


Description:

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

Returns the state used for style matching.

This method should only be used to retrieve the StateFlags to pass to StyleContext methods, like get_padding. If you need to retrieve the current state of a Widget, use get_state_flags.

Parameters:

this

a StyleContext

Returns:

the state flags