| 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.VScale
Contents
Description
The VScale widget is used to allow the user to select a value using
a vertical slider. To create one, use hScaleNewWithRange.
The position to show the current value, and the number of decimal places
shown can be set using the parent Scale class’s functions.
GtkVScale has been deprecated, use Scale instead.
Synopsis
- newtype VScale = VScale (ManagedPtr VScale)
- class (GObject o, IsDescendantOf VScale o) => IsVScale o
- toVScale :: (MonadIO m, IsVScale o) => o -> m VScale
- vScaleNew :: (HasCallStack, MonadIO m, IsAdjustment a) => a -> m VScale
- vScaleNewWithRange :: (HasCallStack, MonadIO m) => Double -> Double -> Double -> m VScale
Exported types
Memory-managed wrapper type.
Constructors
| VScale (ManagedPtr VScale) |
Instances
| Eq VScale Source # | |
| GObject VScale Source # | |
Defined in GI.Gtk.Objects.VScale | |
| ManagedPtrNewtype VScale Source # | |
Defined in GI.Gtk.Objects.VScale Methods toManagedPtr :: VScale -> ManagedPtr VScale # | |
| TypedObject VScale Source # | |
Defined in GI.Gtk.Objects.VScale | |
| HasParentTypes VScale Source # | |
Defined in GI.Gtk.Objects.VScale | |
| IsGValue (Maybe VScale) Source # | Convert |
Defined in GI.Gtk.Objects.VScale | |
| type ParentTypes VScale Source # | |
Defined in GI.Gtk.Objects.VScale | |
Methods
Click to display all available methods, including inherited ones
Methods
activate, addAccelerator, addChild, addDeviceEvents, addEvents, addMark, addMnemonicLabel, addTickCallback, bindProperty, bindPropertyFull, canActivateAccel, childFocus, childNotify, classPath, clearMarks, 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, getDigits, getDirection, getDisplay, getDoubleBuffered, getDrawValue, getEvents, getFillLevel, getFlippable, getFocusOnClick, getFontMap, getFontOptions, getFrameClock, getHalign, getHasOrigin, getHasTooltip, getHasWindow, getHexpand, getHexpandSet, getInternalChild, getInverted, getLayout, getLayoutOffsets, 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, getValuePos, getVexpand, getVexpandSet, getVisible, getVisual, getWindow.
Setters
setAccelPath, setAdjustment, setAllocation, setAppPaintable, setBuildableProperty, setCanDefault, setCanFocus, setChildVisible, setClip, setCompositeName, setData, setDataFull, setDeviceEnabled, setDeviceEvents, setDigits, setDirection, setDoubleBuffered, setDrawValue, setEvents, setFillLevel, setFlippable, setFocusOnClick, setFontMap, setFontOptions, setHalign, setHasOrigin, 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, setValuePos, setVexpand, setVexpandSet, setVisible, setVisual, setWindow.
new
Arguments
| :: (HasCallStack, MonadIO m, IsAdjustment a) | |
| => a |
|
| -> m VScale | Returns: a new |
Deprecated: (Since version 3.2)Use scaleNew with OrientationVertical instead
Creates a new VScale.
newWithRange
Arguments
| :: (HasCallStack, MonadIO m) | |
| => Double |
|
| -> Double |
|
| -> Double |
|
| -> m VScale | Returns: a new |
Deprecated: (Since version 3.2)Use scaleNewWithRange with OrientationVertical instead
Creates a new vertical scale widget that lets the user input a
number between min and max (including min and max) with the
increment step. step must be nonzero; it’s the distance the
slider moves when using the arrow keys to adjust the scale value.
Note that the way in which the precision is derived works best if step
is a power of ten. If the resulting precision is not suitable for your
needs, use scaleSetDigits to correct it.