Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (inaki@blueleaf.cc) |
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, IsDescendantOf VScrollbar 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 :: IO GType # | |
HasParentTypes VScrollbar Source # | |
Defined in GI.Gtk.Objects.VScrollbar | |
type ParentTypes VScrollbar Source # | |
Defined in GI.Gtk.Objects.VScrollbar type ParentTypes VScrollbar = Scrollbar ': (Range ': (Widget ': (Object ': (ImplementorIface ': (Buildable ': (Orientable ': ([] :: [Type]))))))) |
class (GObject o, IsDescendantOf VScrollbar o) => IsVScrollbar o Source #
Type class for types which can be safely cast to VScrollbar
, for instance with toVScrollbar
.
Instances
(GObject o, IsDescendantOf VScrollbar o) => IsVScrollbar o 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.