class Origami::Template::RichTextEdit

Public Class Methods

new(id, x: , y:, width:, height:) click to toggle source
Calls superclass method Origami::Template::MultiLineEdit::new
# File lib/origami/template/widgets.rb, line 102
def initialize(id, x: , y:, width:, height:)
    super(id, x: x, y: y, width: width, height: height)

    self.F |= Annotation::Flags::READONLY
    self.Ff |= (Annotation::Widget::Text::Flags::RICHTEXT | Field::Flags::READONLY)
end