Tk questions

In "bind_remove_all" (and many other commands), what is the required 'context' argument supposed to be.

Thanks,
Ken

Message-ID: <6B17C0CD-3C3B-40B1-A30B-733671C9F603@sbcglobal.net>

In "bind_remove_all" (and many other commands), what is the required
'context' argument supposed to be.

Please give an event sequence (see also Tcl/Tk's "bind" manual).

                             Tcl/Tk ==> Ruby/Tk

···

From: Kenneth McDonald <kenneth.m.mcdonald@sbcglobal.net>
Subject: Tk questions
Date: Tue, 2 Sep 2008 03:17:17 +0900
---------------------------------------------------------------------------
  an event pattern <mod-mod-type-detail> "mod-mod-type-detail"
  an event sequence <pat><pat>...<pat> ["pat", "pat", ... , "pat"]
  a virtual event <<virtualName>> "<virturalName>"

--
Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)

Thanks. In English terms, 'context' isn't quite the right word for that, and I would never have guessed
it referred to an event spec (with which I am familiar).

One off-topic question; anyone know how to specify an event sequence that would indicate_all_
events? Would <> do it? Will have to try...

Thanks again,
Ken

···

On Sep 1, 2008, at 3:03 PM, Hidetoshi NAGAI wrote:

From: Kenneth McDonald <kenneth.m.mcdonald@sbcglobal.net>
Subject: Tk questions
Date: Tue, 2 Sep 2008 03:17:17 +0900
Message-ID: <6B17C0CD-3C3B-40B1-A30B-733671C9F603@sbcglobal.net>

In "bind_remove_all" (and many other commands), what is the required
'context' argument supposed to be.

Please give an event sequence (see also Tcl/Tk's "bind" manual).

                            Tcl/Tk ==> Ruby/Tk
---------------------------------------------------------------------------
an event pattern <mod-mod-type-detail> "mod-mod-type-detail"
an event sequence <pat><pat>...<pat> ["pat", "pat", ... , "pat"]
a virtual event <<virtualName>> "<virturalName>"

--
Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)

Message-ID: <9960590A-444A-4DBC-A2D1-8F58F843DFFB@sbcglobal.net>

Thanks. In English terms, 'context' isn't quite the right word for

I think so too. :slight_smile:
That was used before my first contact with Ruby.

One off-topic question; anyone know how to specify an event sequence
that would indicate_all_
events? Would <> do it? Will have to try...

I'm very sorry, but I cannot understand what you want to do.

···

From: Kenneth McDonald <kenneth.m.mcdonald@sbcglobal.net>
Subject: Re: Tk questions
Date: Tue, 2 Sep 2008 11:20:29 +0900
--
Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)