DialerCycleButton

Constructors

this
this(HdyDialerCycleButton* hdyDialerCycleButton, bool ownedRef = false)

Sets our main struct and passes it to the parent class.

this
this(string symbols)

Create a new #HdyDialerCycleButton which displays @symbols. The symbols can by cycled through by pressing the button multiple times.

Members

Functions

addOnCycleEnd
gulong addOnCycleEnd(void delegate(DialerCycleButton) dlg, ConnectFlags connectFlags = cast(ConnectFlags)0)

This signal is emitted when the cycle ends. This can either be because of timeout or because #hdy_dialer_cycle_stop_cycle got called.

addOnCycleStart
gulong addOnCycleStart(void delegate(DialerCycleButton) dlg, ConnectFlags connectFlags = cast(ConnectFlags)0)

This signal is emitted when the button starts cycling (that is on the first button press).

getCurrentSymbol
dchar getCurrentSymbol()

Get the symbol the dialer should display

getCycleTimeout
int getCycleTimeout()

Get the cycle timeout in milliseconds.

getDialerCycleButtonStruct
HdyDialerCycleButton* getDialerCycleButtonStruct(bool transferOwnership = false)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

isCycling
bool isCycling()

Check whether the button is in cycling mode.

setCycleTimeout
void setCycleTimeout(int timeout)

Set the cycle timeout in milliseconds.

stopCycle
void stopCycle()

Stop the cycling mode.

Static functions

getType
GType getType()

Variables

hdyDialerCycleButton
HdyDialerCycleButton* hdyDialerCycleButton;

the main Gtk struct

Inherited Members

From DialerButton

hdyDialerButton
HdyDialerButton* hdyDialerButton;

the main Gtk struct

getDialerButtonStruct
HdyDialerButton* getDialerButtonStruct(bool transferOwnership = false)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

getType
GType getType()
getDigit
int getDigit()

Get the #HdyDialerButton's digit.

getSymbols
string getSymbols()

Get the #HdyDialerButton's symbols.

Meta