rayoptics.gui.actions module
Definitions for user interface actions
Action classes are those that contain a dict called
actions. Theactionsdict contains functions that are executed for UI actions corresponding to the keyword.
- Action keywords include:
‘press’ ‘drag’ ‘release’
The argument lists for the called functions include
figandevent. Duck typing is relied on loosen the binding with a particular GUI implementation - or at least that’s the theory.
figmust support a function refresh_gui()
- class SagAction(surf)[source]
Bases:
objectAction to set the profile_cv via surface sag (related to x,y input)