Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
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.
Synopsis
- newtype HScrollbar = HScrollbar (ManagedPtr HScrollbar)
- class GObject o => IsHScrollbar o
- toHScrollbar :: (MonadIO m, IsHScrollbar o) => o -> m HScrollbar
- noHScrollbar :: Maybe HScrollbar
- hScrollbarNew :: (HasCallStack, MonadIO m, IsAdjustment a) => Maybe a -> m HScrollbar
Exported types
newtype HScrollbar Source #
Memory-managed wrapper type.
Instances
GObject HScrollbar Source # | |
Defined in GI.Gtk.Objects.HScrollbar gobjectType :: HScrollbar -> IO GType # | |
IsImplementorIface HScrollbar Source # | |
Defined in GI.Gtk.Objects.HScrollbar | |
IsObject HScrollbar Source # | |
Defined in GI.Gtk.Objects.HScrollbar | |
IsBuildable HScrollbar Source # | |
Defined in GI.Gtk.Objects.HScrollbar | |
IsOrientable HScrollbar Source # | |
Defined in GI.Gtk.Objects.HScrollbar | |
IsRange HScrollbar Source # | |
Defined in GI.Gtk.Objects.HScrollbar | |
IsScrollbar HScrollbar Source # | |
Defined in GI.Gtk.Objects.HScrollbar | |
IsWidget HScrollbar Source # | |
Defined in GI.Gtk.Objects.HScrollbar | |
IsHScrollbar HScrollbar Source # | |
Defined in GI.Gtk.Objects.HScrollbar |
class GObject o => IsHScrollbar o Source #
Type class for types which can be safely cast to HScrollbar
, for instance with toHScrollbar
.
Instances
(GObject a, (UnknownAncestorError HScrollbar a :: Constraint)) => IsHScrollbar a Source # | |
Defined in GI.Gtk.Objects.HScrollbar | |
IsHScrollbar HScrollbar Source # | |
Defined in GI.Gtk.Objects.HScrollbar |
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
.
noHScrollbar :: Maybe HScrollbar Source #
A convenience alias for Nothing
:: Maybe
HScrollbar
.
Methods
new
:: (HasCallStack, MonadIO m, IsAdjustment a) | |
=> Maybe a |
|
-> m HScrollbar | Returns: the new |
Deprecated: (Since version 3.2)Use scrollbarNew
with OrientationHorizontal
instead
Creates a new horizontal scrollbar.