X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/093d3ff1f77c9ff8c1b66ebf43464429c583b044..260c9c7df3a2968f93a4c474024c60b425fdea12:/wxPython/src/gtk/_windows.py?ds=sidebyside diff --git a/wxPython/src/gtk/_windows.py b/wxPython/src/gtk/_windows.py index 49e2497b54..bad585f88d 100644 --- a/wxPython/src/gtk/_windows.py +++ b/wxPython/src/gtk/_windows.py @@ -662,6 +662,10 @@ class Dialog(TopLevelWindow): """CreateButtonSizer(self, long flags) -> Sizer""" return _windows_.Dialog_CreateButtonSizer(*args, **kwargs) + def CreateStdDialogButtonSizer(*args, **kwargs): + """CreateStdDialogButtonSizer(self, long flags) -> StdDialogButtonSizer""" + return _windows_.Dialog_CreateStdDialogButtonSizer(*args, **kwargs) + def IsModal(*args, **kwargs): """IsModal(self) -> bool""" return _windows_.Dialog_IsModal(*args, **kwargs) @@ -1048,7 +1052,7 @@ class SplitterWindow(_core.Window): Initializes the splitter window to have one pane. This should be called if you wish to initially view only a single pane in the - splitter window. + splitter window. The child window is shown if it is currently hidden. """ return _windows_.SplitterWindow_Initialize(*args, **kwargs) @@ -1056,7 +1060,8 @@ class SplitterWindow(_core.Window): """ SplitVertically(self, Window window1, Window window2, int sashPosition=0) -> bool - Initializes the left and right panes of the splitter window. + Initializes the left and right panes of the splitter window. The + child windows are shown if they are currently hidden. """ return _windows_.SplitterWindow_SplitVertically(*args, **kwargs) @@ -1064,7 +1069,8 @@ class SplitterWindow(_core.Window): """ SplitHorizontally(self, Window window1, Window window2, int sashPosition=0) -> bool - Initializes the top and bottom panes of the splitter window. + Initializes the top and bottom panes of the splitter window. The + child windows are shown if they are currently hidden. """ return _windows_.SplitterWindow_SplitHorizontally(*args, **kwargs) @@ -1315,7 +1321,7 @@ class SplitterEvent(_core.NotifyEvent): """ SetSashPosition(self, int pos) - This funciton is only meaningful during EVT_SPLITTER_SASH_POS_CHANGING + This function is only meaningful during EVT_SPLITTER_SASH_POS_CHANGING and EVT_SPLITTER_SASH_POS_CHANGED events. In the case of _CHANGED events, sets the the new sash position. In the case of _CHANGING events, sets the new tracking bar position so visual feedback during @@ -3033,7 +3039,7 @@ class ProgressDialog(Frame): Updates the dialog, setting the progress bar to the new value and, if given changes the message above it. The value given should be less than or equal to the maximum value given to the constructor and the - dialog is closed if it is equal to the maximum. Returns true unless + dialog is closed if it is equal to the maximum. Returns True unless the Cancel button has been pressed. If false is returned, the application can either immediately destroy @@ -4067,6 +4073,7 @@ class PageSetupDialogData(_core.Object): """ __init__(self) -> PageSetupDialogData __init__(self, PageSetupDialogData data) -> PageSetupDialogData + __init__(self, PrintData data) -> PageSetupDialogData """ newobj = _windows_.new_PageSetupDialogData(*args) self.this = newobj.this @@ -4194,6 +4201,14 @@ class PageSetupDialogData(_core.Object): """SetPrintData(self, PrintData printData)""" return _windows_.PageSetupDialogData_SetPrintData(*args, **kwargs) + def CalculateIdFromPaperSize(*args, **kwargs): + """CalculateIdFromPaperSize(self)""" + return _windows_.PageSetupDialogData_CalculateIdFromPaperSize(*args, **kwargs) + + def CalculatePaperSizeFromId(*args, **kwargs): + """CalculatePaperSizeFromId(self)""" + return _windows_.PageSetupDialogData_CalculatePaperSizeFromId(*args, **kwargs) + def __nonzero__(self): return self.Ok() class PageSetupDialogDataPtr(PageSetupDialogData): @@ -4241,6 +4256,7 @@ class PrintDialogData(_core.Object): """ __init__(self) -> PrintDialogData __init__(self, PrintData printData) -> PrintDialogData + __init__(self, PrintDialogData printData) -> PrintDialogData """ newobj = _windows_.new_PrintDialogData(*args) self.this = newobj.this