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

Method get

PySimpleGUI/PySimpleGUI.py:4244–4255  ·  view source on GitHub ↗

Gets the current value of the displayed text :return: The current value :rtype: (str)

(self)

Source from the content-addressed store, hash-verified

4242 self._visible = visible
4243
4244 def get(self):
4245 """
4246 Gets the current value of the displayed text
4247
4248 :return: The current value
4249 :rtype: (str)
4250 """
4251 try:
4252 text = self.TKStringVar.get()
4253 except:
4254 text = ''
4255 return text
4256
4257 @classmethod
4258 def fonts_installed_list(cls):

Callers 1

_print_to_elementMethod · 0.95

Calls 1

getMethod · 0.45

Tested by

no test coverage detected