Class: Handy::Keypad

Inherits:
Gtk::Bin
  • Object
show all
Defined in:
(unknown)

Instance Method Summary collapse

Constructor Details

#initialize(symbols_visible, letters_visible) ⇒ Gtk::Widget

Creates a new HdyKeypad.

Parameters:

  • symbols_visible (Boolean)

    whether the hash, plus, and asterisk symbols should be visible

  • letters_visible (Boolean)

    whether the letters below the digits should be visible

Instance Method Details

#column_spacingInteger

The amount of space between two consecutive columns.

Returns:

  • (Integer)

    column-spacing

#column_spacing=(column_spacing) ⇒ Integer

The amount of space between two consecutive columns.

Parameters:

  • column_spacing (Integer)

Returns:

  • (Integer)

    column-spacing

  • (Integer)

    column-spacing

#end_actionGtk::Widget

The widget for the lower end corner of self.

Returns:

  • (Gtk::Widget)

    end-action

#end_action=(end_action) ⇒ Gtk::Widget

The widget for the lower end corner of self.

Parameters:

  • end_action (Gtk::Widget)

Returns:

  • (Gtk::Widget)

    end-action

  • (Gtk::Widget)

    end-action

#entryGtk::Entry

The entry widget connected to the keypad.

The entry will block any input not possible to type with the keypad.

Returns:

  • (Gtk::Entry)

    entry

#entry=(entry) ⇒ Gtk::Entry

The entry widget connected to the keypad.

The entry will block any input not possible to type with the keypad.

Parameters:

  • entry (Gtk::Entry)

Returns:

  • (Gtk::Entry)

    entry

  • (Gtk::Entry)

    entry

#letters_visibleBoolean

Gets whether standard letters are displayed below the digits on the buttons.

Returns:

  • (Boolean)

    whether the letters below the digits should be visible

#letters_visible=(letters_visible) ⇒ Boolean

Whether standard letters should be displayed below the digits on the buttons.

Parameters:

  • letters_visible (Boolean)

Returns:

  • (Boolean)

    letters-visible

  • (Boolean)

    letters-visible

#letters_visible?Boolean

Whether standard letters should be displayed below the digits on the buttons.

Returns:

  • (Boolean)

    letters-visible

#row_spacingInteger

The amount of space between two consecutive rows.

Returns:

  • (Integer)

    row-spacing

#row_spacing=(row_spacing) ⇒ Integer

The amount of space between two consecutive rows.

Parameters:

  • row_spacing (Integer)

Returns:

  • (Integer)

    row-spacing

  • (Integer)

    row-spacing

#start_actionGtk::Widget

The widget for the lower start corner of self.

Returns:

  • (Gtk::Widget)

    start-action

#start_action=(start_action) ⇒ Gtk::Widget

The widget for the lower start corner of self.

Parameters:

  • start_action (Gtk::Widget)

Returns:

  • (Gtk::Widget)

    start-action

  • (Gtk::Widget)

    start-action

#symbols_visibleBoolean

Gets whether symbols are displayed.

Returns:

  • (Boolean)

    whether symboles are visible

#symbols_visible=(symbols_visible) ⇒ Boolean

Whether to display symbols.

This includes hash and asterisk buttons, and the plus symbol at the bottom of its 0 button.

Parameters:

  • symbols_visible (Boolean)

Returns:

  • (Boolean)

    symbols-visible

  • (Boolean)

    symbols-visible

#symbols_visible?Boolean

Whether to display symbols.

This includes hash and asterisk buttons, and the plus symbol at the bottom of its 0 button.

Returns:

  • (Boolean)

    symbols-visible