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.
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.
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.
-
gi-gtk4 GI.Gtk.Objects.CellRenderer Deprecated: (Since version 4.10)
printerGetStateMessage :: (HasCallStack, MonadIO m, IsPrinter a) => a -> m Textgi-gtk4 GI.Gtk.Objects.Printer Returns the state message describing the current state of the printer.
styleContextGetState :: (HasCallStack, MonadIO m, IsStyleContext a) => a -> m [StateFlags]gi-gtk4 GI.Gtk.Objects.StyleContext Deprecated: (Since version 4.10)Use widgetGetStateFlags instead
switchGetState :: (HasCallStack, MonadIO m, IsSwitch a) => a -> m Boolgi-gtk4 GI.Gtk.Objects.Switch Gets the underlying state of the GtkSwitch.
type
WidgetStateFlagsChangedCallback = [StateFlags] -> IO ()gi-gtk4 GI.Gtk.Objects.Widget Emitted when the widget state changes. See widgetGetStateFlags.
-
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. -
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
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.