X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e1dfb8942c23439b4e785c28845205132d3af6fa..32fe513144d26e45237c3bbd7183c95c852d026a:/wxPython/src/gtk/_windows.py?ds=sidebyside diff --git a/wxPython/src/gtk/_windows.py b/wxPython/src/gtk/_windows.py index 23c3cc6b07..670e93ce21 100644 --- a/wxPython/src/gtk/_windows.py +++ b/wxPython/src/gtk/_windows.py @@ -1,4 +1,4 @@ -# This file was created automatically by SWIG. +# This file was created automatically by SWIG 1.3.27. # Don't modify this file, modify the SWIG interface instead. import _windows_ @@ -620,6 +620,7 @@ class Dialog(TopLevelWindow): """Proxy of C++ Dialog class""" def __repr__(self): return "<%s.%s; proxy of C++ wxDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + ButtonSizerFlags = _windows_.Dialog_ButtonSizerFlags def __init__(self, *args, **kwargs): """ __init__(self, Window parent, int id=-1, String title=EmptyString, @@ -653,7 +654,7 @@ class Dialog(TopLevelWindow): return _windows_.Dialog_CreateTextSizer(*args, **kwargs) def CreateButtonSizer(*args, **kwargs): - """CreateButtonSizer(self, long flags) -> Sizer""" + """CreateButtonSizer(self, long flags, bool separated=False, int distance=0) -> Sizer""" return _windows_.Dialog_CreateButtonSizer(*args, **kwargs) def CreateStdDialogButtonSizer(*args, **kwargs): @@ -2393,6 +2394,13 @@ class ColourDialogPtr(ColourDialog): self.__class__ = ColourDialog _windows_.ColourDialog_swigregister(ColourDialogPtr) + +def GetColourFromUser(*args, **kwargs): + """ + GetColourFromUser(Window parent=(wxWindow *) NULL, Colour colInit=wxNullColour, + String caption=EmptyString) -> Colour + """ + return _windows_.GetColourFromUser(*args, **kwargs) class DirDialog(Dialog): """ wx.DirDialog allows the user to select a directory by browising the @@ -2996,6 +3004,10 @@ class FontDialogPtr(FontDialog): self.__class__ = FontDialog _windows_.FontDialog_swigregister(FontDialogPtr) + +def GetFontFromUser(*args, **kwargs): + """GetFontFromUser(Window parent=None, Font fontInit=wxNullFont, String caption=EmptyString) -> Font""" + return _windows_.GetFontFromUser(*args, **kwargs) class MessageDialog(Dialog): """ This class provides a simple dialog that shows a single or multi-line @@ -4702,6 +4714,7 @@ class PrintPreview(_core.Object): def __init__(self, *args): """ __init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PrintPreview + __init__(self, Printout printout, Printout printoutForPrinting) -> PrintPreview __init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -> PrintPreview """ newobj = _windows_.new_PrintPreview(*args) @@ -4812,6 +4825,7 @@ class PyPrintPreview(PrintPreview): def __init__(self, *args): """ __init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PyPrintPreview + __init__(self, Printout printout, Printout printoutForPrinting) -> PyPrintPreview __init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -> PyPrintPreview """ newobj = _windows_.new_PyPrintPreview(*args) @@ -4949,3 +4963,4 @@ class PyPreviewControlBarPtr(PyPreviewControlBar): _windows_.PyPreviewControlBar_swigregister(PyPreviewControlBarPtr) +