Fl_Menu_::add() supports two ways to set a shortcut; one as an integer,
the other as a "string", e.g. "^C"

FLTK currently uses these characters to specify the shortcut's shift states:

  # - Alt (FL_ALT)
  + - Shift (FL_SHIFT)
  ^ - Control (FL_CTRL)

Looks like we need one other to specify "FL_COMMAND".
I'd like to add this cause my app needs this.

Not sure which character to use, but maybe '&' or '%' because they look like
the 'cloverleaf' key on the mac..?

Feedback welcome.
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to