Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
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
- vScrollbarNew :: (HasCallStack, MonadIO m, IsAdjustment a) => Maybe a -> m VScrollbar
Exported types
newtype VScrollbar Source #
Memory-managed wrapper type.
Instances
Eq VScrollbar Source # | |
Defined in GI.Gtk.Objects.VScrollbar (==) :: VScrollbar -> VScrollbar -> Bool # (/=) :: VScrollbar -> VScrollbar -> Bool # | |
IsGValue VScrollbar Source # | Convert |
Defined in GI.Gtk.Objects.VScrollbar toGValue :: VScrollbar -> IO GValue # fromGValue :: GValue -> IO VScrollbar # | |
ManagedPtrNewtype VScrollbar Source # | |
Defined in GI.Gtk.Objects.VScrollbar | |
TypedObject VScrollbar Source # | |
Defined in GI.Gtk.Objects.VScrollbar | |
GObject VScrollbar Source # | |
Defined in GI.Gtk.Objects.VScrollbar | |
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] |
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
.
Methods
Overloaded 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.