Posted: Thu Nov 21, 2002 12:48 pm
Restored from previous forum. Originally posted by Kale.
Is it possible to add visual shortcuts in menus? like this piece of python code:
is there a way to display the "Ctrl+N" next to the title "New"? i have been using this:
but sometimes you get the spacing wrong using spaces in the title string.
--Kale
New to PureBasic and falling in Love!
Is it possible to add visual shortcuts in menus? like this piece of python code:
Code: Select all
self.fileMenu.add_command(label="New", accelerator="Ctrl+N", command=self.newFile)
Code: Select all
MenuItem( #MENU_ITEM_SAVE, "New... Ctrl+N")
--Kale
New to PureBasic and falling in Love!