Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
GI.Dazzle.Objects.ProgressMenuButton
Description
No description available in the introspection data.
Synopsis
- newtype ProgressMenuButton = ProgressMenuButton (ManagedPtr ProgressMenuButton)
- class (GObject o, IsDescendantOf ProgressMenuButton o) => IsProgressMenuButton o
- toProgressMenuButton :: (MonadIO m, IsProgressMenuButton o) => o -> m ProgressMenuButton
- progressMenuButtonGetProgress :: (HasCallStack, MonadIO m, IsProgressMenuButton a) => a -> m Double
- progressMenuButtonGetShowProgress :: (HasCallStack, MonadIO m, IsProgressMenuButton a) => a -> m Bool
- progressMenuButtonGetShowTheatric :: (HasCallStack, MonadIO m, IsProgressMenuButton a) => a -> m Bool
- progressMenuButtonNew :: (HasCallStack, MonadIO m) => m ProgressMenuButton
- progressMenuButtonResetTheatrics :: (HasCallStack, MonadIO m, IsProgressMenuButton a) => a -> m ()
- progressMenuButtonSetProgress :: (HasCallStack, MonadIO m, IsProgressMenuButton a) => a -> Double -> m ()
- progressMenuButtonSetShowProgress :: (HasCallStack, MonadIO m, IsProgressMenuButton a) => a -> Bool -> m ()
- progressMenuButtonSetShowTheatric :: (HasCallStack, MonadIO m, IsProgressMenuButton a) => a -> Bool -> m ()
- constructProgressMenuButtonProgress :: (IsProgressMenuButton o, MonadIO m) => Double -> m (GValueConstruct o)
- getProgressMenuButtonProgress :: (MonadIO m, IsProgressMenuButton o) => o -> m Double
- setProgressMenuButtonProgress :: (MonadIO m, IsProgressMenuButton o) => o -> Double -> m ()
- constructProgressMenuButtonShowProgress :: (IsProgressMenuButton o, MonadIO m) => Bool -> m (GValueConstruct o)
- getProgressMenuButtonShowProgress :: (MonadIO m, IsProgressMenuButton o) => o -> m Bool
- setProgressMenuButtonShowProgress :: (MonadIO m, IsProgressMenuButton o) => o -> Bool -> m ()
- constructProgressMenuButtonShowTheatric :: (IsProgressMenuButton o, MonadIO m) => Bool -> m (GValueConstruct o)
- getProgressMenuButtonShowTheatric :: (MonadIO m, IsProgressMenuButton o) => o -> m Bool
- setProgressMenuButtonShowTheatric :: (MonadIO m, IsProgressMenuButton o) => o -> Bool -> m ()
- clearProgressMenuButtonTheatricIconName :: (MonadIO m, IsProgressMenuButton o) => o -> m ()
- constructProgressMenuButtonTheatricIconName :: (IsProgressMenuButton o, MonadIO m) => Text -> m (GValueConstruct o)
- getProgressMenuButtonTheatricIconName :: (MonadIO m, IsProgressMenuButton o) => o -> m (Maybe Text)
- setProgressMenuButtonTheatricIconName :: (MonadIO m, IsProgressMenuButton o) => o -> Text -> m ()
- constructProgressMenuButtonTransitionDuration :: (IsProgressMenuButton o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getProgressMenuButtonTransitionDuration :: (MonadIO m, IsProgressMenuButton o) => o -> m Word32
- setProgressMenuButtonTransitionDuration :: (MonadIO m, IsProgressMenuButton o) => o -> Word32 -> m ()
Exported types
newtype ProgressMenuButton Source #
Memory-managed wrapper type.
Constructors
ProgressMenuButton (ManagedPtr ProgressMenuButton) |
Instances
class (GObject o, IsDescendantOf ProgressMenuButton o) => IsProgressMenuButton o Source #
Type class for types which can be safely cast to ProgressMenuButton
, for instance with toProgressMenuButton
.
Instances
(GObject o, IsDescendantOf ProgressMenuButton o) => IsProgressMenuButton o Source # | |
Defined in GI.Dazzle.Objects.ProgressMenuButton |
toProgressMenuButton :: (MonadIO m, IsProgressMenuButton o) => o -> m ProgressMenuButton Source #
Cast to ProgressMenuButton
, 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
Methods
activate, add, addAccelerator, addChild, addDeviceEvents, addEvents, addMnemonicLabel, addTickCallback, bindProperty, bindPropertyFull, canActivateAccel, checkResize, childFocus, childGetProperty, childNotify, childNotifyByPspec, childSetProperty, childType, classPath, clicked, computeExpand, constructChild, createPangoContext, createPangoLayout, customFinished, customTagEnd, customTagStart, destroy, destroyed, deviceIsShadowed, doSetRelatedAction, 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, enter, errorBell, event, forall, forceFloating, foreach, 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, leave, listAccelClosures, listActionPrefixes, listMnemonicLabels, map, mnemonicActivate, modifyBase, modifyBg, modifyCursor, modifyFg, modifyFont, modifyStyle, modifyText, notify, notifyByPspec, overrideBackgroundColor, overrideColor, overrideCursor, overrideFont, overrideSymbolicColor, parserFinished, path, pressed, propagateDraw, queueAllocate, queueComputeExpand, queueDraw, queueDrawArea, queueDrawRegion, queueResize, queueResizeNoRedraw, realize, ref, refSink, regionIntersect, registerWindow, released, remove, removeAccelerator, removeMnemonicLabel, removeTickCallback, renderIcon, renderIconPixbuf, reparent, resetRcStyles, resetStyle, resetTheatrics, resizeChildren, runDispose, sendExpose, sendFocusChange, shapeCombineRegion, show, showAll, showNow, sizeAllocate, sizeAllocateWithBaseline, sizeRequest, stealData, stealQdata, styleAttach, styleGetProperty, syncActionProperties, thawChildNotify, thawNotify, toggled, translateCoordinates, triggerTooltipQuery, unmap, unparent, unrealize, unref, unregisterWindow, unsetFocusChain, unsetStateFlags, watchClosure.
Getters
getAccessible, getActionGroup, getActionName, getActionTargetValue, getActive, getAlignWidget, getAlignment, getAllocatedBaseline, getAllocatedHeight, getAllocatedSize, getAllocatedWidth, getAllocation, getAlwaysShowImage, getAncestor, getAppPaintable, getBorderWidth, getCanDefault, getCanFocus, getChild, getChildRequisition, getChildVisible, getChildren, getClip, getClipboard, getCompositeName, getData, getDeviceEnabled, getDeviceEvents, getDirection, getDisplay, getDoubleBuffered, getEventWindow, getEvents, getFocusChain, getFocusChild, getFocusHadjustment, getFocusOnClick, getFocusVadjustment, getFontMap, getFontOptions, getFrameClock, getHalign, getHasTooltip, getHasWindow, getHexpand, getHexpandSet, getImage, getImagePosition, getInconsistent, getInternalChild, getLabel, getMapped, getMarginBottom, getMarginEnd, getMarginLeft, getMarginRight, getMarginStart, getMarginTop, getMenuModel, getMode, getModifierMask, getModifierStyle, getName, getNoShowAll, getOpacity, getPangoContext, getParent, getParentWindow, getPath, getPathForChild, getPointer, getPopover, getPopup, getPreferredHeight, getPreferredHeightAndBaselineForWidth, getPreferredHeightForWidth, getPreferredSize, getPreferredWidth, getPreferredWidthForHeight, getProgress, getProperty, getQdata, getRealized, getReceivesDefault, getRelatedAction, getRelief, getRequestMode, getRequisition, getResizeMode, getRootWindow, getScaleFactor, getScreen, getSensitive, getSettings, getShowProgress, getShowTheatric, getSizeRequest, getState, getStateFlags, getStyle, getStyleContext, getSupportMultidevice, getTemplateChild, getTooltipMarkup, getTooltipText, getTooltipWindow, getToplevel, getUseActionAppearance, getUsePopover, getUseStock, getUseUnderline, getValign, getValignWithBaseline, getVexpand, getVexpandSet, getVisible, getVisual, getWindow.
Setters
setAccelPath, setActionName, setActionTargetValue, setActive, setAlignWidget, setAlignment, setAllocation, setAlwaysShowImage, setAppPaintable, setBorderWidth, setBuildableProperty, setCanDefault, setCanFocus, setChildVisible, setClip, setCompositeName, setData, setDataFull, setDetailedActionName, setDeviceEnabled, setDeviceEvents, setDirection, setDoubleBuffered, setEvents, setFocusChain, setFocusChild, setFocusHadjustment, setFocusOnClick, setFocusVadjustment, setFontMap, setFontOptions, setHalign, setHasTooltip, setHasWindow, setHexpand, setHexpandSet, setImage, setImagePosition, setInconsistent, setLabel, setMapped, setMarginBottom, setMarginEnd, setMarginLeft, setMarginRight, setMarginStart, setMarginTop, setMenuModel, setMode, setName, setNoShowAll, setOpacity, setParent, setParentWindow, setPopover, setPopup, setProgress, setProperty, setRealized, setReallocateRedraws, setReceivesDefault, setRedrawOnAllocate, setRelatedAction, setRelief, setResizeMode, setSensitive, setShowProgress, setShowTheatric, setSizeRequest, setState, setStateFlags, setStyle, setSupportMultidevice, setTooltipMarkup, setTooltipText, setTooltipWindow, setUseActionAppearance, setUsePopover, setUseStock, setUseUnderline, setValign, setVexpand, setVexpandSet, setVisible, setVisual, setWindow.
getProgress
progressMenuButtonGetProgress :: (HasCallStack, MonadIO m, IsProgressMenuButton a) => a -> m Double Source #
No description available in the introspection data.
getShowProgress
progressMenuButtonGetShowProgress :: (HasCallStack, MonadIO m, IsProgressMenuButton a) => a -> m Bool Source #
No description available in the introspection data.
getShowTheatric
progressMenuButtonGetShowTheatric :: (HasCallStack, MonadIO m, IsProgressMenuButton a) => a -> m Bool Source #
No description available in the introspection data.
new
progressMenuButtonNew :: (HasCallStack, MonadIO m) => m ProgressMenuButton Source #
No description available in the introspection data.
resetTheatrics
progressMenuButtonResetTheatrics Source #
Arguments
:: (HasCallStack, MonadIO m, IsProgressMenuButton a) | |
=> a |
|
-> m () |
To avoid suprious animations from the button, you must call this function any time you want to allow animations to continue. This is because animations are automatically started upon reaching a progress of 1.0.
If you are performing operations in the background, calling this function every time you add an operation is a good strategry.
setProgress
progressMenuButtonSetProgress :: (HasCallStack, MonadIO m, IsProgressMenuButton a) => a -> Double -> m () Source #
No description available in the introspection data.
setShowProgress
progressMenuButtonSetShowProgress :: (HasCallStack, MonadIO m, IsProgressMenuButton a) => a -> Bool -> m () Source #
No description available in the introspection data.
setShowTheatric
progressMenuButtonSetShowTheatric :: (HasCallStack, MonadIO m, IsProgressMenuButton a) => a -> Bool -> m () Source #
No description available in the introspection data.
Properties
progress
No description available in the introspection data.
constructProgressMenuButtonProgress :: (IsProgressMenuButton o, MonadIO m) => Double -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “progress
” property. This is rarely needed directly, but it is used by new
.
getProgressMenuButtonProgress :: (MonadIO m, IsProgressMenuButton o) => o -> m Double Source #
Get the value of the “progress
” property.
When overloading is enabled, this is equivalent to
get
progressMenuButton #progress
setProgressMenuButtonProgress :: (MonadIO m, IsProgressMenuButton o) => o -> Double -> m () Source #
Set the value of the “progress
” property.
When overloading is enabled, this is equivalent to
set
progressMenuButton [ #progress:=
value ]
showProgress
No description available in the introspection data.
constructProgressMenuButtonShowProgress :: (IsProgressMenuButton o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “show-progress
” property. This is rarely needed directly, but it is used by new
.
getProgressMenuButtonShowProgress :: (MonadIO m, IsProgressMenuButton o) => o -> m Bool Source #
Get the value of the “show-progress
” property.
When overloading is enabled, this is equivalent to
get
progressMenuButton #showProgress
setProgressMenuButtonShowProgress :: (MonadIO m, IsProgressMenuButton o) => o -> Bool -> m () Source #
Set the value of the “show-progress
” property.
When overloading is enabled, this is equivalent to
set
progressMenuButton [ #showProgress:=
value ]
showTheatric
No description available in the introspection data.
constructProgressMenuButtonShowTheatric :: (IsProgressMenuButton o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “show-theatric
” property. This is rarely needed directly, but it is used by new
.
getProgressMenuButtonShowTheatric :: (MonadIO m, IsProgressMenuButton o) => o -> m Bool Source #
Get the value of the “show-theatric
” property.
When overloading is enabled, this is equivalent to
get
progressMenuButton #showTheatric
setProgressMenuButtonShowTheatric :: (MonadIO m, IsProgressMenuButton o) => o -> Bool -> m () Source #
Set the value of the “show-theatric
” property.
When overloading is enabled, this is equivalent to
set
progressMenuButton [ #showTheatric:=
value ]
theatricIconName
No description available in the introspection data.
clearProgressMenuButtonTheatricIconName :: (MonadIO m, IsProgressMenuButton o) => o -> m () Source #
Set the value of the “theatric-icon-name
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#theatricIconName
constructProgressMenuButtonTheatricIconName :: (IsProgressMenuButton o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “theatric-icon-name
” property. This is rarely needed directly, but it is used by new
.
getProgressMenuButtonTheatricIconName :: (MonadIO m, IsProgressMenuButton o) => o -> m (Maybe Text) Source #
Get the value of the “theatric-icon-name
” property.
When overloading is enabled, this is equivalent to
get
progressMenuButton #theatricIconName
setProgressMenuButtonTheatricIconName :: (MonadIO m, IsProgressMenuButton o) => o -> Text -> m () Source #
Set the value of the “theatric-icon-name
” property.
When overloading is enabled, this is equivalent to
set
progressMenuButton [ #theatricIconName:=
value ]
transitionDuration
No description available in the introspection data.
constructProgressMenuButtonTransitionDuration :: (IsProgressMenuButton o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “transition-duration
” property. This is rarely needed directly, but it is used by new
.
getProgressMenuButtonTransitionDuration :: (MonadIO m, IsProgressMenuButton o) => o -> m Word32 Source #
Get the value of the “transition-duration
” property.
When overloading is enabled, this is equivalent to
get
progressMenuButton #transitionDuration
setProgressMenuButtonTransitionDuration :: (MonadIO m, IsProgressMenuButton o) => o -> Word32 -> m () Source #
Set the value of the “transition-duration
” property.
When overloading is enabled, this is equivalent to
set
progressMenuButton [ #transitionDuration:=
value ]