Class: RubyQt6::QtGui::QGuiApplication

Inherits:
RubyQt6::QtCore::QCoreApplication
  • Object
show all
Defined in:
lib/qt6/qtgui/qguiapplication.rb

Overview

Instance Method Summary collapse

Constructor Details

#initialize(argv) ⇒ QGuiApplication

Parameters:

  • argv (Array<String>)


29
30
31
32
33
# File 'lib/qt6/qtgui/qguiapplication.rb', line 29

def initialize(argv)
  argv = ::Rice::Buffer≺char∗≻.new(argv.map(&:bytes))
  _initialize(argv.size, argv.data)
  _initialize_qApp
end