Skip to content
Snippets Groups Projects
Commit 222c4b97 authored by Timothée Couble's avatar Timothée Couble
Browse files

[feat] Add player controller python binding

parent 9c3a54cd
No related branches found
No related tags found
1 merge request!135[Feat] Add openPca, openSensor and getPlayController python binding
......@@ -638,6 +638,11 @@ def onClose():
# Disable Actions
disableSaveActions()
# Get the player controller, it can be used to call lqPlayerControlsController functions
# Such as onPlay(), onPause() ...
# Note: For the reader mode onPlay() will block the python shell
def getPlayerController():
return PythonQt.paraview.lqPlayerControlsToolbar(getMainWindow())
# Generic Helpers
def _setSaveActionsEnabled(enabled):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment