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 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.
DialerButton (ManagedPtr DialerButton) |
Instances
Eq DialerButton Source # | |
Defined in GI.Handy.Objects.DialerButton (==) :: DialerButton -> DialerButton -> Bool (/=) :: DialerButton -> DialerButton -> Bool | |
GObject DialerButton Source # | |
Defined in GI.Handy.Objects.DialerButton | |
ManagedPtrNewtype DialerButton Source # | |
Defined in GI.Handy.Objects.DialerButton toManagedPtr :: DialerButton -> ManagedPtr DialerButton | |
TypedObject DialerButton Source # | |
Defined in GI.Handy.Objects.DialerButton glibType :: IO GType | |
IsGValue DialerButton Source # | Convert |
Defined in GI.Handy.Objects.DialerButton toGValue :: DialerButton -> IO GValue fromGValue :: GValue -> IO DialerButton | |
HasParentTypes DialerButton Source # | |
Defined in GI.Handy.Objects.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
Overloaded methods
getDigit
:: (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 #
:: (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
:: (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
set
dialerButton [ #symbols:=
value ]