Class: MainWindow
- Inherits:
-
Object
- Object
- MainWindow
- Includes:
- Glimmer
- Defined in:
- lib/source/gui/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/gui/main_window.rb', line 9 def initialize @logic_tab = LogicWindow.new end |
Instance Method Details
#create ⇒ Object
12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/source/gui/main_window.rb', line 12 def create window('Универ', 1200, 700) { margined true tab { tab_item('Студенты') { @logic_tab.create } tab_item('Вкладка 2') { } tab_item('Вкладка 3') { } } } end |