Package wx :: Class MenuItem
[frames | no frames]

Type MenuItem

object --+    
         |    
    Object --+
             |
            MenuItem


Proxy of C++ MenuItem class


Method Summary
MenuItem __init__(self, parentMenu, id, text, help, kind, subMenu)
  __del__(self)
  Check(self, check)
  Destroy(self)
  Enable(self, enable)
AcceleratorEntry GetAccel(self)
Colour GetBackgroundColour(self)
Bitmap GetBitmap(self)
int GetDefaultMarginWidth()
(Static method)
Bitmap GetDisabledBitmap(self)
Font GetFont(self)
String GetHelp(self)
int GetId(self)
int GetKind(self)
String GetLabel(self)
String GetLabelFromText(text)
(Static method)
int GetMarginWidth(self)
Menu GetMenu(self)
Menu GetSubMenu(self)
String GetText(self)
Colour GetTextColour(self)
bool IsCheckable(self)
bool IsChecked(self)
bool IsEnabled(self)
bool IsOwnerDrawn(self)
bool IsSeparator(self)
bool IsSubMenu(self)
  ResetOwnerDrawn(self)
  SetAccel(self, accel)
  SetBackgroundColour(self, colBack)
  SetBitmap(self, bitmap)
  SetBitmaps(self, bmpChecked, bmpUnchecked)
  SetCheckable(self, checkable)
  SetDisabledBitmap(self, bmpDisabled)
  SetFont(self, font)
  SetHelp(self, str)
  SetId(self, id)
  SetKind(self, kind)
  SetMarginWidth(self, nWidth)
  SetMenu(self, menu)
  SetOwnerDrawn(self, ownerDrawn)
  SetSubMenu(self, menu)
  SetText(self, str)
  SetTextColour(self, colText)
  Toggle(self)

Property Summary
  Accel: See GetAccel and SetAccel
  BackgroundColour: See GetBackgroundColour and SetBackgroundColour
  Bitmap: See GetBitmap and SetBitmap
  DisabledBitmap: See GetDisabledBitmap and SetDisabledBitmap
  Font: See GetFont and SetFont
  Help: See GetHelp and SetHelp
  Id: See GetId and SetId
  Kind: See GetKind and SetKind
  Label: See GetLabel
  MarginWidth: See GetMarginWidth and SetMarginWidth
  Menu: See GetMenu and SetMenu
  SubMenu: See GetSubMenu and SetSubMenu
  Text: See GetText and SetText
  TextColour: See GetTextColour and SetTextColour
  thisown: The membership flag

Property Details

Accel

See GetAccel and SetAccel

Get Method:
GetAccel(self)
Set Method:
SetAccel(self, accel)

BackgroundColour

See GetBackgroundColour and SetBackgroundColour

Get Method:
GetBackgroundColour(self)
Set Method:
SetBackgroundColour(self, colBack)

Bitmap

See GetBitmap and SetBitmap

Get Method:
GetBitmap(self)
Set Method:
SetBitmap(self, bitmap)

DisabledBitmap

See GetDisabledBitmap and SetDisabledBitmap

Get Method:
GetDisabledBitmap(self)
Set Method:
SetDisabledBitmap(self, bmpDisabled)

Font

See GetFont and SetFont

Get Method:
GetFont(self)
Set Method:
SetFont(self, font)

Help

See GetHelp and SetHelp

Get Method:
GetHelp(self)
Set Method:
SetHelp(self, str)

Id

See GetId and SetId

Get Method:
GetId(self)
Set Method:
SetId(self, id)

Kind

See GetKind and SetKind

Get Method:
GetKind(self)
Set Method:
SetKind(self, kind)

Label

See GetLabel

Get Method:
GetLabel(self)

MarginWidth

See GetMarginWidth and SetMarginWidth

Get Method:
GetMarginWidth(self)
Set Method:
SetMarginWidth(self, nWidth)

Menu

See GetMenu and SetMenu

Get Method:
GetMenu(self)
Set Method:
SetMenu(self, menu)

SubMenu

See GetSubMenu and SetSubMenu

Get Method:
GetSubMenu(self)
Set Method:
SetSubMenu(self, menu)

Text

See GetText and SetText

Get Method:
GetText(self)
Set Method:
SetText(self, str)

TextColour

See GetTextColour and SetTextColour

Get Method:
GetTextColour(self)
Set Method:
SetTextColour(self, colText)

thisown

The membership flag


Generated by Epydoc 2.1.20050511.rpd on Thu Mar 22 12:11:42 2007 http://epydoc.sf.net