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

NSView Embedded in Dashboard Widget


  • Subject: NSView Embedded in Dashboard Widget
  • From: Mike Rossetti <email@hidden>
  • Date: Wed, 18 Jan 2006 17:18:36 -0700

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?

Thanks,
Mike


Mike Rossetti email@hidden

Cynics do not contribute;
Skeptics do not create;
Doubters do not achieve.
			Bryant S. Hinckley


_______________________________________________ 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: UIElement activation
  • Next by Date: Two questions about NSCalendar
  • Previous by thread: Re: how to generate a map from gis data
  • Next by thread: Re: NSView Embedded in Dashboard Widget
  • Index(es):
    • Date
    • Thread