Class: RubyQt6::QtWidgets::QCheckBox

Inherits:
QAbstractButton show all
Defined in:
lib/qt6/qtwidgets/qcheckbox.rb

Overview

Direct Known Subclasses

Bando::QCheckBox

Instance Method Summary collapse

Constructor Details

#initialize(text, parent = nil) ⇒ QCheckBox

Parameters:

  • text (String, QString)
  • parent (QWidget) (defaults to: nil)


18
19
20
21
# File 'lib/qt6/qtwidgets/qcheckbox.rb', line 18

def initialize(text, parent = nil)
  _initialize(T.to_qstr(text), parent)
  _take_ownership_from_ruby(self)
end