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
=> '')],
Hi Dave,
I am actually wrestling with a similar problem.
I believe I have solved your problem, maybe you can solve mine ;-) ??
in the start method I placed:
@my_table_view.setTarget(self)
@my_table_view.setDoubleAction(:double)
and then later on a method:
def double
NSLog
Quoting John Shea :
> Hi Dave,
>
> I am actually wrestling with a similar problem.
>
> I believe I have solved your problem, maybe you can solve
mine ;-) ??
>
> in the start method I placed:
>@my_table_view.setTarget(self)
>@my_table_view.setDoubleAction(:double)
>
>
> and th
Hi Dave,
thanks for your answer.
On Apr 1, 2009, at 14:39 , Dave Baldwin wrote:
I haven't had any problems using delegate methods. For example I do:
@tableView.delegate = self
and define a delegate method:
def tableView (table, shouldEditTableColumn: c, row: r)
Is there a way to access instance variables defined in an
Objective-C
class from a Ruby extension?
It is currently not implemented, but it's technically possible. A
good work-around is to define accessors (properties) as John
mentioned.
Maybe we need MacRuby::Runtime to bubble up the Obj
#241: NSMutableSet#merge fails
--+-
Reporter: kou...@… | Owner: b...@…
Type: defect| Status: new
Priority: major | Milestone: MacRuby 0.4
Comp
Here is the blurb:
http://www.macruby.org/project.html
I should say that I’m not a very frequent contributor, so you can
subtract one from the #size of that list.
-Ben
___
MacRuby-devel mailing list
[email protected]
http://lists.m
You might have already figured this out, but in case it helps...
Be careful not to confuse the TableView delegate with the DataSource delegate.
Check out the TableView programming guide:
http://developer.apple.com/documentation/Cocoa/Conceptual/TableView/TableView.html
You can use two different s
Hi MacRuby,
I built MacRuby 0.4 from SVN on OSX 10.5.6 (x86) successfully, but
could not run the example applications. I found
http://www.macruby.org/trac/ticket/232 and thought that perhaps I was
having the same issue, though I couldn't find any additional
discussion on that issue:
$ open ./ABP
Attaching patch to chmod 0755 the executables.
On Wed, Apr 1, 2009 at 9:03 PM, Jason Morrison
wrote:
> Hi MacRuby,
>
> I built MacRuby 0.4 from SVN on OSX 10.5.6 (x86) successfully, but
> could not run the example applications. I found
> http://www.macruby.org/trac/ticket/232 and thought that pe
Thanks Brian!
that cleared up all the remaining puzzles !
I must admit i just assumed that the data source and delegate were
married together in some way in hotcocoa - now that you have given me
a much better background it all now makes sense.
And thanks for the link.
Cheers,
John
On Ap
On Apr 1, 2009, at 6:03 PM, Jason Morrison wrote:
snip...
So, I signed up for Trac, went back to the ticket, with the intent of
commenting on it. Alas! I saw:
Trac detected an internal error: SubversionException: ('unable to open
database file', 200030)
That error would be my fault.
Bill,
Thanks for taking care of the repo and the ticketing system, that's much
appreciated.
- Matt
On Wed, Apr 1, 2009 at 11:21 PM, William Siegrist wrote:
>
> On Apr 1, 2009, at 6:03 PM, Jason Morrison wrote:
>
>
>> snip...
>
> So, I signed up for Trac, went back to the ticket, with the int
13 matches
Mail list logo