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 |
Synopsis
- newtype Keypad = Keypad (ManagedPtr Keypad)
- class (GObject o, IsDescendantOf Keypad o) => IsKeypad o
- toKeypad :: (MonadIO m, IsKeypad o) => o -> m Keypad
- keypadGetEntry :: (HasCallStack, MonadIO m, IsKeypad a) => a -> m Widget
- keypadNew :: (HasCallStack, MonadIO m) => Bool -> Bool -> m Keypad
- keypadSetEntry :: (HasCallStack, MonadIO m, IsKeypad a, IsEntry b) => a -> b -> m ()
- keypadSetLeftAction :: (HasCallStack, MonadIO m, IsKeypad a, IsWidget b) => a -> b -> m ()
- keypadSetRightAction :: (HasCallStack, MonadIO m, IsKeypad a, IsWidget b) => a -> b -> m ()
- keypadShowSymbols :: (HasCallStack, MonadIO m, IsKeypad a) => a -> Bool -> m ()
- clearKeypadEntry :: (MonadIO m, IsKeypad o) => o -> m ()
- constructKeypadEntry :: (IsKeypad o, MonadIO m, IsWidget a) => a -> m (GValueConstruct o)
- getKeypadEntry :: (MonadIO m, IsKeypad o) => o -> m Widget
- setKeypadEntry :: (MonadIO m, IsKeypad o, IsWidget a) => o -> a -> m ()
- constructKeypadLeftAction :: (IsKeypad o, MonadIO m, IsWidget a) => a -> m (GValueConstruct o)
- setKeypadLeftAction :: (MonadIO m, IsKeypad o, IsWidget a) => o -> a -> m ()
- constructKeypadOnlyDigits :: (IsKeypad o, MonadIO m) => Bool -> m (GValueConstruct o)
- getKeypadOnlyDigits :: (MonadIO m, IsKeypad o) => o -> m Bool
- setKeypadOnlyDigits :: (MonadIO m, IsKeypad o) => o -> Bool -> m ()
- constructKeypadRightAction :: (IsKeypad o, MonadIO m, IsWidget a) => a -> m (GValueConstruct o)
- setKeypadRightAction :: (MonadIO m, IsKeypad o, IsWidget a) => o -> a -> m ()
- constructKeypadShowSymbols :: (IsKeypad o, MonadIO m) => Bool -> m (GValueConstruct o)
- getKeypadShowSymbols :: (MonadIO m, IsKeypad o) => o -> m Bool
- setKeypadShowSymbols :: (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 gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe Keypad -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe 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, attach, attachNextTo, 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, insertColumn, insertNextTo, insertRow, 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, removeColumn, removeMnemonicLabel, removeRow, removeTickCallback, renderIcon, renderIconPixbuf, reparent, resetRcStyles, resetStyle, resizeChildren, runDispose, sendExpose, sendFocusChange, shapeCombineRegion, show, showAll, showNow, showSymbols, 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, getBaselineRow, getBorderWidth, getCanDefault, getCanFocus, getChildAt, getChildRequisition, getChildVisible, getChildren, getClip, getClipboard, getColumnHomogeneous, getColumnSpacing, getCompositeName, getData, getDeviceEnabled, getDeviceEvents, getDirection, getDisplay, getDoubleBuffered, getEntry, getEvents, getFocusChain, getFocusChild, getFocusHadjustment, getFocusOnClick, getFocusVadjustment, getFontMap, getFontOptions, getFrameClock, getHalign, getHasTooltip, getHasWindow, getHexpand, getHexpandSet, getInternalChild, getMapped, getMarginBottom, getMarginEnd, getMarginLeft, getMarginRight, getMarginStart, getMarginTop, getModifierMask, getModifierStyle, getName, getNoShowAll, getOpacity, getOrientation, getPangoContext, getParent, getParentWindow, getPath, getPathForChild, getPointer, getPreferredHeight, getPreferredHeightAndBaselineForWidth, getPreferredHeightForWidth, getPreferredSize, getPreferredWidth, getPreferredWidthForHeight, getProperty, getQdata, getRealized, getReceivesDefault, getRequestMode, getRequisition, getResizeMode, getRootWindow, getRowBaselinePosition, getRowHomogeneous, getRowSpacing, getScaleFactor, getScreen, getSensitive, getSettings, getSizeRequest, getState, getStateFlags, getStyle, getStyleContext, getSupportMultidevice, getTemplateChild, getTooltipMarkup, getTooltipText, getTooltipWindow, getToplevel, getValign, getValignWithBaseline, getVexpand, getVexpandSet, getVisible, getVisual, getWindow.
Setters
setAccelPath, setAllocation, setAppPaintable, setBaselineRow, setBorderWidth, setBuildableProperty, setCanDefault, setCanFocus, setChildVisible, setClip, setColumnHomogeneous, setColumnSpacing, setCompositeName, setData, setDataFull, setDeviceEnabled, setDeviceEvents, setDirection, setDoubleBuffered, setEntry, setEvents, setFocusChain, setFocusChild, setFocusHadjustment, setFocusOnClick, setFocusVadjustment, setFontMap, setFontOptions, setHalign, setHasTooltip, setHasWindow, setHexpand, setHexpandSet, setLeftAction, setMapped, setMarginBottom, setMarginEnd, setMarginLeft, setMarginRight, setMarginStart, setMarginTop, setName, setNoShowAll, setOpacity, setOrientation, setParent, setParentWindow, setProperty, setRealized, setReallocateRedraws, setReceivesDefault, setRedrawOnAllocate, setResizeMode, setRightAction, setRowBaselinePosition, setRowHomogeneous, setRowSpacing, setSensitive, setSizeRequest, setState, setStateFlags, setStyle, setSupportMultidevice, setTooltipMarkup, setTooltipText, setTooltipWindow, setValign, setVexpand, setVexpandSet, setVisible, setVisual, setWindow.
getEntry
:: (HasCallStack, MonadIO m, IsKeypad a) | |
=> a |
|
-> m Widget | Returns: the set |
Get the connected entry. See hdy_keypad_set_entry () for details
new
:: (HasCallStack, MonadIO m) | |
=> Bool |
|
-> Bool |
|
-> m Keypad | Returns: the newly created |
Create a new Keypad
widget.
setEntry
:: (HasCallStack, MonadIO m, IsKeypad a, IsEntry b) | |
=> a |
|
-> b |
|
-> m () |
Binds a Entry
to the keypad and it blocks every
input which wouldn't be possible to type with with the keypad
setLeftAction
:: (HasCallStack, MonadIO m, IsKeypad a, IsWidget b) | |
=> a |
|
-> b |
|
-> m () |
Sets the widget for the left lower corner of Keypad
replacing the existing widget, if NULL it just removes whatever widget is there
setRightAction
:: (HasCallStack, MonadIO m, IsKeypad a, IsWidget b) | |
=> a |
|
-> b |
|
-> m () |
Sets the widget for the right lower corner of Keypad
replacing the existing widget, if NULL it just removes whatever widget is there
showSymbols
:: (HasCallStack, MonadIO m, IsKeypad a) | |
=> a |
|
-> Bool |
|
-> m () |
Sets the visibility of symbols (excluding the main digit) on each button in the Keypad
Properties
entry
No description available in the introspection data.
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, IsWidget 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 Widget Source #
Get the value of the “entry
” property.
When overloading is enabled, this is equivalent to
get
keypad #entry
setKeypadEntry :: (MonadIO m, IsKeypad o, IsWidget a) => o -> a -> m () Source #
Set the value of the “entry
” property.
When overloading is enabled, this is equivalent to
set
keypad [ #entry:=
value ]
leftAction
No description available in the introspection data.
constructKeypadLeftAction :: (IsKeypad o, MonadIO m, IsWidget a) => a -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “left-action
” property. This is rarely needed directly, but it is used by new
.
setKeypadLeftAction :: (MonadIO m, IsKeypad o, IsWidget a) => o -> a -> m () Source #
Set the value of the “left-action
” property.
When overloading is enabled, this is equivalent to
set
keypad [ #leftAction:=
value ]
onlyDigits
No description available in the introspection data.
constructKeypadOnlyDigits :: (IsKeypad o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “only-digits
” property. This is rarely needed directly, but it is used by new
.
getKeypadOnlyDigits :: (MonadIO m, IsKeypad o) => o -> m Bool Source #
Get the value of the “only-digits
” property.
When overloading is enabled, this is equivalent to
get
keypad #onlyDigits
setKeypadOnlyDigits :: (MonadIO m, IsKeypad o) => o -> Bool -> m () Source #
Set the value of the “only-digits
” property.
When overloading is enabled, this is equivalent to
set
keypad [ #onlyDigits:=
value ]
rightAction
No description available in the introspection data.
constructKeypadRightAction :: (IsKeypad o, MonadIO m, IsWidget a) => a -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “right-action
” property. This is rarely needed directly, but it is used by new
.
setKeypadRightAction :: (MonadIO m, IsKeypad o, IsWidget a) => o -> a -> m () Source #
Set the value of the “right-action
” property.
When overloading is enabled, this is equivalent to
set
keypad [ #rightAction:=
value ]
showSymbols
No description available in the introspection data.
constructKeypadShowSymbols :: (IsKeypad o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “show-symbols
” property. This is rarely needed directly, but it is used by new
.
getKeypadShowSymbols :: (MonadIO m, IsKeypad o) => o -> m Bool Source #
Get the value of the “show-symbols
” property.
When overloading is enabled, this is equivalent to
get
keypad #showSymbols
setKeypadShowSymbols :: (MonadIO m, IsKeypad o) => o -> Bool -> m () Source #
Set the value of the “show-symbols
” property.
When overloading is enabled, this is equivalent to
set
keypad [ #showSymbols:=
value ]