Class: RubyQt6::QtWidgets::QMenu
- Defined in:
- lib/qt6/qtwidgets/qmenu.rb
Overview
Direct Known Subclasses
Instance Method Summary collapse
- #initialize(title, parent = nil) ⇒ QMenu constructor
Constructor Details
#initialize(title, parent = nil) ⇒ QMenu
21 22 23 24 |
# File 'lib/qt6/qtwidgets/qmenu.rb', line 21 def initialize(title, parent = nil) _initialize(T.to_qstr(title), parent) _take_ownership_from_ruby(self) end |