NSView Embedded in Dashboard Widget
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