X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c26d9ab4b56d8c2d2579229509ca978a877fe8a9..f1a9f3318b7698a404a65538e6ec2a2c0ac1230e:/wxPython/src/gtk/_windows.py diff --git a/wxPython/src/gtk/_windows.py b/wxPython/src/gtk/_windows.py index c730a91735..ff1aad2f6a 100644 --- a/wxPython/src/gtk/_windows.py +++ b/wxPython/src/gtk/_windows.py @@ -440,6 +440,15 @@ class TopLevelWindow(_core.Window): """MacGetMetalAppearance(self) -> bool""" return _windows_.TopLevelWindow_MacGetMetalAppearance(*args, **kwargs) + def CenterOnScreen(*args, **kwargs): + """ + CenterOnScreen(self, int dir=BOTH) + + Center the window on screen + """ + return _windows_.TopLevelWindow_CenterOnScreen(*args, **kwargs) + + CentreOnScreen = CenterOnScreen class TopLevelWindowPtr(TopLevelWindow): def __init__(self, this): @@ -649,6 +658,22 @@ class Dialog(TopLevelWindow): """GetReturnCode(self) -> int""" return _windows_.Dialog_GetReturnCode(*args, **kwargs) + def SetAffirmativeId(*args, **kwargs): + """SetAffirmativeId(self, int affirmativeId)""" + return _windows_.Dialog_SetAffirmativeId(*args, **kwargs) + + def GetAffirmativeId(*args, **kwargs): + """GetAffirmativeId(self) -> int""" + return _windows_.Dialog_GetAffirmativeId(*args, **kwargs) + + def SetEscapeId(*args, **kwargs): + """SetEscapeId(self, int escapeId)""" + return _windows_.Dialog_SetEscapeId(*args, **kwargs) + + def GetEscapeId(*args, **kwargs): + """GetEscapeId(self) -> int""" + return _windows_.Dialog_GetEscapeId(*args, **kwargs) + def CreateTextSizer(*args, **kwargs): """CreateTextSizer(self, String message) -> Sizer""" return _windows_.Dialog_CreateTextSizer(*args, **kwargs)