documentation on coalescing?

The Growl forums have moved to Google Groups, this forum is read only.
User avatar
Posts: 52
Joined: Sun May 01, 2005 8:46 pm

documentation on coalescing?

Post by Tee »

I can't find it in the developer doc. Where can I find it?
Posts: 63
Joined: Fri Dec 03, 2004 5:35 pm

Post by IngmarStein »

Coalescing is currently only documented in the headerdocs. Those are in the Docs/HeaderDoc directory in the source bzball. Or just look for GROWL_NOTIFICATION_IDENTIFIER in GrowlApplicationBridge.h
User avatar
Growl Team
Posts: 129
Joined: Sat Dec 04, 2004 12:17 pm
Location: London

Post by Diggory »

In case people don't want to download the source - here's the relevant text:

Code: Select all

 *   @abstract An identifier for the notification for coalescing purposes.
 *   Notifications with the same identifier fall into the same class; only
 *   the last notification of a class is displayed on the screen. If a
 *   notification of the same class is currently being displayed, it is
 *   replaced by this notification.
 *    Optional. Not supported by all display plugins.

You add another key-value pair to the notification dictionary.

GROWL_NOTIFICATION_IDENTIFIER is the key - and the value will be used as the identifer - notifications with the same ID will coalesce.