Sha256: 82271c5ebd9dc213d9a0038f0476488ba70225135d476ff637fd7d3465132c26

Contents?: true

Size: 529 Bytes

Versions: 1

Compression:

Stored size: 529 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('Универ', 600, 300) {
      tab {
        tab_item('Студенты') {
          @view_tab_students.create
        }

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

main_window = MainWindow.new.create
main_window.show

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mvcStudentXD-1.0.1 lib/main_window.rb