env
¶
Environment related macros
-
class
lsenv
(*args, **kwargs)[source]¶ Lists the environment in alphabetical order
-
class
lsgh
(*args, **kwargs)[source]¶ List general hooks.
Note
The lsgh macro has been included in Sardana on a provisional basis. Backwards incompatible changes (up to and including its removal) may occur if deemed necessary by the core developers.
-
class
defgh
(*args, **kwargs)[source]¶ Define general hook:
>>> defgh "mv [[mot02 9]]" pre-scan >>> defgh "ct 0.1" pre-scan >>> defgh lsm pre-scan >>> defgh "mv mot03 10" pre-scan >>> defgh "Print 'Hello world'" pre-scan
Note
The defgh macro has been included in Sardana on a provisional basis. Backwards incompatible changes (up to and including its removal) may occur if deemed necessary by the core developers.