Internal class which holds information about a menu.
__init__ | Default class constructor. |
GetCmdId | Returns the associated menu accelerator identifier. |
GetMenu | Returns the associated menu. |
GetRect | Returns the associated menu client rectangle. |
GetSelectedTextBitmap | Returns the associated selected menu bitmap. |
GetState | Returns the associated menu state. |
GetTextBitmap | Returns the associated menu bitmap. |
GetTitle | Returns the associated menu title. |
SetRect | Sets the associated menu client rectangle. |
SetSelectedTextBitmap | Sets the associated selected menu bitmap. |
SetState | Sets the associated menu state. |
SetTextBitmap | Sets the associated menu bitmap. |
Internal class which holds information about a menu.
Default class constructor.
Used internally. Do not call it in your code!
Parameters: |
|
---|
Returns the associated menu state.
See also
SetState for a list of valid menu states.
Sets the associated menu client rectangle.
Parameters: | rect – an instance of wx.Rect, representing the menu client rectangle. |
---|
Sets the associated selected menu bitmap.
Parameters: | bmp – a valid wx.Bitmap object. |
---|
Sets the associated menu state.
Parameters: | state (integer) – the menu item state. This can be one of the following:
|
---|
Enter search terms or a module, class or function name.