Prev: using Expect under Windows
Next: Active TCL for Unix?
From: dave on 26 May 2010 15:48 On May 26, 7:51 pm, dave <i...(a)clubnet.ie> wrote: > On May 25, 8:52 pm, Emmanuel Frecon <efre...(a)gmail.com> wrote: > > > > > <snip> > > > > Thanks, tried to get osd working but the command would run but no > > > popup, maybe I am missing something. > > > I would suggest that you use the library called notifier instead (same > > author, i.e. ... me)http://www.sics.se/~emmanuel/?Code:notifier > > > use it as follows: > > > Create the notifier with > > set n [::notifier::new -animate up -keyframes {400 20000 1000}] > > frame ${n}.top > > pack ${n}.top .... > > # Fill your notifier with something in other words. > > > To show your notifier: > > $n show > > > To hide it at once > > $n withdraw > > > For a number of projects I have modified the transparency of the > > notifier using wm attributes. > > Thanks for your help and your library, works like a charm Can the notifier library except images or buttons it seems only to except labels or canvas
From: Emmanuel Frecon on 27 May 2010 15:00
On May 26, 9:48 pm, dave <i...(a)clubnet.ie> wrote: > On May 26, 7:51 pm, dave <i...(a)clubnet.ie> wrote: > > > > > > > On May 25, 8:52 pm, Emmanuel Frecon <efre...(a)gmail.com> wrote: > > > > <snip> > > > > > Thanks, tried to get osd working but the command would run but no > > > > popup, maybe I am missing something. > > > > I would suggest that you use the library called notifier instead (same > > > author, i.e. ... me)http://www.sics.se/~emmanuel/?Code:notifier > > > > use it as follows: > > > > Create the notifier with > > > set n [::notifier::new -animate up -keyframes {400 20000 1000}] > > > frame ${n}.top > > > pack ${n}.top .... > > > # Fill your notifier with something in other words. > > > > To show your notifier: > > > $n show > > > > To hide it at once > > > $n withdraw > > > > For a number of projects I have modified the transparency of the > > > notifier using wm attributes. > > > Thanks for your help and your library, works like a charm > > Can the notifier library except images or buttons it seems only to > except labels or canvas Do you mean accept, I guess? It doesn't do anything to widgets, you just need to pack anything that you want in it. I'm pretty sure that I've used it with a button that displayed an image (something that looked like a close button). |