Hoogle Search
Within LTS Haskell 24.51 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
constructLabelJustify :: (IsLabel o, MonadIO m) => Justification -> m (GValueConstruct o)gi-gtk4 GI.Gtk.Objects.Label Construct a GValueConstruct with valid value for the “justify” property. This is rarely needed directly, but it is used by new.
getLabelJustify :: (MonadIO m, IsLabel o) => o -> m Justificationgi-gtk4 GI.Gtk.Objects.Label Get the value of the “justify” property. When overloading is enabled, this is equivalent to
get label #justify
labelGetJustify :: (HasCallStack, MonadIO m, IsLabel a) => a -> m Justificationgi-gtk4 GI.Gtk.Objects.Label Returns the justification of the label. See labelSetJustify.
labelSetJustify :: (HasCallStack, MonadIO m, IsLabel a) => a -> Justification -> m ()gi-gtk4 GI.Gtk.Objects.Label Sets the alignment of the lines in the text of the label relative to each other. JustificationLeft is the default value when the widget is first created with labelNew. If you instead want to set the alignment of the label as a whole, use widgetSetHalign instead. labelSetJustify has no effect on labels containing only a single line.
setLabelJustify :: (MonadIO m, IsLabel o) => o -> Justification -> m ()gi-gtk4 GI.Gtk.Objects.Label Set the value of the “justify” property. When overloading is enabled, this is equivalent to
set label [ #justify := value ]
listBoxGetAdjustment :: (HasCallStack, MonadIO m, IsListBox a) => a -> m (Maybe Adjustment)gi-gtk4 GI.Gtk.Objects.ListBox Gets the adjustment (if any) that the widget uses to for vertical scrolling.
-
gi-gtk4 GI.Gtk.Objects.ListBox Sets the adjustment (if any) that the widget uses to for vertical scrolling. For instance, this is used to get the page size for PageUp/Down key handling. In the normal case when the box is packed inside a GtkScrolledWindow the adjustment from that will be picked up automatically, so there is no need to manually do that.
type
RangeAdjustBoundsCallback = Double -> IO ()gi-gtk4 GI.Gtk.Objects.Range Emitted before clamping a value, to give the application a chance to adjust the bounds.
-
gi-gtk4 GI.Gtk.Objects.Range Connect a signal handler for the adjustBounds signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after range #adjustBounds 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. constructRangeAdjustment :: (IsRange o, MonadIO m, IsAdjustment a) => a -> m (GValueConstruct o)gi-gtk4 GI.Gtk.Objects.Range Construct a GValueConstruct with valid value for the “adjustment” property. This is rarely needed directly, but it is used by new.