Hoogle Search
Within LTS Haskell 24.45 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
type
WidgetUnmapCallback = IO ()gi-gtk4 GI.Gtk.Objects.Widget Emitted when widget is going to be unmapped. A widget is unmapped when either it or any of its parents up to the toplevel widget have been set as hidden. As unmap indicates that a widget will not be shown any longer, it can be used to, for example, stop an animation on the widget.
-
gi-gtk4 GI.Gtk.Objects.Widget Connect a signal handler for the map signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after widget #map 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 unmap signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after widget #unmap 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 map signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on widget #map callback
-
gi-gtk4 GI.Gtk.Objects.Widget Connect a signal handler for the unmap signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on widget #unmap callback
widgetGetFontMap :: (HasCallStack, MonadIO m, IsWidget a) => a -> m (Maybe FontMap)gi-gtk4 GI.Gtk.Objects.Widget Gets the font map of widget. See widgetSetFontMap.
widgetGetMapped :: (HasCallStack, MonadIO m, IsWidget a) => a -> m Boolgi-gtk4 GI.Gtk.Objects.Widget Whether the widget is mapped.
widgetMap :: (HasCallStack, MonadIO m, IsWidget a) => a -> m ()gi-gtk4 GI.Gtk.Objects.Widget Causes a widget to be mapped if it isn’t already. This function is only for use in widget implementations.
widgetSetFontMap :: (HasCallStack, MonadIO m, IsWidget a, IsFontMap b) => a -> Maybe b -> m ()gi-gtk4 GI.Gtk.Objects.Widget Sets the font map to use for Pango rendering. The font map is the object that is used to look up fonts. Setting a custom font map can be useful in special situations, e.g. when you need to add application-specific fonts to the set of available fonts. When not set, the widget will inherit the font map from its parent.
widgetUnmap :: (HasCallStack, MonadIO m, IsWidget a) => a -> m ()gi-gtk4 GI.Gtk.Objects.Widget Causes a widget to be unmapped if it’s currently mapped. This function is only for use in widget implementations.