I think the only way to close a widget is to kill its
DashboardClient process, which is difficult since multiple
instances of a widget can be opened.
I already tried calling "kill(getpid(), SIGKILL)"; that doesn't work
either... The results are the same as if I tried calling -
[NSApplication terminate:].
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Dashboard-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/dashboard-dev/email@hidden