Handy.Keypad¶
- Subclasses:
 None
Methods¶
- Inherited:
 Gtk.Bin (1), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10)
- Structs:
 Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)
class  | 
  | 
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
Virtual Methods¶
Properties¶
- Inherited:
 
Name  | 
Type  | 
Flags  | 
Short Description  | 
|---|---|---|---|
r/w/en  | 
The amount of space between two consecutive columns  | 
||
r/w/en  | 
The end action widget  | 
||
r/w/en  | 
The entry widget connected to the keypad  | 
||
r/w/en  | 
Whether the letters below the digits should be visible  | 
||
r/w/en  | 
The amount of space between two consecutive rows  | 
||
r/w/en  | 
The start action widget  | 
||
r/w/en  | 
Whether the hash, plus, and asterisk symbols should be visible  | 
Style Properties¶
- Inherited:
 
Signals¶
- Inherited:
 
Fields¶
- Inherited:
 
Name  | 
Type  | 
Access  | 
Description  | 
|---|---|---|---|
parent_instance  | 
r  | 
Class Details¶
- class Handy.Keypad(**kwargs)¶
 - Bases:
 - Abstract:
 No
- Structure:
 
A keypad for dialing numbers
The
HdyKeypadwidget is a keypad for entering numbers such as phone numbers or PIN codes.- CSS nodes
 
HdyKeypadhas a single CSS node with namekeypad.New in version 1.0.
- classmethod new(symbols_visible, letters_visible)¶
 - Parameters:
 - Returns:
 the newly created
HdyKeypad- Return type:
 
Creates a new
HdyKeypad.New in version 1.0.
- get_column_spacing()¶
 - Returns:
 the column spacing of self
- Return type:
 
Returns the amount of space between the columns of self.
New in version 1.0.
- get_end_action()¶
 - Returns:
 the end action widget
- Return type:
 Gtk.WidgetorNone
Gets the widget for the lower right corner (or left, in RTL locales).
New in version 1.0.
- get_entry()¶
 - Returns:
 the entry set
- Return type:
 
Gets the connected entry.
New in version 1.0.
- get_letters_visible()¶
 - Returns:
 whether the letters below the digits should be visible
- Return type:
 
Gets whether standard letters are displayed below the digits on the buttons.
New in version 1.0.
- get_row_spacing()¶
 - Returns:
 the row spacing of self
- Return type:
 
Returns the amount of space between the rows of self.
New in version 1.0.
- get_start_action()¶
 - Returns:
 the start action widget
- Return type:
 Gtk.WidgetorNone
Gets the widget for the lower left corner (or right, in RTL locales).
New in version 1.0.
- get_symbols_visible()¶
 - Returns:
 whether symboles are visible
- Return type:
 
Gets whether symbols are displayed.
New in version 1.0.
- set_column_spacing(spacing)¶
 - Parameters:
 spacing (
int) – the amount of space to insert between columns
Sets the amount of space between columns of self.
New in version 1.0.
- set_end_action(end_action)¶
 - Parameters:
 end_action (
Gtk.WidgetorNone) – the end action widget
Sets the widget for the lower right corner (or left, in RTL locales).
New in version 1.0.
- set_entry(entry)¶
 - 
Binds entry to self.
New in version 1.0.
 
- set_letters_visible(letters_visible)¶
 - Parameters:
 letters_visible (
bool) – whether the letters below the digits should be visible
Sets whether standard letters are displayed below the digits on the buttons.
New in version 1.0.
- set_row_spacing(spacing)¶
 - Parameters:
 spacing (
int) – the amount of space to insert between rows
Sets the amount of space between rows of self.
New in version 1.0.
- set_start_action(start_action)¶
 - Parameters:
 start_action (
Gtk.WidgetorNone) – the start action widget
Sets the widget for the lower left corner (or right, in RTL locales).
New in version 1.0.
Property Details¶
- Handy.Keypad.props.column_spacing¶
 - Name:
 column-spacing- Type:
 - Default Value:
 6- Flags:
 
The amount of space between two consecutive columns.
New in version 1.0.
- Handy.Keypad.props.end_action¶
 - Name:
 end-action- Type:
 - Default Value:
 - Flags:
 
The widget for the lower end corner of self.
New in version 1.0.
- Handy.Keypad.props.entry¶
 - Name:
 entry- Type:
 - Default Value:
 - Flags:
 
The entry widget connected to the keypad.
The entry will block any input not possible to type with the keypad.
New in version 1.0.
- Handy.Keypad.props.letters_visible¶
 - Name:
 letters-visible- Type:
 - Default Value:
 - Flags:
 
Whether standard letters should be displayed below the digits on the buttons.
New in version 1.0.
- Handy.Keypad.props.row_spacing¶
 - Name:
 row-spacing- Type:
 - Default Value:
 6- Flags:
 
The amount of space between two consecutive rows.
New in version 1.0.
- Handy.Keypad.props.start_action¶
 - Name:
 start-action- Type:
 - Default Value:
 - Flags:
 
The widget for the lower start corner of self.
New in version 1.0.