menu accelerators

From: Brian Denheyer <briand_at_deldotd.com>
Date: Sat, 24 Jul 1999 00:17:29 -0700 (PDT)

I can't seem to get menu accelerators to work in my program.

I saw the code in edit.stk and I reproduce the format, i.e. using the
tk-widget command, and it still doesn't work - but edit.stk does ??!

here is an example of what I am doing :

((slot-ref m 'Id) 'add 'command
                 :label edit-mode
;; :variable '*edit-mode*
                 :command (lambda () (change-edit-mode app edit-mode))
                 :accel accel)

accel is a string, e.g. "Ctrl-M"

What am I missing ??

Brian
Received on Sat Jul 24 1999 - 09:17:12 CEST

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