Class: Gtk::Entry

Inherits:
Object
  • Object
show all
Defined in:
lib/gtk4/entry.rb

Instance Method Summary collapse

Instance Method Details

#set_attributes(attrs) ⇒ Object Also known as: attributes=



23
24
25
26
# File 'lib/gtk4/entry.rb', line 23

def set_attributes(attrs)
  attrs ||= Pango::AttrList.new
  set_attributes_raw(attrs)
end

#set_attributes_rawObject

TODO: It’s workaround for a GTK+ problem: It should be removed when GTK+ fix the problem. github.com/ruby-gnome2/ruby-gnome2/issues/1176



22
# File 'lib/gtk4/entry.rb', line 22

alias_method :set_attributes_raw, :set_attributes