|
From: Remo E. <re...@pl...> - 2005-04-30 22:00:47
|
ok, i've found my problem, it was that i've used "tableViewSelectionDidChange" and NOT "outlineViewSelectionDidChange". sorry i'm new on Cocoa/Objective-C and Mac development. Am 30.04.2005 um 22:54 schrieb Remo Eichenberger: > i see in the RubyRaiseMan sample the usage of > "tableViewSelectionDidChange". i would check this sample. > > > Am 30.04.2005 um 20:34 schrieb Remo Eichenberger: > > >> hi, (sorry for my english) >> >> i don't understand how i can react on events from NSOutlineView in >> the controller. I have a NSOutlineView. on that i have set the >> "delegate" to the Controller. >> >> class Controller < OSX::NSResponder >> >> ib_outlets :oglView >> ib_outlets :sceneView >> ib_outlets :propertyView >> ib_outlets :propertyDataSource >> >> ns_overrides :acceptsFirstResponder >> ns_overrides :keyDown_ >> >> def keyDown(sender) >> puts "KEYDOWN" >> end >> >> def outlineView_clickedRow(sender) >> puts "CLICKED" >> end >> end >> >> the keyDown-event works but NOT the outlineView_clickedRow. >> >> what i make wrong ? >> >> thanks >> >> Remo Eichenberger >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: NEC IT Guy Games. >> Get your fingers limbered up and give it your best shot. 4 great >> events, 4 >> opportunities to win big! Highest score wins.NEC IT Guy Games. >> Play to >> win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 >> _______________________________________________ >> Rubycocoa-talk mailing list >> Rub...@li... >> https://lists.sourceforge.net/lists/listinfo/rubycocoa-talk >> >> > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. > Get your fingers limbered up and give it your best shot. 4 great > events, 4 > opportunities to win big! Highest score wins.NEC IT Guy Games. Play to > win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 > _______________________________________________ > Rubycocoa-talk mailing list > Rub...@li... > https://lists.sourceforge.net/lists/listinfo/rubycocoa-talk > |