Represents a menu.
Public Member Functions | |
def | GetItem (self, args) |
def | GetNumItems (self) |
Public Member Functions inherited from MenuElement | |
def | GetIsEnabled (self) |
def | GetIsVisible (self) |
def | GetTitle (self) |
Public Member Functions inherited from Wrapper | |
def | GetUnwrappedPtr (self) |
Static Public Attributes | |
tuple | Items = _swig_property(lambda self: (self.GetItem(i) for i in xrange(self.GetNumItems()))) |
tuple | NumItems = _swig_property(GetNumItems) |
tuple | thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') |
Static Public Attributes inherited from MenuElement | |
tuple | IsEnabled = _swig_property(GetIsEnabled) |
tuple | IsVisible = _swig_property(GetIsVisible) |
tuple | thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') |
tuple | Title = _swig_property(GetTitle) |
Static Public Attributes inherited from Wrapper | |
tuple | thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') |
def GetItem | ( | self, | |
args | |||
) |
GetItem(Menu self, int n) -> MenuItem
def GetNumItems | ( | self | ) |
GetNumItems(Menu self) -> int