| Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria (inaki@blueleaf.cc) |
| Safe Haskell | None |
| Language | Haskell2010 |
GI.Handy.Objects.DialerButton
Description
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
- noDialerButton :: Maybe 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 => Text -> IO (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.
Constructors
| DialerButton (ManagedPtr DialerButton) |
Instances
| GObject DialerButton Source # | |
Defined in GI.Handy.Objects.DialerButton Methods gobjectType :: IO GType # | |
| 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 ': ([] :: [Type]))))))))) | |
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.
noDialerButton :: Maybe DialerButton Source #
A convenience alias for Nothing :: Maybe DialerButton.
Methods
getDigit
Arguments
| :: (HasCallStack, MonadIO m, IsDialerButton a) | |
| => a |
|
| -> m Int32 | Returns: the button's digit |
Get the 'GI.Handy.Objects.DialerButton.DialerButton'\'s digit.
getSymbols
dialerButtonGetSymbols Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDialerButton a) | |
| => a |
|
| -> m Text | Returns: the button's symbols. |
Get the 'GI.Handy.Objects.DialerButton.DialerButton'\'s symbols.
new
Arguments
| :: (HasCallStack, MonadIO m) | |
| => Maybe Text |
|
| -> m DialerButton | Returns: the newly created |
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 => Text -> IO (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
setdialerButton [ #symbols:=value ]