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.

  1. 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.

  2. 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.

  3. cellRendererGetState :: (HasCallStack, MonadIO m, IsCellRenderer a, IsWidget b) => Maybe a -> Maybe b -> [CellRendererState] -> m [StateFlags]

    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

  4. 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

  5. switchGetState :: (HasCallStack, MonadIO m, IsSwitch a) => a -> m Bool

    gi-gtk3 GI.Gtk.Objects.Switch

    Gets the underlying state of the Switch. Since: 3.14

  6. themingEngineGetState :: (HasCallStack, MonadIO m, IsThemingEngine a) => a -> m [StateFlags]

    gi-gtk3 GI.Gtk.Objects.ThemingEngine

    Deprecated: (Since version 3.14)

  7. type WidgetStateChangedCallback = StateType -> IO ()

    gi-gtk3 GI.Gtk.Objects.Widget

    Deprecated: (Since version 3.0)Use Widget::stateFlagsChanged instead.

  8. 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

  9. afterWidgetStateChanged :: (IsWidget a, MonadIO m) => a -> ((?self :: a) => WidgetStateChangedCallback) -> m SignalHandlerId

    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.

  10. afterWidgetStateFlagsChanged :: (IsWidget a, MonadIO m) => a -> ((?self :: a) => WidgetStateFlagsChangedCallback) -> m SignalHandlerId

    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.

Page 5 of many | Previous | Next