Page 1 of 1

MenuItem Question(s)

Posted: Sat May 03, 2008 3:29 am
by MarkR
I have a program that when I run on Linux it does not key the MenuItem ShortCuts Display

i.e.

" Quit "+ Chr (9) +" Ctrl-Q"

I see the PureBasic IDEs show up and also even have Icons to the left of the text.

Does anybody have any information/answers regarding this?

Thanks.

Mark

Posted: Sat May 03, 2008 4:33 am
by freak
Did you actually add a shortcut for it (AddKeyboardShortcut()) ?

IIRC, the Gtk menu automatically displays the actual shortcut, not the text you enter there.
I am not sure though right now.

About the images: It used to be a bit of a hack before, but now there is the
CreateImageMenu() command for that in the 4.20 beta.

Posted: Sat May 03, 2008 5:41 am
by MarkR
Yes. I have the text for building the menu and then the code to AddKeyboardShortcut. The shortcuts work but they are not displayed on the menus.

I am using version 4.10.

Mark