MCPcopy Index your code
hub / github.com/PySimpleGUI/PySimpleGUI / metric_row

Function metric_row

DemoPrograms/Demo_Desktop_Widget_Weather.py:187–190  ·  view source on GitHub ↗

Return a pair of labels for each metric

(metric)

Source from the content-addressed store, hash-verified

185
186
187def metric_row(metric):
188 """ Return a pair of labels for each metric """
189 return [sg.Text(metric, font=('Arial', 10), pad=(15, 0), size=(9, 1)),
190 sg.Text(APP_DATA[metric], font=('Arial', 10, 'bold'), pad=(0, 0), size=(9, 1), key=metric)]
191
192
193def create_window(win_location, settings):

Callers 1

create_windowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected