Keypad

Constructors

this
this(HdyKeypad* hdyKeypad, bool ownedRef)

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

this
this(bool symbolsVisible, bool lettersVisible)

Create a new #HdyKeypad widget.

Members

Functions

getColumnSpacing
uint getColumnSpacing()

Returns the amount of space between the columns of @self.

getEndAction
Widget getEndAction()

Returns the widget for the lower right corner (or left, in RTL locales) of @self.

getEntry
Entry getEntry()

Get the connected entry. See hdy_keypad_set_entry() for details.

getKeypadStruct
HdyKeypad* getKeypadStruct(bool transferOwnership)

Get the main Gtk struct

getLettersVisible
bool getLettersVisible()

Returns whether @self should display the standard letters below the digits on its buttons.

getRowSpacing
uint getRowSpacing()

Returns the amount of space between the rows of @self.

getStartAction
Widget getStartAction()

Returns the widget for the lower left corner (or right, in RTL locales) of @self.

getStruct
void* getStruct()

the main Gtk struct as a void*

getSymbolsVisible
bool getSymbolsVisible()

Returns whether @self should display the standard letters below the digits on its buttons.

setColumnSpacing
void setColumnSpacing(uint spacing)

Sets the amount of space between columns of @self.

setEndAction
void setEndAction(Widget endAction)

Sets the widget for the lower right corner (or left, in RTL locales) of @self.

setEntry
void setEntry(Entry entry)

Binds @entry to @self and blocks any input which wouldn't be possible to type with with the keypad.

setLettersVisible
void setLettersVisible(bool lettersVisible)

Sets whether @self should display the standard letters below the digits on its buttons.

setRowSpacing
void setRowSpacing(uint spacing)

Sets the amount of space between rows of @self.

setStartAction
void setStartAction(Widget startAction)

Sets the widget for the lower left corner (or right, in RTL locales) of @self.

setSymbolsVisible
void setSymbolsVisible(bool symbolsVisible)

Sets whether @self should display the hash and asterisk buttons, and should display the plus symbol at the bottom of its 0 button.

Static functions

getType
GType getType()

Variables

hdyKeypad
HdyKeypad* hdyKeypad;

the main Gtk struct

Meta