ST2 WindowCommands are instantiated once per window. The Window object may be retrieved via self.window
ST3
WindowCommands are instantiated once per window. The Window object may be retrieved via self.window
description(<args>)
# =>
String
Returns a description of the command with the given arguments. Used in the menu, if no caption is provided. Return None to get the default description.
description(<args>)
# =>
str
Returns a description of the command with the given arguments. Used in the menu, if no caption is provided. Return None to get the default description.
is_enabled(<args>)
# =>
bool
Returns true if the command is able to be run at this time. The default implementation simply always returns True.
is_enabled(<args>)
# =>
bool
Returns True if the command is able to be run at this time. The default implementation simply always returns True.
is_visible(<args>)
# =>
bool
Returns true if the command should be shown in the menu at this time. The default implementation always returns True.
is_visible(<args>)
# =>
bool
Returns True if the command should be shown in the menu at this time. The default implementation always returns True.
Generated from the official documentation on Sat Oct 29 20:16:37 EEST 2016 by Leonid Shevtsov.