Class: RubyQt6::QtWidgets::QPlainTextEdit

Inherits:
QAbstractScrollArea show all
Defined in:
lib/qt6/qtwidgets/qplaintextedit.rb

Overview

Direct Known Subclasses

Bando::QPlainTextEdit

Defined Under Namespace

Classes: LineWrapMode

Instance Method Summary collapse

Constructor Details

#initialize(text, parent = nil) ⇒ QPlainTextEdit

Parameters:

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


45
46
47
48
# File 'lib/qt6/qtwidgets/qplaintextedit.rb', line 45

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