class Sirens::InputTextView

Public Instance Methods

initialize_handles() click to toggle source

Initializing

# File lib/views/input_text_view.rb, line 6
def initialize_handles()
    @main_handle = Gtk::Entry.new
end
set_text(text) click to toggle source
# File lib/views/input_text_view.rb, line 19
def set_text(text)
    text = '' if text.nil?

    main_handle.buffer.text = text
end
subscribe_to_ui_events() click to toggle source
# File lib/views/input_text_view.rb, line 10
def subscribe_to_ui_events()
end
text() click to toggle source

Accessing

# File lib/views/input_text_view.rb, line 15
def text()
    main_handle.buffer.text
end