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 |
No description available in the introspection data.
Synopsis
- newtype Keypad = Keypad (ManagedPtr Keypad)
- class (GObject o, IsDescendantOf Keypad o) => IsKeypad o
- toKeypad :: (MonadIO m, IsKeypad o) => o -> m Keypad
- keypadGetColumnSpacing :: (HasCallStack, MonadIO m, IsKeypad a) => a -> m Word32
- keypadGetEndAction :: (HasCallStack, MonadIO m, IsKeypad a) => a -> m (Maybe Widget)
- keypadGetEntry :: (HasCallStack, MonadIO m, IsKeypad a) => a -> m Entry
- keypadGetLettersVisible :: (HasCallStack, MonadIO m, IsKeypad a) => a -> m Bool
- keypadGetRowSpacing :: (HasCallStack, MonadIO m, IsKeypad a) => a -> m Word32
- keypadGetStartAction :: (HasCallStack, MonadIO m, IsKeypad a) => a -> m (Maybe Widget)
- keypadGetSymbolsVisible :: (HasCallStack, MonadIO m, IsKeypad a) => a -> m Bool
- keypadNew :: (HasCallStack, MonadIO m) => Bool -> Bool -> m Keypad
- keypadSetColumnSpacing :: (HasCallStack, MonadIO m, IsKeypad a) => a -> Word32 -> m ()
- keypadSetEndAction :: (HasCallStack, MonadIO m, IsKeypad a, IsWidget b) => a -> Maybe b -> m ()
- keypadSetEntry :: (HasCallStack, MonadIO m, IsKeypad a, IsEntry b) => a -> Maybe b -> m ()
- keypadSetLettersVisible :: (HasCallStack, MonadIO m, IsKeypad a) => a -> Bool -> m ()
- keypadSetRowSpacing :: (HasCallStack, MonadIO m, IsKeypad a) => a -> Word32 -> m ()
- keypadSetStartAction :: (HasCallStack, MonadIO m, IsKeypad a, IsWidget b) => a -> Maybe b -> m ()
- keypadSetSymbolsVisible :: (HasCallStack, MonadIO m, IsKeypad a) => a -> Bool -> m ()
- constructKeypadColumnSpacing :: (IsKeypad o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getKeypadColumnSpacing :: (MonadIO m, IsKeypad o) => o -> m Word32
- setKeypadColumnSpacing :: (MonadIO m, IsKeypad o) => o -> Word32 -> m ()
- clearKeypadEndAction :: (MonadIO m, IsKeypad o) => o -> m ()
- constructKeypadEndAction :: (IsKeypad o, MonadIO m, IsWidget a) => a -> m (GValueConstruct o)
- getKeypadEndAction :: (MonadIO m, IsKeypad o) => o -> m (Maybe Widget)
- setKeypadEndAction :: (MonadIO m, IsKeypad o, IsWidget a) => o -> a -> m ()
- clearKeypadEntry :: (MonadIO m, IsKeypad o) => o -> m ()
- constructKeypadEntry :: (IsKeypad o, MonadIO m, IsEntry a) => a -> m (GValueConstruct o)
- getKeypadEntry :: (MonadIO m, IsKeypad o) => o -> m Entry
- setKeypadEntry :: (MonadIO m, IsKeypad o, IsEntry a) => o -> a -> m ()
- constructKeypadLettersVisible :: (IsKeypad o, MonadIO m) => Bool -> m (GValueConstruct o)
- getKeypadLettersVisible :: (MonadIO m, IsKeypad o) => o -> m Bool
- setKeypadLettersVisible :: (MonadIO m, IsKeypad o) => o -> Bool -> m ()
- constructKeypadRowSpacing :: (IsKeypad o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getKeypadRowSpacing :: (MonadIO m, IsKeypad o) => o -> m Word32
- setKeypadRowSpacing :: (MonadIO m, IsKeypad o) => o -> Word32 -> m ()
- clearKeypadStartAction :: (MonadIO m, IsKeypad o) => o -> m ()
- constructKeypadStartAction :: (IsKeypad o, MonadIO m, IsWidget a) => a -> m (GValueConstruct o)
- getKeypadStartAction :: (MonadIO m, IsKeypad o) => o -> m (Maybe Widget)
- setKeypadStartAction :: (MonadIO m, IsKeypad o, IsWidget a) => o -> a -> m ()
- constructKeypadSymbolsVisible :: (IsKeypad o, MonadIO m) => Bool -> m (GValueConstruct o)
- getKeypadSymbolsVisible :: (MonadIO m, IsKeypad o) => o -> m Bool
- setKeypadSymbolsVisible :: (MonadIO m, IsKeypad o) => o -> Bool -> m ()
Exported types
Memory-managed wrapper type.
Instances
Eq Keypad Source # | |
GObject Keypad Source # | |
Defined in GI.Handy.Objects.Keypad | |
ManagedPtrNewtype Keypad Source # | |
Defined in GI.Handy.Objects.Keypad toManagedPtr :: Keypad -> ManagedPtr Keypad # | |
TypedObject Keypad Source # | |
Defined in GI.Handy.Objects.Keypad | |
HasParentTypes Keypad Source # | |
Defined in GI.Handy.Objects.Keypad | |
IsGValue (Maybe Keypad) Source # | Convert |
Defined in GI.Handy.Objects.Keypad | |
type ParentTypes Keypad Source # | |
Defined in GI.Handy.Objects.Keypad |
class (GObject o, IsDescendantOf Keypad o) => IsKeypad o Source #
Instances
(GObject o, IsDescendantOf Keypad o) => IsKeypad o Source # | |
Defined in GI.Handy.Objects.Keypad |
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, 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, 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, listAccelClosures, listActionPrefixes, listMnemonicLabels, map, mnemonicActivate, modifyBase, modifyBg, modifyCursor, modifyFg, modifyFont, modifyStyle, modifyText, notify, notifyByPspec, overrideBackgroundColor, overrideColor, overrideCursor, overrideFont, overrideSymbolicColor, parserFinished, path, propagateDraw, queueAllocate, queueComputeExpand, queueDraw, queueDrawArea, queueDrawRegion, queueResize, queueResizeNoRedraw, realize, ref, refSink, regionIntersect, registerWindow, remove, removeAccelerator, removeMnemonicLabel, removeTickCallback, renderIcon, renderIconPixbuf, reparent, resetRcStyles, resetStyle, resizeChildren, runDispose, sendExpose, sendFocusChange, shapeCombineRegion, show, showAll, showNow, sizeAllocate, sizeAllocateWithBaseline, sizeRequest, stealData, stealQdata, styleAttach, styleGetProperty, thawChildNotify, thawNotify, translateCoordinates, triggerTooltipQuery, unmap, unparent, unrealize, unref, unregisterWindow, unsetFocusChain, unsetStateFlags, watchClosure.
Getters
getAccessible, getActionGroup, getAllocatedBaseline, getAllocatedHeight, getAllocatedSize, getAllocatedWidth, getAllocation, getAncestor, getAppPaintable, getBorderWidth, getCanDefault, getCanFocus, getChild, getChildRequisition, getChildVisible, getChildren, getClip, getClipboard, getColumnSpacing, getCompositeName, getData, getDeviceEnabled, getDeviceEvents, getDirection, getDisplay, getDoubleBuffered, getEndAction, getEntry, getEvents, getFocusChain, getFocusChild, getFocusHadjustment, getFocusOnClick, getFocusVadjustment, getFontMap, getFontOptions, getFrameClock, getHalign, getHasTooltip, getHasWindow, getHexpand, getHexpandSet, getInternalChild, getLettersVisible, 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, getRequestMode, getRequisition, getResizeMode, getRootWindow, getRowSpacing, getScaleFactor, getScreen, getSensitive, getSettings, getSizeRequest, getStartAction, getState, getStateFlags, getStyle, getStyleContext, getSupportMultidevice, getSymbolsVisible, getTemplateChild, getTooltipMarkup, getTooltipText, getTooltipWindow, getToplevel, getValign, getValignWithBaseline, getVexpand, getVexpandSet, getVisible, getVisual, getWindow.
Setters
setAccelPath, setAllocation, setAppPaintable, setBorderWidth, setBuildableProperty, setCanDefault, setCanFocus, setChildVisible, setClip, setColumnSpacing, setCompositeName, setData, setDataFull, setDeviceEnabled, setDeviceEvents, setDirection, setDoubleBuffered, setEndAction, setEntry, setEvents, setFocusChain, setFocusChild, setFocusHadjustment, setFocusOnClick, setFocusVadjustment, setFontMap, setFontOptions, setHalign, setHasTooltip, setHasWindow, setHexpand, setHexpandSet, setLettersVisible, setMapped, setMarginBottom, setMarginEnd, setMarginLeft, setMarginRight, setMarginStart, setMarginTop, setName, setNoShowAll, setOpacity, setParent, setParentWindow, setProperty, setRealized, setReallocateRedraws, setReceivesDefault, setRedrawOnAllocate, setResizeMode, setRowSpacing, setSensitive, setSizeRequest, setStartAction, setState, setStateFlags, setStyle, setSupportMultidevice, setSymbolsVisible, setTooltipMarkup, setTooltipText, setTooltipWindow, setValign, setVexpand, setVexpandSet, setVisible, setVisual, setWindow.
getColumnSpacing
keypadGetColumnSpacing Source #
:: (HasCallStack, MonadIO m, IsKeypad a) | |
=> a |
|
-> m Word32 | Returns: the column spacing of |
Returns the amount of space between the columns of self
.
Since: 1.0
getEndAction
:: (HasCallStack, MonadIO m, IsKeypad a) | |
=> a |
|
-> m (Maybe Widget) | Returns: the end action widget |
Returns the widget for the lower right corner (or left, in RTL locales) of
self
.
Since: 1.0
getEntry
:: (HasCallStack, MonadIO m, IsKeypad a) | |
=> a |
|
-> m Entry |
Get the connected entry. See keypadSetEntry
for details.
Since: 1.0
getLettersVisible
keypadGetLettersVisible Source #
:: (HasCallStack, MonadIO m, IsKeypad a) | |
=> a |
|
-> m Bool | Returns: whether the letters below the digits should be visible |
Returns whether self
should display the standard letters below the digits on
its buttons.
Since: 1.0
getRowSpacing
:: (HasCallStack, MonadIO m, IsKeypad a) | |
=> a |
|
-> m Word32 | Returns: the row spacing of |
Returns the amount of space between the rows of self
.
Since: 1.0
getStartAction
:: (HasCallStack, MonadIO m, IsKeypad a) | |
=> a |
|
-> m (Maybe Widget) | Returns: the start action widget |
Returns the widget for the lower left corner (or right, in RTL locales) of
self
.
Since: 1.0
getSymbolsVisible
keypadGetSymbolsVisible Source #
:: (HasCallStack, MonadIO m, IsKeypad a) | |
=> a |
|
-> m Bool | Returns: whether the hash, plus, and asterisk symbols should be visible |
Returns whether self
should display the standard letters below the digits on
its buttons.
Returns Whether self
should display the hash and asterisk buttons, and
should display the plus symbol at the bottom of its 0 button.
Since: 1.0
new
:: (HasCallStack, MonadIO m) | |
=> Bool |
|
-> Bool |
|
-> m Keypad | Returns: the newly created |
Create a new Keypad
widget.
Since: 0.0.12
setColumnSpacing
keypadSetColumnSpacing Source #
:: (HasCallStack, MonadIO m, IsKeypad a) | |
=> a |
|
-> Word32 |
|
-> m () |
Sets the amount of space between columns of self
.
Since: 1.0
setEndAction
:: (HasCallStack, MonadIO m, IsKeypad a, IsWidget b) | |
=> a |
|
-> Maybe b |
|
-> m () |
Sets the widget for the lower right corner (or left, in RTL locales) of
self
.
Since: 1.0
setEntry
:: (HasCallStack, MonadIO m, IsKeypad a, IsEntry b) | |
=> a |
|
-> Maybe b |
|
-> m () |
Binds entry
to self
and blocks any input which wouldn't be possible to type
with with the keypad.
Since: 0.0.12
setLettersVisible
keypadSetLettersVisible Source #
:: (HasCallStack, MonadIO m, IsKeypad a) | |
=> a |
|
-> Bool |
|
-> m () |
Sets whether self
should display the standard letters below the digits on
its buttons.
Since: 1.0
setRowSpacing
:: (HasCallStack, MonadIO m, IsKeypad a) | |
=> a |
|
-> Word32 |
|
-> m () |
Sets the amount of space between rows of self
.
Since: 1.0
setStartAction
:: (HasCallStack, MonadIO m, IsKeypad a, IsWidget b) | |
=> a |
|
-> Maybe b |
|
-> m () |
Sets the widget for the lower left corner (or right, in RTL locales) of
self
.
Since: 1.0
setSymbolsVisible
keypadSetSymbolsVisible Source #
:: (HasCallStack, MonadIO m, IsKeypad a) | |
=> a |
|
-> Bool |
|
-> m () |
Sets whether self
should display the hash and asterisk buttons, and should
display the plus symbol at the bottom of its 0 button.
Since: 1.0
Properties
columnSpacing
The amount of space between two consecutive columns.
Since: 1.0
constructKeypadColumnSpacing :: (IsKeypad o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “column-spacing
” property. This is rarely needed directly, but it is used by new
.
getKeypadColumnSpacing :: (MonadIO m, IsKeypad o) => o -> m Word32 Source #
Get the value of the “column-spacing
” property.
When overloading is enabled, this is equivalent to
get
keypad #columnSpacing
setKeypadColumnSpacing :: (MonadIO m, IsKeypad o) => o -> Word32 -> m () Source #
Set the value of the “column-spacing
” property.
When overloading is enabled, this is equivalent to
set
keypad [ #columnSpacing:=
value ]
endAction
The widget for the lower end corner of self
.
Since: 1.0
clearKeypadEndAction :: (MonadIO m, IsKeypad o) => o -> m () Source #
Set the value of the “end-action
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#endAction
constructKeypadEndAction :: (IsKeypad o, MonadIO m, IsWidget a) => a -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “end-action
” property. This is rarely needed directly, but it is used by new
.
getKeypadEndAction :: (MonadIO m, IsKeypad o) => o -> m (Maybe Widget) Source #
Get the value of the “end-action
” property.
When overloading is enabled, this is equivalent to
get
keypad #endAction
setKeypadEndAction :: (MonadIO m, IsKeypad o, IsWidget a) => o -> a -> m () Source #
Set the value of the “end-action
” property.
When overloading is enabled, this is equivalent to
set
keypad [ #endAction:=
value ]
entry
The entry widget connected to the keypad. See keypadSetEntry
for
details.
Since: 1.0
clearKeypadEntry :: (MonadIO m, IsKeypad o) => o -> m () Source #
Set the value of the “entry
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#entry
constructKeypadEntry :: (IsKeypad o, MonadIO m, IsEntry a) => a -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “entry
” property. This is rarely needed directly, but it is used by new
.
getKeypadEntry :: (MonadIO m, IsKeypad o) => o -> m Entry Source #
Get the value of the “entry
” property.
When overloading is enabled, this is equivalent to
get
keypad #entry
setKeypadEntry :: (MonadIO m, IsKeypad o, IsEntry a) => o -> a -> m () Source #
Set the value of the “entry
” property.
When overloading is enabled, this is equivalent to
set
keypad [ #entry:=
value ]
lettersVisible
Whether the keypad should display the standard letters below the digits on its buttons.
Since: 1.0
constructKeypadLettersVisible :: (IsKeypad o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “letters-visible
” property. This is rarely needed directly, but it is used by new
.
getKeypadLettersVisible :: (MonadIO m, IsKeypad o) => o -> m Bool Source #
Get the value of the “letters-visible
” property.
When overloading is enabled, this is equivalent to
get
keypad #lettersVisible
setKeypadLettersVisible :: (MonadIO m, IsKeypad o) => o -> Bool -> m () Source #
Set the value of the “letters-visible
” property.
When overloading is enabled, this is equivalent to
set
keypad [ #lettersVisible:=
value ]
rowSpacing
The amount of space between two consecutive rows.
Since: 1.0
constructKeypadRowSpacing :: (IsKeypad o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “row-spacing
” property. This is rarely needed directly, but it is used by new
.
getKeypadRowSpacing :: (MonadIO m, IsKeypad o) => o -> m Word32 Source #
Get the value of the “row-spacing
” property.
When overloading is enabled, this is equivalent to
get
keypad #rowSpacing
setKeypadRowSpacing :: (MonadIO m, IsKeypad o) => o -> Word32 -> m () Source #
Set the value of the “row-spacing
” property.
When overloading is enabled, this is equivalent to
set
keypad [ #rowSpacing:=
value ]
startAction
The widget for the lower start corner of self
.
Since: 1.0
clearKeypadStartAction :: (MonadIO m, IsKeypad o) => o -> m () Source #
Set the value of the “start-action
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#startAction
constructKeypadStartAction :: (IsKeypad o, MonadIO m, IsWidget a) => a -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “start-action
” property. This is rarely needed directly, but it is used by new
.
getKeypadStartAction :: (MonadIO m, IsKeypad o) => o -> m (Maybe Widget) Source #
Get the value of the “start-action
” property.
When overloading is enabled, this is equivalent to
get
keypad #startAction
setKeypadStartAction :: (MonadIO m, IsKeypad o, IsWidget a) => o -> a -> m () Source #
Set the value of the “start-action
” property.
When overloading is enabled, this is equivalent to
set
keypad [ #startAction:=
value ]
symbolsVisible
Whether the keypad should display the hash and asterisk buttons, and should display the plus symbol at the bottom of its 0 button.
Since: 1.0
constructKeypadSymbolsVisible :: (IsKeypad o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “symbols-visible
” property. This is rarely needed directly, but it is used by new
.
getKeypadSymbolsVisible :: (MonadIO m, IsKeypad o) => o -> m Bool Source #
Get the value of the “symbols-visible
” property.
When overloading is enabled, this is equivalent to
get
keypad #symbolsVisible
setKeypadSymbolsVisible :: (MonadIO m, IsKeypad o) => o -> Bool -> m () Source #
Set the value of the “symbols-visible
” property.
When overloading is enabled, this is equivalent to
set
keypad [ #symbolsVisible:=
value ]