Files
Phoenix/docs/sphinx/rest_substitutions/snippets/python/converted/Window.DoUpdateWindowUI.1.py
2012-04-10 03:16:37 +00:00

14 lines
446 B
Python

# do the window-specific processing after processing the update event
def DoUpdateWindowUI(self, event):
if event.GetSetEnabled():
self.Enable(event.GetEnabled())
if event.GetSetText():
if event.GetText() != self.GetTitle():
self.SetTitle(event.GetText())