gi-handy-1.0.1: libhandy bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Handy.Objects.Keypad

Description

No description available in the introspection data.

Synopsis

Exported types

newtype Keypad Source #

Memory-managed wrapper type.

Constructors

Keypad (ManagedPtr Keypad) 

Instances

Instances details
Eq Keypad Source # 
Instance details

Defined in GI.Handy.Objects.Keypad

Methods

(==) :: Keypad -> Keypad -> Bool #

(/=) :: Keypad -> Keypad -> Bool #

GObject Keypad Source # 
Instance details

Defined in GI.Handy.Objects.Keypad

ManagedPtrNewtype Keypad Source # 
Instance details

Defined in GI.Handy.Objects.Keypad

TypedObject Keypad Source # 
Instance details

Defined in GI.Handy.Objects.Keypad

Methods

glibType :: IO GType #

HasParentTypes Keypad Source # 
Instance details

Defined in GI.Handy.Objects.Keypad

IsGValue (Maybe Keypad) Source #

Convert Keypad to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.Handy.Objects.Keypad

type ParentTypes Keypad Source # 
Instance details

Defined in GI.Handy.Objects.Keypad

class (GObject o, IsDescendantOf Keypad o) => IsKeypad o Source #

Type class for types which can be safely cast to Keypad, for instance with toKeypad.

Instances

Instances details
(GObject o, IsDescendantOf Keypad o) => IsKeypad o Source # 
Instance details

Defined in GI.Handy.Objects.Keypad

toKeypad :: (MonadIO m, IsKeypad o) => o -> m Keypad Source #

Cast to Keypad, 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

Expand

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 #

Arguments

:: (HasCallStack, MonadIO m, IsKeypad a) 
=> a

self: a Keypad

-> m Word32

Returns: the column spacing of self

Returns the amount of space between the columns of self.

Since: 1.0

getEndAction

keypadGetEndAction Source #

Arguments

:: (HasCallStack, MonadIO m, IsKeypad a) 
=> a

self: a Keypad

-> 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

keypadGetEntry Source #

Arguments

:: (HasCallStack, MonadIO m, IsKeypad a) 
=> a

self: a Keypad

-> m Entry

Returns: the set Entry or Nothing if no widget was set

Get the connected entry. See keypadSetEntry for details.

Since: 1.0

getLettersVisible

keypadGetLettersVisible Source #

Arguments

:: (HasCallStack, MonadIO m, IsKeypad a) 
=> a

self: a Keypad

-> 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

keypadGetRowSpacing Source #

Arguments

:: (HasCallStack, MonadIO m, IsKeypad a) 
=> a

self: a Keypad

-> m Word32

Returns: the row spacing of self

Returns the amount of space between the rows of self.

Since: 1.0

getStartAction

keypadGetStartAction Source #

Arguments

:: (HasCallStack, MonadIO m, IsKeypad a) 
=> a

self: a Keypad

-> 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 #

Arguments

:: (HasCallStack, MonadIO m, IsKeypad a) 
=> a

self: a Keypad

-> 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

keypadNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Bool

symbolsVisible: whether the hash, plus, and asterisk symbols should be visible

-> Bool

lettersVisible: whether the letters below the digits should be visible

-> m Keypad

Returns: the newly created Keypad widget

Create a new Keypad widget.

Since: 0.0.12

setColumnSpacing

keypadSetColumnSpacing Source #

Arguments

:: (HasCallStack, MonadIO m, IsKeypad a) 
=> a

self: a Keypad

-> Word32

spacing: the amount of space to insert between columns

-> m () 

Sets the amount of space between columns of self.

Since: 1.0

setEndAction

keypadSetEndAction Source #

Arguments

:: (HasCallStack, MonadIO m, IsKeypad a, IsWidget b) 
=> a

self: a Keypad

-> Maybe b

endAction: the end action widget

-> m () 

Sets the widget for the lower right corner (or left, in RTL locales) of self.

Since: 1.0

setEntry

keypadSetEntry Source #

Arguments

:: (HasCallStack, MonadIO m, IsKeypad a, IsEntry b) 
=> a

self: a Keypad

-> Maybe b

entry: a Entry

-> 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 #

Arguments

:: (HasCallStack, MonadIO m, IsKeypad a) 
=> a

self: a Keypad

-> Bool

lettersVisible: whether the letters below the digits should be visible

-> m () 

Sets whether self should display the standard letters below the digits on its buttons.

Since: 1.0

setRowSpacing

keypadSetRowSpacing Source #

Arguments

:: (HasCallStack, MonadIO m, IsKeypad a) 
=> a

self: a Keypad

-> Word32

spacing: the amount of space to insert between rows

-> m () 

Sets the amount of space between rows of self.

Since: 1.0

setStartAction

keypadSetStartAction Source #

Arguments

:: (HasCallStack, MonadIO m, IsKeypad a, IsWidget b) 
=> a

self: a Keypad

-> Maybe b

startAction: the start action widget

-> m () 

Sets the widget for the lower left corner (or right, in RTL locales) of self.

Since: 1.0

setSymbolsVisible

keypadSetSymbolsVisible Source #

Arguments

:: (HasCallStack, MonadIO m, IsKeypad a) 
=> a

self: a Keypad

-> Bool

symbolsVisible: whether the hash, plus, and asterisk symbols should be visible

-> 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 ]