Class: Gtk::Entry
- Inherits:
-
Object
- Object
- Gtk::Entry
- Defined in:
- lib/gtk3/entry.rb
Instance Method Summary collapse
- #set_attributes(attrs) ⇒ Object (also: #attributes=)
-
#set_attributes_raw ⇒ Object
TODO: It’s workaround for a GTK+ problem: It should be removed when GTK+ fix the problem.
Instance Method Details
#set_attributes(attrs) ⇒ Object Also known as: attributes=
23 24 25 26 |
# File 'lib/gtk3/entry.rb', line 23 def set_attributes(attrs) attrs ||= Pango::AttrList.new set_attributes_raw(attrs) end |
#set_attributes_raw ⇒ Object
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/gtk3/entry.rb', line 22 alias_method :set_attributes_raw, :set_attributes |