Hoogle Search
Within LTS Haskell 24.4 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
eventGetState :: (HasCallStack, MonadIO m) => Maybe Event -> m (Bool, [ModifierType])gi-gdk3 GI.Gdk.Unions.Event If the event contains a “state” field, puts that field in state. Otherwise stores an empty state (0). Returns True if there was a state field in the event. event may be Nothing, in which case it’s treated as if the event had no state field.
toplevelGetState :: (HasCallStack, MonadIO m, IsToplevel a) => a -> m [ToplevelState]gi-gdk4 GI.Gdk.Interfaces.Toplevel Gets the bitwise or of the currently active surface state flags, from the GdkToplevelState enumeration.
-
gi-gtk3 GI.Gtk.Objects.CellRenderer Translates the cell renderer state to StateFlags, based on the cell renderer and widget sensitivity, and the given CellRendererState. Since: 3.0
styleContextGetState :: (HasCallStack, MonadIO m, IsStyleContext a) => a -> m [StateFlags]gi-gtk3 GI.Gtk.Objects.StyleContext Returns the state used for style matching. This method should only be used to retrieve the StateFlags to pass to StyleContext methods, like styleContextGetPadding. If you need to retrieve the current state of a Widget, use widgetGetStateFlags. Since: 3.0
switchGetState :: (HasCallStack, MonadIO m, IsSwitch a) => a -> m Boolgi-gtk3 GI.Gtk.Objects.Switch Gets the underlying state of the Switch. Since: 3.14
themingEngineGetState :: (HasCallStack, MonadIO m, IsThemingEngine a) => a -> m [StateFlags]gi-gtk3 GI.Gtk.Objects.ThemingEngine Deprecated: (Since version 3.14)
type
WidgetStateChangedCallback = StateType -> IO ()gi-gtk3 GI.Gtk.Objects.Widget Deprecated: (Since version 3.0)Use Widget::stateFlagsChanged instead.
type
WidgetStateFlagsChangedCallback = [StateFlags] -> IO ()gi-gtk3 GI.Gtk.Objects.Widget The stateFlagsChanged signal is emitted when the widget state changes, see widgetGetStateFlags. Since: 3.0
-
gi-gtk3 GI.Gtk.Objects.Widget Connect a signal handler for the stateChanged signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after widget #stateChanged callback
By default the object invoking the signal is not passed to the callback. If you need to access it, you can use the implit ?self parameter. Note that this requires activating the ImplicitParams GHC extension. -
gi-gtk3 GI.Gtk.Objects.Widget Connect a signal handler for the stateFlagsChanged signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after widget #stateFlagsChanged callback
By default the object invoking the signal is not passed to the callback. If you need to access it, you can use the implit ?self parameter. Note that this requires activating the ImplicitParams GHC extension.