Visualruby - Listview Problem with selected_row

Hi,
I defined a ListView like your tutorial examples. THis works fine.

@filterPMlist=VR::ListView.new(cols)

I also tried to code :

def filterPMlist__row_activated(*args)
row= @filterPMlist.selected_row
#puts row[:myfield] # => “Hello World”
end

the funtion is called, but I get the error:

var/lib/gems/2.3.0/gems/visualruby-3.1.3/lib/treeview/ViewCommon.rb:132:in
method_missing': undefined methodselected_row’ for
#<VR::ListView:0x3537110 ptr=0x44d83b0>

What is my mistake?

Regards
Ulli

Isn’t that ruby-gtk specific? You may have more luck posting in the
ruby-gtk subsection. I know that the maintainer of visualruby sometimes
posts on the ruby-gtk / ruby-gnome subsection of the forum.