Re: nsmatrix examples? (newbie)
Re: nsmatrix examples? (newbie)
- Subject: Re: nsmatrix examples? (newbie)
- From: Daniel Child <email@hidden>
- Date: Sun, 20 Feb 2005 09:50:58 -1000
Thanks, Daniel. I will try that. Does anyone know of a good example of
an NSMatrix. I would like to study an example because I am confused
about whether to have target/actions associated with individual cells
or with the matrix as a whole.
On Saturday, February 19, 2005, at 10:34 PM, daniel wrote:
Can you just iterate through the cells (cellAtRow:column:) and call
setTitle: on the (presumably) NSButtonCell objects contained in the
matrix?
On Feb 19, 2005, at 8:24 PM, Daniel Child wrote:
Hi All,
I have set up a matrix of round buttons in a drawer and would like to
populate the titles (and font and sizes) for the round buttons
programmatically (they would be unicode characters). Is there a way
to do this?
I looked at the matrix documentation, but there are no tutorials, so
I am a little lost on what the setup should be. Should I create a new
controller to handle just this feature (all the buttons in the
matrix), or is there some simple solution I am missing.
Obviously, I could type into the title for each button, but the key
is to be able to change what the title is, and to do that
programmatically.
Thanks in advance!
Daniel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden