28 |
|
|
29 |
A command is identified by a name, it has a title (used in menu |
A command is identified by a name, it has a title (used in menu |
30 |
items and buttons, etc) and a callable object that can be invoked |
items and buttons, etc) and a callable object that can be invoked |
31 |
with the context as a single parameter. The context is currently the |
with the context as a single parameter. The context is an object |
32 |
mainwindow object. |
with a few public attributes for the application object, the session |
33 |
|
and the main window. |
34 |
|
|
35 |
Additionally, a command may have functions that can determine |
Additionally, a command may have functions that can determine |
36 |
whether the command can be invoked or whether it is checked in case |
whether the command can be invoked or whether it is checked in case |