Module gwy :: Class MenuSensFlags
[hide private]
[frames] | no frames]

Class MenuSensFlags

source code

Global application sensitivity flags.

They represent various application states that may be preconditions for widgets to become sensitive.


Note: All the enumerated values are defined at the module level, not the class level. The are just groupped by class here for easier orientation.

Class Variables [hide private]
  MENU_FLAG_3D
A 3D view is present.
  MENU_FLAG_CURVE_MAP
There is at least one Lawn curve map window present (Since 2.60).
  MENU_FLAG_DATA
There is at least a one data window present.
  MENU_FLAG_DATA_MASK
There is a mask on the data.
  MENU_FLAG_DATA_SHOW
There is a presentation on the data.
  MENU_FLAG_FILE
A file is open, with any type of data (Since 2.5).
  MENU_FLAG_GRAPH
There is at least a one graph window present.
  MENU_FLAG_GRAPH_CURVE
There current graph window contains at least one curve (Since 2.60).
  MENU_FLAG_LAST_GRAPH
There is a last-run graph function to rerun.
  MENU_FLAG_LAST_PROC
There is a last-run data processing function to rerun.
  MENU_FLAG_MASK
All the bits combined.
  MENU_FLAG_REDO
There is something to redo (for current data window).
  MENU_FLAG_UNDO
There is something to undo (for current data window).
  MENU_FLAG_VOLUME
There is at least one volume data window present (Since 2.32).
  MENU_FLAG_XYZ
There is at least one XYZ surface data window present (Since 2.45).
Class Variable Details [hide private]

MENU_FLAG_GRAPH_CURVE

There current graph window contains at least one curve (Since 2.60). This ensures a graph function will not be run on an empty graph.