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

Method _has_custom_titlebar_element

PySimpleGUI/PySimpleGUI.py:12632–12638  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

12630 return True
12631
12632 def _has_custom_titlebar_element(self):
12633 for elem in self.AllKeysDict.values():
12634 if elem.Key in (TITLEBAR_MAXIMIZE_KEY, TITLEBAR_CLOSE_KEY, TITLEBAR_IMAGE_KEY):
12635 return True
12636 if elem.metadata == TITLEBAR_METADATA_MARKER:
12637 return True
12638 return False
12639
12640 AddRow = add_row
12641 AddRows = add_rows

Callers 1

layoutMethod · 0.95

Calls 1

valuesMethod · 0.80

Tested by

no test coverage detected