Hey all,

sorry for this newbie question, but i'm stuck in getting back a text from an NSTextView.

inserting text is easy :

$self->{'MajRVAffiche'}->insertText("blablabla");

but getting it back with :

my $text = $self->{'MajRVAffiche'}->->stringValue;

(the same as for NSTextField)

returns an error :

Instances of class NSTextView do not respond to selector stringValue

Beyond that point is there any way to programatically find the selector a given object would respond ?

I have used Cocoa Browser but i haven't see any way -- clear enough to me -- to retrieve this text.

Regards,

Yvon

Reply via email to