Class: TT::GUI::Textbox
Overview
Events
-
:change
-
:keydown
-
:keypress
-
:keyup
-
:focus
-
:blur
Instance Attribute Summary collapse
- #multiline ⇒ Object (also: #multiline?)
- #value ⇒ String
Attributes inherited from Control
#bottom, #font_bold, #font_italic, #font_name, #font_size, #height, #left, #name, #parent, #right, #tooltip, #top, #ui_id, #width, #window
Instance Method Summary collapse
- #custom_properties ⇒ TT::JSON
-
#initialize(value) ⇒ Textbox
constructor
A new instance of Textbox.
Methods inherited from Control
#add_event_handler, #call_event, #disabled=, #disabled?, #enabled=, #enabled?, events, has_event?, #inspect, #move, #position, #positioned?, #properties, #release!, #size
Methods included from ControlEvents
Constructor Details
#initialize(value) ⇒ Textbox
Returns a new instance of Textbox
779 780 781 782 |
# File 'TT_Lib2/gui.rb', line 779 def initialize( value ) super @value = value end |
Instance Attribute Details
#multiline ⇒ Object Also known as: multiline?
766 767 768 |
# File 'TT_Lib2/gui.rb', line 766 def multiline @multiline end |
#value ⇒ String
766 767 768 |
# File 'TT_Lib2/gui.rb', line 766 def value @value end |