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

Contents

Description

The tVScrollbar widget is a widget arranged vertically creating a scrollbar. See tScrollbar for details on scrollbars. tAdjustment 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 tScrollbar for a description of what the fields in an adjustment represent for a scrollbar.

GtkVScrollbar has been deprecated, use tScrollbar instead.

Synopsis

Exported types

newtype VScrollbar Source #

Memory-managed wrapper type.

Constructors

VScrollbar (ManagedPtr VScrollbar) 
Instances
Eq VScrollbar Source # 
Instance details

Defined in GI.Gtk.Objects.VScrollbar

Methods

(==) :: VScrollbar -> VScrollbar -> Bool

(/=) :: VScrollbar -> VScrollbar -> Bool

GObject VScrollbar Source # 
Instance details

Defined in GI.Gtk.Objects.VScrollbar

Methods

gobjectType :: IO GType

IsGValue VScrollbar Source #

Convert VScrollbar to and from GValue with toGValue and fromGValue.

Instance details

Defined in GI.Gtk.Objects.VScrollbar

Methods

toGValue :: VScrollbar -> IO GValue

fromGValue :: GValue -> IO VScrollbar

HasParentTypes VScrollbar Source # 
Instance details

Defined in GI.Gtk.Objects.VScrollbar

type ParentTypes VScrollbar Source # 
Instance details

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 # 
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.

noVScrollbar :: Maybe VScrollbar Source #

A convenience alias for Nothing :: Maybe VScrollbar.

Methods

Overloaded methods

new

vScrollbarNew Source #

Arguments

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

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

-> m VScrollbar

Returns: the new tVScrollbar

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

Creates a new vertical scrollbar.