get_state
Description:
Returns the state used for style matching.
Note:
Use [method@Gtk.Widget.get_state_flags] instead
This method should only be used to retrieve the `GtkStateFlags` to pass to `GtkStyleContext` methods, like [method@Gtk.StyleContext.get_padding ]. If you need to retrieve the current state of a `GtkWidget`, use [method@Gtk.Widget.get_state_flags].
Parameters:
this |
a `GtkStyleContext` |
Returns:
the state flags |