gi-gtk-3.0.26: Gtk bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
MaintainerIñaki García Etxebarria (
Safe HaskellNone




The HScrollbar widget is a widget arranged horizontally creating a scrollbar. See Scrollbar for details on scrollbars. Adjustment pointers may be added to handle the adjustment of the scrollbar or it may be left Nothing in which case one will be created for you. See Scrollbar for a description of what the fields in an adjustment represent for a scrollbar.

GtkHScrollbar has been deprecated, use Scrollbar instead.


Exported types

newtype HScrollbar Source #

Memory-managed wrapper type.

class GObject o => IsHScrollbar o Source #

Type class for types which can be safely cast to HScrollbar, for instance with toHScrollbar.

toHScrollbar :: (MonadIO m, IsHScrollbar o) => o -> m HScrollbar Source #

Cast to HScrollbar, for types for which this is known to be safe. For general casts, use castTo.



hScrollbarNew Source #


:: (HasCallStack, MonadIO m, IsAdjustment a) 
=> Maybe a

adjustment: the Adjustment to use, or Nothing to create a new adjustment

-> m HScrollbar

Returns: the new HScrollbar

Deprecated: (Since version 3.2)Use scrollbarNew with OrientationHorizontal instead

Creates a new horizontal scrollbar.