Class: MainWindow
- Inherits:
-
Object
- Object
- MainWindow
- Includes:
- Glimmer
- Defined in:
- lib/source/views/main_window.rb
Instance Method Summary collapse
- #create ⇒ Object
-
#initialize ⇒ MainWindow
constructor
A new instance of MainWindow.
Constructor Details
#initialize ⇒ MainWindow
Returns a new instance of MainWindow.
9 10 11 |
# File 'lib/source/views/main_window.rb', line 9 def initialize @view_tab_students = TabStudents.new end |
Instance Method Details
#create ⇒ Object
13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/source/views/main_window.rb', line 13 def create window('Универ', 900, 200) { tab { tab_item('Студенты') { @view_tab_students.create } tab_item('Вкладка 2') { } tab_item('Вкладка 3') { } } } end |