[MacRuby-devel] HotCocoa table_view and the doubleAction

Dave Baldwin dave.baldwin at dsl.pipex.com
Wed Apr 1 02:33:06 PDT 2009

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"

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?



More information about the MacRuby-devel mailing list