[racket] Difficult key-binding
close-current-tab is a method on the frame, I believe.
Robby
On Tue, Nov 9, 2010 at 11:12 AM, Eduardo Bellani <ebellani at gmail.com> wrote:
> Hello there.
>
> I am trying to add this keybinding, but without success:
>
> (keybinding "c:x;c:k" (λ (editor evt)
> ;; close current tab (or buffer)
> (send editor close-current-tab)))
>
> The error I got is this:
>
> send: no such method: close-current-tab for class:
> ...plt/1/6/diva-link.ss:572:4
>
> I am, as you can see, using divascheme. But from what I can see, this
> diva-link should accept the close-current-tab method.
>
> Any pointers?
>
> --
> Eduardo Bellani
>
> omnia mutantur, nihil interit.
> _________________________________________________
> For list-related administrative tasks:
> http://lists.racket-lang.org/listinfo/users