class Sirens::TabsView
Public Instance Methods
initialize_handles()
click to toggle source
Initializing
# File lib/views/tabs_view.rb, line 6 def initialize_handles() @main_handle = Gtk::Notebook.new end
set_tab_label_at(index:, text:)
click to toggle source
Styles
# File lib/views/tabs_view.rb, line 15 def set_tab_label_at(index:, text:) page_handle = main_handle.children[index] main_handle.set_tab_label_text(page_handle, text) end
subscribe_to_ui_events()
click to toggle source
# File lib/views/tabs_view.rb, line 10 def subscribe_to_ui_events() end
tab_label_at(index:)
click to toggle source
Querying
# File lib/views/tabs_view.rb, line 23 def tab_label_at(index:) main_handle.get_tab_label_text(main_handle.children[index]) end