StyleContext.getState

Returns the state used for style matching.

This method should only be used to retrieve the gtk.types.StateFlags to pass to gtk.style_context.StyleContext methods, like gtk.style_context.StyleContext.getPadding. If you need to retrieve the current state of a gtk.widget.Widget, use gtk.widget.Widget.getStateFlags.

More...
class StyleContext
getState
()

Return Value

Type: gtk.types.StateFlags

the state flags

Detailed Description

Deprecated: Use gtk.widget.Widget.getStateFlags instead