Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
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
- 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 glibType :: IO GType | |
IsGValue Keypad Source # | Convert |
Defined in GI.Handy.Objects.Keypad toGValue :: Keypad -> IO GValue fromGValue :: GValue -> IO Keypad | |
HasParentTypes Keypad Source # | |
Defined in GI.Handy.Objects.Keypad | |
type ParentTypes Keypad Source # | |
Defined in GI.Handy.Objects.Keypad type ParentTypes Keypad = '[Grid, Container, Widget, Object, ImplementorIface, Buildable, Orientable] |
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
Overloaded methods
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
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 ]