gi-gtk-3.0.32: Gtk bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Gtk.Objects.VScrollbar

Description

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

Exported types

newtype VScrollbar Source #

Memory-managed wrapper 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

Instances details
(GObject o, IsDescendantOf VScrollbar o) => IsVScrollbar o Source # 
Instance details

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

vScrollbarNew Source #

Arguments

:: (HasCallStack, MonadIO m, IsAdjustment a) 
=> Maybe a

adjustment: the Adjustment to use, or Nothing to create a new adjustment

-> m VScrollbar

Returns: the new VScrollbar

Deprecated: (Since version 3.2)Use scrollbarNew with OrientationVertical instead

Creates a new vertical scrollbar.