Sha256: 59c30bdc88212a930957397183ee49a7ebc1410876975fa2e388a41d7065c499

Contents?: true

Size: 449 Bytes

Versions: 3

Compression:

Stored size: 449 Bytes

Contents

# frozen_string_literal: true

require 'glimmer-dsl-libui'
require_relative 'tab_students'

class MainWindow
  include Glimmer

  def initialize
    @view_tab_students = TabStudents.new
  end

  def create
    window('Универ', 900, 200) {
      tab {
        tab_item('Студенты') {
          @view_tab_students.create
        }

        tab_item('Вкладка 2') { }
        tab_item('Вкладка 3') { }
      }
    }
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rubbish_code-1.1.2 lib/source/views/main_window.rb
rubbish_code-1.1.1 lib/source/views/main_window.rb
rubbish_code-1.1.0 lib/source/views/main_window.rb