MenuItem Question(s)

Linux specific forum
MarkR
New User
New User
Posts: 8
Joined: Fri Apr 18, 2008 9:03 pm
Location: USA

MenuItem Question(s)

Post 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
freak
PureBasic Team
PureBasic Team
Posts: 5948
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post 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.
quidquid Latine dictum sit altum videtur
MarkR
New User
New User
Posts: 8
Joined: Fri Apr 18, 2008 9:03 pm
Location: USA

Post 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
Post Reply