MaxPlus Python API Reference
ActionItem Class Reference
+ Inheritance diagram for ActionItem:

Public Member Functions

def Execute (self)
 
def ExecuteAction (self)
 
def GetButtonText (self)
 
def GetCategoryText (self)
 
def GetDescriptionText (self)
 
def GetId (self)
 
def GetIsChecked (self)
 
def GetIsDynamicAction (self)
 
def GetIsEnabled (self)
 
def GetIsIndeterminate (self)
 
def GetIsItemVisible (self)
 
def GetMenuText (self)
 
def GetShortcutString (self)
 
- Public Member Functions inherited from FPInterface
def EnableActions (self, *args)
 
def FindFn (self, *args)
 
def GetDesc (self)
 
def Invoke (self, *args)
 
def IsChecked (self, *args)
 
def IsEnabled (self, *args)
 
def IsVisible (self, *args)
 
- Public Member Functions inherited from BaseInterface
def GetID (self)
 
- Public Member Functions inherited from InterfaceServer
def GetInterface (self, *args)
 
- Public Member Functions inherited from Wrapper
def GetUnwrappedPtr (self)
 

Static Public Attributes

 ButtonText = _swig_property(GetButtonText)
 
 Category = _swig_property(GetCategoryText)
 
 Checked = _swig_property(GetIsChecked)
 
 Description = _swig_property(GetDescriptionText)
 
 Dynamic = _swig_property(GetIsDynamicAction)
 
 Enabled = _swig_property(GetIsEnabled)
 
 Id = _swig_property(GetId)
 
 Indeterminate = _swig_property(GetIsIndeterminate)
 
 MenuText = _swig_property(GetMenuText)
 
 Shortcut = _swig_property(GetShortcutString)
 
 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 
 Visible = _swig_property(GetIsItemVisible)
 
- Static Public Attributes inherited from FPInterface
 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 
- Static Public Attributes inherited from BaseInterface
 InterfaceId = _swig_property(GetID)
 
 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 
- Static Public Attributes inherited from InterfaceServer
 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 
- Static Public Attributes inherited from Wrapper
 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 

Detailed Description

An operation that can be associated with a keyboard shortcut (accelerator), menu item, or button.

Member Function Documentation

◆ Execute()

def Execute (   self)
Execute(ActionItem self) -> bool

◆ ExecuteAction()

def ExecuteAction (   self)
ExecuteAction(ActionItem self) -> bool

◆ GetButtonText()

def GetButtonText (   self)
GetButtonText(ActionItem self) -> WStr

◆ GetCategoryText()

def GetCategoryText (   self)
GetCategoryText(ActionItem self) -> WStr

◆ GetDescriptionText()

def GetDescriptionText (   self)
GetDescriptionText(ActionItem self) -> WStr

◆ GetId()

def GetId (   self)
GetId(ActionItem self) -> int

◆ GetIsChecked()

def GetIsChecked (   self)
GetIsChecked(ActionItem self) -> bool

◆ GetIsDynamicAction()

def GetIsDynamicAction (   self)
GetIsDynamicAction(ActionItem self) -> bool

◆ GetIsEnabled()

def GetIsEnabled (   self)
GetIsEnabled(ActionItem self) -> bool

◆ GetIsIndeterminate()

def GetIsIndeterminate (   self)
GetIsIndeterminate(ActionItem self) -> bool

◆ GetIsItemVisible()

def GetIsItemVisible (   self)
GetIsItemVisible(ActionItem self) -> bool

◆ GetMenuText()

def GetMenuText (   self)
GetMenuText(ActionItem self) -> WStr

◆ GetShortcutString()

def GetShortcutString (   self)
GetShortcutString(ActionItem self) -> WStr