gi-gtk-3.0.43: Gtk bindings

Copyright | Will Thompson and Iñaki García Etxebarria
License | LGPL-2.1
Maintainer | Iñaki García Etxebarria
Safe Haskell | None
Language | Haskell2010

GI.Gtk.Objects.VScrollbar

Contents

- Exported types
- Methods
  - new

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

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

Constructors

VScrollbar (ManagedPtr VScrollbar) |

#### Instances

Instances details

Eq VScrollbar Source # |
Instance details Defined in GI.Gtk.Objects.VScrollbar Methods (==) :: VScrollbar -> VScrollbar -> Bool Source # (/=) :: VScrollbar -> VScrollbar -> Bool Source #
GObject VScrollbar Source # |
Instance details Defined in GI.Gtk.Objects.VScrollbar
ManagedPtrNewtype VScrollbar Source # |
Instance details Defined in GI.Gtk.Objects.VScrollbar Methods toManagedPtr :: VScrollbar -> ManagedPtr VScrollbar Source #
TypedObject VScrollbar Source # |
Instance details Defined in GI.Gtk.Objects.VScrollbar Methods glibType :: IO GType Source #
HasParentTypes VScrollbar Source # |
Instance details Defined in GI.Gtk.Objects.VScrollbar
IsGValue (Maybe VScrollbar) Source # | Convert `VScrollbar` to and from `GValue`. See `toGValue` and `fromGValue`.
Instance details Defined in GI.Gtk.Objects.VScrollbar Methods gvalueGType_ :: IO GType Source # gvalueSet_ :: Ptr GValue -> Maybe VScrollbar -> IO () Source # gvalueGet_ :: Ptr GValue -> IO (Maybe VScrollbar) Source #
type ParentTypes VScrollbar Source # |
Instance details 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

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

### Click to display all available methods, including inherited ones

Expand

#### Methods

activate, addAccelerator, addChild, addDeviceEvents, addEvents, addMnemonicLabel, addTickCallback, bindProperty, bindPropertyFull, canActivateAccel, childFocus, childNotify, classPath, computeExpand, constructChild, createPangoContext, createPangoLayout, customFinished, customTagEnd, customTagStart, destroy, destroyed, deviceIsShadowed, dragBegin, dragBeginWithCoordinates, dragCheckThreshold, dragDestAddImageTargets, dragDestAddTextTargets, dragDestAddUriTargets, dragDestFindTarget, dragDestGetTargetList, dragDestGetTrackMotion, dragDestSet, dragDestSetProxy, dragDestSetTargetList, dragDestSetTrackMotion, dragDestUnset, dragGetData, dragHighlight, dragSourceAddImageTargets, dragSourceAddTextTargets, dragSourceAddUriTargets, dragSourceGetTargetList, dragSourceSet, dragSourceSetIconGicon, dragSourceSetIconName, dragSourceSetIconPixbuf, dragSourceSetIconStock, dragSourceSetTargetList, dragSourceUnset, dragUnhighlight, draw, ensureStyle, errorBell, event, forceFloating, freezeChildNotify, freezeNotify, getv, grabAdd, grabDefault, grabFocus, grabRemove, hasDefault, hasFocus, hasGrab, hasRcStyle, hasScreen, hasVisibleFocus, hide, hideOnDelete, inDestruction, initTemplate, inputShapeCombineRegion, insertActionGroup, intersect, isAncestor, isComposited, isDrawable, isFloating, isFocus, isSensitive, isToplevel, isVisible, keynavFailed, listAccelClosures, listActionPrefixes, listMnemonicLabels, map, mnemonicActivate, modifyBase, modifyBg, modifyCursor, modifyFg, modifyFont, modifyStyle, modifyText, notify, notifyByPspec, overrideBackgroundColor, overrideColor, overrideCursor, overrideFont, overrideSymbolicColor, parserFinished, path, queueAllocate, queueComputeExpand, queueDraw, queueDrawArea, queueDrawRegion, queueResize, queueResizeNoRedraw, realize, ref, refSink, regionIntersect, registerWindow, removeAccelerator, removeMnemonicLabel, removeTickCallback, renderIcon, renderIconPixbuf, reparent, resetRcStyles, resetStyle, runDispose, sendExpose, sendFocusChange, shapeCombineRegion, show, showAll, showNow, sizeAllocate, sizeAllocateWithBaseline, sizeRequest, stealData, stealQdata, styleAttach, styleGetProperty, thawChildNotify, thawNotify, translateCoordinates, triggerTooltipQuery, unmap, unparent, unrealize, unref, unregisterWindow, unsetStateFlags, watchClosure.

#### Getters

getAccessible, getActionGroup, getAdjustment, getAllocatedBaseline, getAllocatedHeight, getAllocatedSize, getAllocatedWidth, getAllocation, getAncestor, getAppPaintable, getCanDefault, getCanFocus, getChildRequisition, getChildVisible, getClip, getClipboard, getCompositeName, getData, getDeviceEnabled, getDeviceEvents, getDirection, getDisplay, getDoubleBuffered, getEvents, getFillLevel, getFlippable, getFocusOnClick, getFontMap, getFontOptions, getFrameClock, getHalign, getHasTooltip, getHasWindow, getHexpand, getHexpandSet, getInternalChild, getInverted, getLowerStepperSensitivity, getMapped, getMarginBottom, getMarginEnd, getMarginLeft, getMarginRight, getMarginStart, getMarginTop, getMinSliderSize, getModifierMask, getModifierStyle, getName, getNoShowAll, getOpacity, getOrientation, getPangoContext, getParent, getParentWindow, getPath, getPointer, getPreferredHeight, getPreferredHeightAndBaselineForWidth, getPreferredHeightForWidth, getPreferredSize, getPreferredWidth, getPreferredWidthForHeight, getProperty, getQdata, getRangeRect, getRealized, getReceivesDefault, getRequestMode, getRequisition, getRestrictToFillLevel, getRootWindow, getRoundDigits, getScaleFactor, getScreen, getSensitive, getSettings, getShowFillLevel, getSizeRequest, getSliderRange, getSliderSizeFixed, getState, getStateFlags, getStyle, getStyleContext, getSupportMultidevice, getTemplateChild, getTooltipMarkup, getTooltipText, getTooltipWindow, getToplevel, getUpperStepperSensitivity, getValign, getValignWithBaseline, getValue, getVexpand, getVexpandSet, getVisible, getVisual, getWindow.

#### Setters

setAccelPath, setAdjustment, setAllocation, setAppPaintable, setBuildableProperty, setCanDefault, setCanFocus, setChildVisible, setClip, setCompositeName, setData, setDataFull, setDeviceEnabled, setDeviceEvents, setDirection, setDoubleBuffered, setEvents, setFillLevel, setFlippable, setFocusOnClick, setFontMap, setFontOptions, setHalign, setHasTooltip, setHasWindow, setHexpand, setHexpandSet, setIncrements, setInverted, setLowerStepperSensitivity, setMapped, setMarginBottom, setMarginEnd, setMarginLeft, setMarginRight, setMarginStart, setMarginTop, setMinSliderSize, setName, setNoShowAll, setOpacity, setOrientation, setParent, setParentWindow, setProperty, setRange, setRealized, setReceivesDefault, setRedrawOnAllocate, setRestrictToFillLevel, setRoundDigits, setSensitive, setShowFillLevel, setSizeRequest, setSliderSizeFixed, setState, setStateFlags, setStyle, setSupportMultidevice, setTooltipMarkup, setTooltipText, setTooltipWindow, setUpperStepperSensitivity, setValign, setValue, setVexpand, setVexpandSet, setVisible, setVisual, setWindow.

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