Re: nsbuttoncell text attachments
Re: nsbuttoncell text attachments
- Subject: Re: nsbuttoncell text attachments
- From: Alastair Houghton <email@hidden>
- Date: Thu, 26 Feb 2004 11:51:59 +0000
On 26 Feb 2004, at 08:49, Francisco Tolmasky wrote:
>
I'm trying to make an nsbuttoncell text attachment. Is there any way
>
to update the display without having to inform the layout manager of
>
changes geometry or anything like that? When buttons are pressed only
>
their appearance changes, not size, so I would like an efficient way
>
to just have the button display that it is being pressed.
It might be easier to make the text attachment cell attach an NSButton
*view* to the NSTextView that it's rendering in. (You could do this in
the -drawInteriorWithFrame:inView:, for instance.)
That way, the view can update itself as and when necessary.
Kind regards,
Alastair.
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.