Class: MainWindow
Instance Method Summary collapse
- #create ⇒ Object
-
#initialize ⇒ MainWindow
constructor
A new instance of MainWindow.
Constructor Details
#initialize ⇒ MainWindow
Returns a new instance of MainWindow.
11 12 13 |
# File 'lib/views/main_window.rb', line 11 def initialize @view_tab_students = TabStudentsView.new end |
Instance Method Details
#create ⇒ Object
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
# File 'lib/views/main_window.rb', line 15 def create window('Библиотека', 1000, 600) { tab { tab_item('Авторы') { AuthorListView.new.create } tab_item('Издатели') { PublisherListView.new.create } # tab_item('Студенты') { # @view_tab_students.create # } } } end |