gi-handy-0.0.1: libhandy bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (inaki@blueleaf.cc)
Safe HaskellNone
LanguageHaskell2010

GI.Handy.Objects.DialerButton

Contents

Description

No description available in the introspection data.

Synopsis

Exported types

newtype DialerButton Source #

Memory-managed wrapper type.

Instances
GObject DialerButton Source # 
Instance details

Defined in GI.Handy.Objects.DialerButton

Methods

gobjectType :: IO GType #

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 ': ([] :: [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 # 
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

getDigit

dialerButtonGetDigit Source #

Arguments

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

self: a DialerButton

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

self: a DialerButton

-> m Text

Returns: the button's symbols.

Get the 'GI.Handy.Objects.DialerButton.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

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

set dialerButton [ #symbols := value ]