Class: RubyQt6::QtWidgets::QPushButton
- Inherits:
-
QAbstractButton
- Object
- RubyQt6::QtCore::QObject
- QWidget
- QAbstractButton
- RubyQt6::QtWidgets::QPushButton
- Defined in:
- lib/qt6/qtwidgets/qpushbutton.rb
Overview
Direct Known Subclasses
Instance Method Summary collapse
- #initialize(text, parent = nil) ⇒ QPushButton constructor
Constructor Details
#initialize(text, parent = nil) ⇒ QPushButton
18 19 20 21 |
# File 'lib/qt6/qtwidgets/qpushbutton.rb', line 18 def initialize(text, parent = nil) _initialize(T.to_qstr(text), parent) _take_ownership_from_ruby(self) end |