# Tk questions

**URL:** <https://www.ruby-forum.com/t/tk-questions/147434>\
**Category:** Ruby\
**Created:** [September 1, 2008, 8:23pm UTC](https://www.ruby-forum.com/t/tk-questions/147434 "2008-09-01T20:23:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kenneth\_McDonald](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/dc4da7/32.png) [@Kenneth\_McDonald](https://www.ruby-forum.com/u/Kenneth_McDonald)\
**Post date:** [September 1, 2008, 8:23pm UTC](https://www.ruby-forum.com/t/tk-questions/147434/1 "2008-09-01T20:23:17Z")

</div>

In “bind\_remove\_all” (and many other commands), what is the required  
‘context’ argument supposed to be.

Thanks,  
Ken

---

<div class="post-metadata">

**Author:** ![Kenneth\_McDonald](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/dc4da7/32.png) [@Kenneth\_McDonald](https://www.ruby-forum.com/u/Kenneth_McDonald)\
**Post date:** [September 2, 2008, 4:26am UTC](https://www.ruby-forum.com/t/tk-questions/147434/2 "2008-09-02T04:26:13Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Kenneth\_McDonald](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/dc4da7/32.png) [@Kenneth\_McDonald](https://www.ruby-forum.com/u/Kenneth_McDonald)\
**Post date:** [September 1, 2008, 10:10pm UTC](https://www.ruby-forum.com/t/tk-questions/147434/3 "2008-09-01T22:10:32Z")

</div>

From: Kenneth McDonald [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Subject: Tk questions  
Date: Tue, 2 Sep 2008 03:17:17 +0900  
Message-ID: [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

> 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”  
an event sequence … [“pat”, “pat”, … ,  
“pat”]  
a virtual event \<\> “”

---

<div class="post-metadata">

**Author:** ![Kenneth\_McDonald](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/dc4da7/32.png) [@Kenneth\_McDonald](https://www.ruby-forum.com/u/Kenneth_McDonald)\
**Post date:** [September 2, 2008, 5:35am UTC](https://www.ruby-forum.com/t/tk-questions/147434/4 "2008-09-02T05:35:11Z")

</div>

From: Kenneth McDonald [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Subject: Re: Tk questions  
Date: Tue, 2 Sep 2008 11:20:29 +0900  
Message-ID: [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

> Thanks. In English terms, ‘context’ isn’t quite the right word for

I think so too. 🙂  
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.
