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. iconSourceGetState :: IconSource -> IO (Maybe StateType)

    gtk Graphics.UI.Gtk.General.IconFactory

    Retrieve the StateType of this IconSource.

    • Nothing is returned if the IconSource matches all states.

  2. runGetState :: Get a -> ByteString -> ByteOffset -> (a, ByteString, ByteOffset)

    Agda Agda.TypeChecking.Serialise.Base

    Data.Binary.runGetState is deprecated in favour of runGetIncremental. Reimplementing it in terms of the new function. The new Decoder type contains strict byte strings so we need to be careful not to feed the entire lazy byte string to the decoder at once.

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

    gi-gtk4 GI.Gtk.Objects.CellRenderer

    Deprecated: (Since version 4.10)

  4. printerGetStateMessage :: (HasCallStack, MonadIO m, IsPrinter a) => a -> m Text

    gi-gtk4 GI.Gtk.Objects.Printer

    Returns the state message describing the current state of the printer.

  5. styleContextGetState :: (HasCallStack, MonadIO m, IsStyleContext a) => a -> m [StateFlags]

    gi-gtk4 GI.Gtk.Objects.StyleContext

    Deprecated: (Since version 4.10)Use widgetGetStateFlags instead

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

    gi-gtk4 GI.Gtk.Objects.Switch

    Gets the underlying state of the GtkSwitch.

  7. type WidgetStateFlagsChangedCallback = [StateFlags] -> IO ()

    gi-gtk4 GI.Gtk.Objects.Widget

    Emitted when the widget state changes. See widgetGetStateFlags.

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

    gi-gtk4 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.

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

    gi-gtk4 GI.Gtk.Objects.Widget

    Connect a signal handler for the stateFlagsChanged signal, to be run before the default handler. When overloading is enabled, this is equivalent to

    on widget #stateFlagsChanged callback
    

  10. widgetGetStateFlags :: (HasCallStack, MonadIO m, IsWidget a) => a -> m [StateFlags]

    gi-gtk4 GI.Gtk.Objects.Widget

    Returns the widget state as a flag set. It is worth mentioning that the effective StateFlagsInsensitive state will be returned, that is, also based on parent insensitivity, even if widget itself is sensitive. Also note that if you are looking for a way to obtain the [flagsgtk.StateFlags] to pass to a StyleContext method, you should look at styleContextGetState.

Page 7 of many | Previous | Next