Re: this problem makes my head hurt...

From: Brian Denheyer <briand_at_inetarena.com>
Date: Sun, 8 Nov 1998 19:50:46 -0800 (PST)

> Perhaps you coud use grab her if you want to avoid the activity on
> other windows.

Yes, grab is definitely useful.

> Here again, I'm not usre to understand.... But this is surely not a
> reason for not giving my opinion ;-)

I've always found your opinions helpful, even when they _didn't_
answer the question :-)

>
> Try to finish your binding with 'break to avoid the execution of
> further bindinds.
> For instance
> (pack (label '.l :text "TEST"))
> (focus .l)
> (bind "Label" "<KeyPress>" (lambda () (display "Key") (newline)))
> (bind .l "<x>" (lambda () (display "x pressed") (newline)))
>
> Here, pressing a x causes the printing of two messages. Changing
> the second bind to
> (bind .l "<x>" (lambda () (display "x pressed") (newline) 'break))

Yes - this is helpful info. Something tells me I should be spending
more time reading man pages...

BINDTAGS ! This has some real possibilities.


Thanks for the advice Erick.


-- 
Brian Denheyer
briand_at_inetarena.com
Received on Mon Nov 09 1998 - 04:51:17 CET

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST