Forum: Ruby-Gnome 2 Bug in Gtk::Treeview#row_expanded

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Eric C. (Guest)
on 2016-05-07 00:18

I don't know where to report these bugs.  Please let me know.

I found this bug when using Gtk::Treeview#row_expanded.  The method
doesn't return a valid iter.

  def self__row_expanded(view, iter, path)
   #iter = model.get_iter(path)
    VR::msg( iter[2] )

This causes this error:

`get_value': undefined method `get_value' for nil:NilClass
   from /home/eric/vrp/vrlib3/lib/GladeGUI.rb:163:in `call'
   from /home/eric/vrp/vrlib3/lib/GladeGUI.rb:163:in `block (2 levels)
in parse_signals'
`block in define_method'

If I uncomment the line where I reassign the iter variable using the
model#get_iter method, it works perfectly.

I'd like to work more closely with the people who work on Ruby/Gtk.
Please let me know who you are.

Thanks for all your great work!

This topic is locked and can not be replied to.