gi-handy-0.0.7: libhandy bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Handy.Objects.DialerButton

Description

No description available in the introspection data.

Synopsis

Exported types

newtype DialerButton Source #

Memory-managed wrapper type.

Constructors

DialerButton (ManagedPtr DialerButton) 

Instances

Instances details
Eq DialerButton Source # 
Instance details

Defined in GI.Handy.Objects.DialerButton

Methods

(==) :: DialerButton -> DialerButton -> Bool

(/=) :: DialerButton -> DialerButton -> Bool

GObject DialerButton Source # 
Instance details

Defined in GI.Handy.Objects.DialerButton

ManagedPtrNewtype DialerButton Source # 
Instance details

Defined in GI.Handy.Objects.DialerButton

Methods

toManagedPtr :: DialerButton -> ManagedPtr DialerButton

TypedObject DialerButton Source # 
Instance details

Defined in GI.Handy.Objects.DialerButton

Methods

glibType :: IO GType

IsGValue DialerButton Source #

Convert DialerButton to and from GValue with toGValue and fromGValue.

Instance details

Defined in GI.Handy.Objects.DialerButton

Methods

toGValue :: DialerButton -> IO GValue

fromGValue :: GValue -> IO DialerButton

HasParentTypes DialerButton Source # 
Instance details

Defined in GI.Handy.Objects.DialerButton

type ParentTypes DialerButton Source # 
Instance details

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

Instances details
(GObject o, IsDescendantOf DialerButton o) => IsDialerButton o Source # 
Instance details

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

dialerButtonGetDigit Source #

Arguments

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

self: a DialerButton

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

Arguments

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

self: a DialerButton

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

dialerButtonNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Maybe Text

symbols: the symbols displayed on the DialerButton

-> m DialerButton

Returns: the newly created DialerButton widget

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 ]