Class: RubyQt6::QtQml::QQmlContext

Inherits:
RubyQt6::QtCore::QObject
  • Object
show all
Defined in:
lib/qt6/qtqml/qqmlcontext.rb

Overview

Instance Method Summary collapse

Constructor Details

#initialize(engine, parent = nil) ⇒ QQmlContext

Parameters:

  • engine (QQmlEngine)
  • parent (QObject) (defaults to: nil)


17
18
19
20
# File 'lib/qt6/qtqml/qqmlcontext.rb', line 17

def initialize(engine, parent = nil)
  _initialize(engine, parent)
  _take_ownership_from_ruby(self)
end