This is the description of standalone Python functions in the flatmenu module.
ConvertToMonochrome | Converts a bitmap to monochrome colour. |
GetAccelIndex | Returns the mnemonic index of the label and the label stripped of the ampersand mnemonic (e.g. |
GetMRUEntryLabel | Returns the string used for the MRU list items in the menu. |
Converts a bitmap to monochrome colour.
Parameters: | bmp – a valid wx.Bitmap object. |
---|
Returns the mnemonic index of the label and the label stripped of the ampersand mnemonic (e.g. ‘lab&el’ ==> will result in 3 and labelOnly = label).
Parameters: | label (string) – a string possibly containining an ampersand. |
---|
Returns the string used for the MRU list items in the menu.
Parameters: |
|
---|
Note
The index n is 0-based, as usual, but the strings start from 1.
SVN Revision 68352 For flatmenu
Enter search terms or a module, class or function name.