Source code for dysh.plot.basegui
"""
Base class for dysh GUIs
"""
[docs]
class BaseGUI:
[docs]
def connect_buttons(self, plotbase):
"""
Connect the GUI button(s) callbacks.
Parameters
----------
plotbase : `~dysh.plot.plotbase.PlotBase`
Plotting class that defines the functions to be used in the callbacks.
"""
return
[docs]
def is_window_alive(self):
"""
Is the GUI window alive.
Returns
-------
True if the GUI window is still alive.
"""
return True