Snarl: A Growl-like notification system for Squeak Smalltalk
This page is a mirrored copy of an article originally posted on the (now sadly defunct) LShift blog; see the archive index here.
Thu, 24 December 2009
I’ve just released Snarl, a Growl-like notification system for Squeak. To use it,
Snarl label: 'Something happened'
body: 'What could it have been?'
I’ve recorded a quick demo:
(Also available on youtube and on vimeo. My apologies for the blurriness.)
The code is three classes: one tiny convenience class, Snarl; one TextMorph subclass, which does almost all the work; and one helper TextAttribute subclass, for fading out coloured text along with the rest of each notification. In total, it’s 205 lines of text, including documentation.