I am having some difficulty on getting the double click action to work with a table view. I have code along the lines of:

                @tableView = table_view(
                                        :columns => [column(:id => :item, :title 
=> '')],
                                        :data => @filteredData
                                )


                @tableView.doubleAction = 'doubleClickInRow:'

                def @tableView.doubleClickInRow (sender)
                        NSLog "in double click"
                end

When I run and double click on a row in the table I get:

*** -[RBAnonymous132 doubleClickInRow:]: unrecognized selector sent to instance 0x8005d1c40


Does anyone know how to get this to work?

Thanks,

Dave.
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to