I believe the wiki-docu has a small error. This method accepts two
arguments, not one. If none of you minds or objects (or wants to fix it
on his own), I will fix this within the next ~3 days
"
add_child_at_anchor(child)
Adds a child widget in the text buffer, at the given anchor.
* child: a Gtk::Widget
* anchor: a Gtk::TextChildAnchor in the Gtk::TextBuffer for the
Gtk::TextView
* Returns: self"
to
"
add_child_at_anchor(child, anchor)
Adds a child widget in the text buffer, at the given anchor.
* child: a Gtk::Widget
* anchor: a Gtk::TextChildAnchor in the Gtk::TextBuffer for the
Gtk::TextView
* Returns: self"
URL:
http://ruby-gnome2.sourceforge.jp/hiki.cgi?Gtk%3A%3ATextView#add_child_at_anchor