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

Contents

Description

The tHScrollbar widget is a widget arranged horizontally 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.

GtkHScrollbar has been deprecated, use tScrollbar instead.

Synopsis

Exported types

newtype HScrollbar Source #

Memory-managed wrapper type.

Constructors

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

Defined in GI.Gtk.Objects.HScrollbar

Methods

(==) :: HScrollbar -> HScrollbar -> Bool

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

GObject HScrollbar Source # 
Instance details

Defined in GI.Gtk.Objects.HScrollbar

Methods

gobjectType :: IO GType

IsGValue HScrollbar Source #

Convert HScrollbar to and from GValue with toGValue and fromGValue.

Instance details

Defined in GI.Gtk.Objects.HScrollbar

Methods

toGValue :: HScrollbar -> IO GValue

fromGValue :: GValue -> IO HScrollbar

HasParentTypes HScrollbar Source # 
Instance details

Defined in GI.Gtk.Objects.HScrollbar

type ParentTypes HScrollbar Source # 
Instance details

Defined in GI.Gtk.Objects.HScrollbar

type ParentTypes HScrollbar = Scrollbar ': (Range ': (Widget ': (Object ': (ImplementorIface ': (Buildable ': (Orientable ': ([] :: [Type])))))))

class (GObject o, IsDescendantOf HScrollbar o) => IsHScrollbar o Source #

Type class for types which can be safely cast to HScrollbar, for instance with toHScrollbar.

Instances
(GObject o, IsDescendantOf HScrollbar o) => IsHScrollbar o Source # 
Instance details

Defined in GI.Gtk.Objects.HScrollbar

toHScrollbar :: (MonadIO m, IsHScrollbar o) => o -> m HScrollbar Source #

Cast to HScrollbar, for types for which this is known to be safe. For general casts, use castTo.

noHScrollbar :: Maybe HScrollbar Source #

A convenience alias for Nothing :: Maybe HScrollbar.

Methods

Overloaded methods

new

hScrollbarNew Source #

Arguments

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

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

-> m HScrollbar

Returns: the new tHScrollbar

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

Creates a new horizontal scrollbar.