• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: nsbuttoncell text attachments
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >nsbuttoncell text attachments (From: Francisco Tolmasky <email@hidden>)

  • Prev by Date: Re: Problems with Distributed Objects
  • Next by Date: Re: Action and ± buttons
  • Previous by thread: nsbuttoncell text attachments
  • Next by thread: Custom view, NSArrayController
  • Index(es):
    • Date
    • Thread