MCPcopy Create free account
hub / github.com/NSLS2/PyXRF / __init__

Method __init__

pyxrf/gui_module/tab_wd_fit_maps.py:23–38  ·  view source on GitHub ↗
(self, *, gpc, gui_vars)

Source from the content-addressed store, hash-verified

21 signal_activate_tab_xrf_maps = Signal()
22
23 def __init__(self, *, gpc, gui_vars):
24 super().__init__()
25
26 # Global processing classes
27 self.gpc = gpc
28 # Global GUI variables (used for control of GUI state)
29 self.gui_vars = gui_vars
30
31 # Reference to the main window. The main window will hold
32 # references to all non-modal windows that could be opened
33 # from multiple places in the program.
34 self.ref_main_window = self.gui_vars["ref_main_window"]
35
36 self.update_global_state.connect(self.ref_main_window.update_widget_state)
37
38 self.initialize()
39
40 def initialize(self):
41 v_spacing = global_gui_parameters["vertical_spacing_in_tabs"]

Callers

nothing calls this directly

Calls 1

initializeMethod · 0.95

Tested by

no test coverage detected