| Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
GI.Handy.Objects.DialerButton
Description
The DialerButton widget is a single button on an Dialer. It
can represent a single symbol (typically a digit) plus an arbitrary
number of symbols that are displayed below it.
Synopsis
- newtype DialerButton = DialerButton (ManagedPtr DialerButton)
- class (GObject o, IsDescendantOf DialerButton o) => IsDialerButton o
- toDialerButton :: (MonadIO m, IsDialerButton o) => o -> m DialerButton
- dialerButtonGetDigit :: (HasCallStack, MonadIO m, IsDialerButton a) => a -> m Int32
- dialerButtonGetSymbols :: (HasCallStack, MonadIO m, IsDialerButton a) => a -> m Text
- dialerButtonNew :: (HasCallStack, MonadIO m) => Maybe Text -> m DialerButton
- getDialerButtonDigit :: (MonadIO m, IsDialerButton o) => o -> m Int32
- clearDialerButtonSymbols :: (MonadIO m, IsDialerButton o) => o -> m ()
- constructDialerButtonSymbols :: (IsDialerButton o, MonadIO m) => Text -> m (GValueConstruct o)
- getDialerButtonSymbols :: (MonadIO m, IsDialerButton o) => o -> m Text
- setDialerButtonSymbols :: (MonadIO m, IsDialerButton o) => o -> Text -> m ()
Exported types
newtype DialerButton Source #
Memory-managed wrapper type.
Constructors
| DialerButton (ManagedPtr DialerButton) |
Instances
| Eq DialerButton Source # | |
Defined in GI.Handy.Objects.DialerButton | |
| GObject DialerButton Source # | |
Defined in GI.Handy.Objects.DialerButton | |
| ManagedPtrNewtype DialerButton Source # | |
Defined in GI.Handy.Objects.DialerButton Methods toManagedPtr :: DialerButton -> ManagedPtr DialerButton | |
| TypedObject DialerButton Source # | |
Defined in GI.Handy.Objects.DialerButton | |
| HasParentTypes DialerButton Source # | |
Defined in GI.Handy.Objects.DialerButton | |
| IsGValue (Maybe DialerButton) Source # | Convert |
Defined in GI.Handy.Objects.DialerButton Methods gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe DialerButton -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe DialerButton) | |
| type ParentTypes DialerButton Source # | |
Defined in GI.Handy.Objects.DialerButton type ParentTypes DialerButton = '[Button, Bin, Container, Widget, Object, ImplementorIface, Actionable, Activatable, Buildable] | |
class (GObject o, IsDescendantOf DialerButton o) => IsDialerButton o Source #
Type class for types which can be safely cast to DialerButton, for instance with toDialerButton.
Instances
| (GObject o, IsDescendantOf DialerButton o) => IsDialerButton o Source # | |
Defined in GI.Handy.Objects.DialerButton | |
toDialerButton :: (MonadIO m, IsDialerButton o) => o -> m DialerButton Source #
Cast to DialerButton, 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, resizeChildren, runDispose, sendExpose, sendFocusChange, shapeCombineRegion, show, showAll, showNow, sizeAllocate, sizeAllocateWithBaseline, sizeRequest, stealData, stealQdata, styleAttach, styleGetProperty, syncActionProperties, thawChildNotify, thawNotify, translateCoordinates, triggerTooltipQuery, unmap, unparent, unrealize, unref, unregisterWindow, unsetFocusChain, unsetStateFlags, watchClosure.
Getters
getAccessible, getActionGroup, getActionName, getActionTargetValue, getAlignment, getAllocatedBaseline, getAllocatedHeight, getAllocatedSize, getAllocatedWidth, getAllocation, getAlwaysShowImage, getAncestor, getAppPaintable, getBorderWidth, getCanDefault, getCanFocus, getChild, getChildRequisition, getChildVisible, getChildren, getClip, getClipboard, getCompositeName, getData, getDeviceEnabled, getDeviceEvents, getDigit, getDirection, getDisplay, getDoubleBuffered, getEventWindow, getEvents, getFocusChain, getFocusChild, getFocusHadjustment, getFocusOnClick, getFocusVadjustment, getFontMap, getFontOptions, getFrameClock, getHalign, getHasTooltip, getHasWindow, getHexpand, getHexpandSet, getImage, getImagePosition, getInternalChild, getLabel, getMapped, getMarginBottom, getMarginEnd, getMarginLeft, getMarginRight, getMarginStart, getMarginTop, getModifierMask, getModifierStyle, getName, getNoShowAll, getOpacity, getPangoContext, getParent, getParentWindow, getPath, getPathForChild, getPointer, getPreferredHeight, getPreferredHeightAndBaselineForWidth, getPreferredHeightForWidth, getPreferredSize, getPreferredWidth, getPreferredWidthForHeight, getProperty, getQdata, getRealized, getReceivesDefault, getRelatedAction, getRelief, getRequestMode, getRequisition, getResizeMode, getRootWindow, getScaleFactor, getScreen, getSensitive, getSettings, getSizeRequest, getState, getStateFlags, getStyle, getStyleContext, getSupportMultidevice, getSymbols, getTemplateChild, getTooltipMarkup, getTooltipText, getTooltipWindow, getToplevel, getUseActionAppearance, getUseStock, getUseUnderline, getValign, getValignWithBaseline, getVexpand, getVexpandSet, getVisible, getVisual, getWindow.
Setters
setAccelPath, setActionName, setActionTargetValue, 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, setLabel, setMapped, setMarginBottom, setMarginEnd, setMarginLeft, setMarginRight, setMarginStart, setMarginTop, setName, setNoShowAll, setOpacity, setParent, setParentWindow, setProperty, setRealized, setReallocateRedraws, setReceivesDefault, setRedrawOnAllocate, setRelatedAction, setRelief, setResizeMode, setSensitive, setSizeRequest, setState, setStateFlags, setStyle, setSupportMultidevice, setTooltipMarkup, setTooltipText, setTooltipWindow, setUseActionAppearance, setUseStock, setUseUnderline, setValign, setVexpand, setVexpandSet, setVisible, setVisual, setWindow.
getDigit
Arguments
| :: (HasCallStack, MonadIO m, IsDialerButton a) | |
| => a |
|
| -> m Int32 | Returns: the button's digit |
Deprecated: (Since version 0.0.12)This widget is considered a Dialer internalapi
Get the DialerButton's digit.
getSymbols
dialerButtonGetSymbols Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDialerButton a) | |
| => a |
|
| -> m Text | Returns: the button's symbols. |
Deprecated: (Since version 0.0.12)This widget is considered a Dialer internalapi
Get the DialerButton's symbols.
new
Arguments
| :: (HasCallStack, MonadIO m) | |
| => Maybe Text |
|
| -> m DialerButton | Returns: the newly created |
Deprecated: (Since version 0.0.12)This widget is considered a Dialer internalapi
Create a new DialerButton which displays
symbols. If
symbols is Nothing no symbols will be displayed.
Properties
digit
No description available in the introspection data.
getDialerButtonDigit :: (MonadIO m, IsDialerButton o) => o -> m Int32 Source #
Get the value of the “digit” property.
When overloading is enabled, this is equivalent to
get dialerButton #digit
symbols
No description available in the introspection data.
clearDialerButtonSymbols :: (MonadIO m, IsDialerButton o) => o -> m () Source #
Set the value of the “symbols” property to Nothing.
When overloading is enabled, this is equivalent to
clear #symbols
constructDialerButtonSymbols :: (IsDialerButton o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “symbols” property. This is rarely needed directly, but it is used by new.
getDialerButtonSymbols :: (MonadIO m, IsDialerButton o) => o -> m Text Source #
Get the value of the “symbols” property.
When overloading is enabled, this is equivalent to
get dialerButton #symbols
setDialerButtonSymbols :: (MonadIO m, IsDialerButton o) => o -> Text -> m () Source #
Set the value of the “symbols” property.
When overloading is enabled, this is equivalent to
setdialerButton [ #symbols:=value ]