Dialog presentation to choose an operation from a list.
|
Methods
|
|
AnyScan Button Movement OmegaScan PhiScan __init__ choice
|
|
|
AnyScan
|
AnyScan ( self )
Make a default any scan
Internal use. |
|
|
Button
|
Button ( self, value )
Handle the button press for the dialog. |
|
|
Movement
|
Movement ( self )
Make a default positioning
Internal use. |
|
|
OmegaScan
|
OmegaScan ( self )
Make a default omega scan
Internal use. |
|
|
PhiScan
|
PhiScan ( self )
Make a default phi scan
Internal use. |
|
|
__init__
|
__init__ (
self,
parent,
hardware,
)
Constructor. |
|
|
choice
|
choice ( self )
Present the dialog, and return the answer.
The return value consists of a 2-tuple: The first value is 1 if the
operation should be added at the bottom of the program, and 2 if it
should be added to the top. The second value is the selected
operation (already instantiated).
|
Exceptions
|
|
command.GuiCancel( "No operation selected" )
|
|