• 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: NSView Embedded in Dashboard Widget
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSView Embedded in Dashboard Widget


  • Subject: Re: NSView Embedded in Dashboard Widget
  • From: Ben Kazez <email@hidden>
  • Date: Wed, 18 Jan 2006 19:54:46 -0600

On Jan 18, 2006, at 7:38 PM, Mike Rossetti <email@hidden> wrote:

I'm hoping someone has a clue about the challenge of showing an
NSView within a Dashboard widget. Here's the problem in reduced terms:


I've successfully embedded a custom NSComboBox in a Dashboard widget
and it draws and operates properly.

Then I tried embedding a custom NSView that contains several controls
of its own--but it does not draw in the Dashboard widget.  As a test,
I've overridden drawRect for both the combo-box and the NSView where
the override simply logs that the function has been called--and
indeed drawRect gets called for both the combo-box and the NSView.

Has anyone attempted to embed a non-trivial NSView within a widget
and would you mind commenting on the challenges one may face in doing
so?

Hi Mike,

I don't have any experience with this myself, so I can't help much, but you should try posting this message to Apple's Dashboard-dev mailing list.

Ben
_______________________________________________
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


  • Prev by Date: Re: Two questions about NSCalendar
  • Next by Date: Re: CoreData and NSPasteboard for
  • Previous by thread: NSView Embedded in Dashboard Widget
  • Next by thread: Two questions about NSCalendar
  • Index(es):
    • Date
    • Thread