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.
- 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.
class GObject o => IsVScrollbar o Source #
Type class for types which can be safely cast to VScrollbar
, for instance with toVScrollbar
.
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.