/[thuban]/branches/WIP-pyshapelib-bramz/Thuban/UI/command.py
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/Thuban/UI/command.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 6 by bh, Tue Aug 28 15:41:52 2001 UTC revision 221 by bh, Thu Jul 18 13:01:55 2002 UTC
# Line 1  Line 1 
1  # Copyright (C) 2001 by Intevation GmbH  # Copyright (C) 2001, 2002 by Intevation GmbH
2  # Authors:  # Authors:
3  # Bernhard Herzog <[email protected]>  # Bernhard Herzog <[email protected]>
4  #  #
# Line 26  class Command: Line 26  class Command:
26      """      """
27      Represent a single command.      Represent a single command.
28    
29      A is identified by a name, it has a title (used in menu items and      A command is identified by a name, it has a title (used in menu
30      buttons, etc) and a callable object that can be invoked with the      items and buttons, etc) and a callable object that can be invoked
31      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

Legend:
Removed from v.6  
changed lines
  Added in v.221

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26