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 VScrollbar
widget is a widget arranged vertically 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.
GtkVScrollbar has been deprecated, use Scrollbar
instead.
Synopsis
- newtype VScrollbar = VScrollbar (ManagedPtr VScrollbar)
- class GObject o => IsVScrollbar o
- toVScrollbar :: (MonadIO m, IsVScrollbar o) => o -> m VScrollbar
- noVScrollbar :: Maybe VScrollbar
- vScrollbarNew :: (HasCallStack, MonadIO m, IsAdjustment a) => Maybe a -> m VScrollbar
Exported types
newtype VScrollbar Source #
Memory-managed wrapper type.
Instances
GObject VScrollbar Source # | |
Defined in GI.Gtk.Objects.VScrollbar gobjectType :: VScrollbar -> IO GType # | |
IsImplementorIface VScrollbar Source # | |
Defined in GI.Gtk.Objects.VScrollbar | |
IsObject VScrollbar Source # | |
Defined in GI.Gtk.Objects.VScrollbar | |
IsBuildable VScrollbar Source # | |
Defined in GI.Gtk.Objects.VScrollbar | |
IsOrientable VScrollbar Source # | |
Defined in GI.Gtk.Objects.VScrollbar | |
IsRange VScrollbar Source # | |
Defined in GI.Gtk.Objects.VScrollbar | |
IsScrollbar VScrollbar Source # | |
Defined in GI.Gtk.Objects.VScrollbar | |
IsWidget VScrollbar Source # | |
Defined in GI.Gtk.Objects.VScrollbar | |
IsVScrollbar VScrollbar Source # | |
Defined in GI.Gtk.Objects.VScrollbar |
class GObject o => IsVScrollbar o Source #
Type class for types which can be safely cast to VScrollbar
, for instance with toVScrollbar
.
Instances
(GObject a, (UnknownAncestorError VScrollbar a :: Constraint)) => IsVScrollbar a Source # | |
Defined in GI.Gtk.Objects.VScrollbar | |
IsVScrollbar VScrollbar Source # | |
Defined in GI.Gtk.Objects.VScrollbar |
toVScrollbar :: (MonadIO m, IsVScrollbar o) => o -> m VScrollbar Source #
Cast to VScrollbar
, for types for which this is known to be safe. For general casts, use castTo
.
noVScrollbar :: Maybe VScrollbar Source #
A convenience alias for Nothing
:: Maybe
VScrollbar
.
Methods
new
:: (HasCallStack, MonadIO m, IsAdjustment a) | |
=> Maybe a |
|
-> m VScrollbar | Returns: the new |
Deprecated: (Since version 3.2)Use scrollbarNew
with OrientationVertical
instead
Creates a new vertical scrollbar.