On May 10, 2007, at 8:06 PM, Greg Ercolano wrote:
> renderguy wrote:
>> [..] unless I can hand-edit the file to use the correct syntax
>> (for example, 'shortcut {FL_COMMAND + 'o'}').
>
> You shouldn't have to edit the fl file to make this work
> with the old fluid.
>
> Just bring up the Properties window for the menu item
> and just hand-type at the 'Extra Code:' prompt:
>
> o->shortcut(FL_COMMAND+'c');
>
> This will force the shortcut to be 'FL_COMMAND',
> and will work across platforms as I described in my
> last posting on this thread.
>
> I just tried it to be sure, and it does work.
Hi Greg,
if you like, check out the newest version of Fluid from the SVN. It
allows to set automatic translation of FL_CTRL and FL_META to
FL_COMMAND at source code creation time. The check box is in the
project dialog.
Matthias
----
http://robowerk.com/
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk