Hoogle Search
Within LTS Haskell 24.36 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
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.
widgetGetState :: WidgetClass self => self -> IO StateTypegtk Graphics.UI.Gtk.Abstract.Widget Retrieve the current state of the widget.
- The state refers to different modes of user interaction, see StateType for more information.
widgetState :: WidgetClass self => Attr self StateTypegtk Graphics.UI.Gtk.Abstract.Widget The current visual user interaction state of the widget (insensitive, prelighted, selected etc). See StateType for more information.
drawWindowGetState :: DrawWindowClass self => self -> IO [WindowState]gtk Graphics.UI.Gtk.Gdk.DrawWindow Gets the bitwise OR of the currently active drawWindow state flags, from the WindowState enumeration.
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.