X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7012bb9f03e0012c32485655b7af4345b490bf4d..4de4adcedcb683a82efaa2db7253dd799167144d:/wxPython/src/_cmndlgs.i?ds=sidebyside diff --git a/wxPython/src/_cmndlgs.i b/wxPython/src/_cmndlgs.i index d2cb1632ff..f488af7ecb 100644 --- a/wxPython/src/_cmndlgs.i +++ b/wxPython/src/_cmndlgs.i @@ -524,6 +524,8 @@ or the original value if the user has pressed Cancel.", ""); DocDeclStr( void , SetValue(const wxString& value), "Sets the default text value.", ""); + + %property(Value, GetValue, SetValue, doc="See `GetValue` and `SetValue`"); }; //--------------------------------------------------------------------------- @@ -648,7 +650,7 @@ dialog (Windows only). The default value is false.", ""); %property(AllowSymbols, GetAllowSymbols, SetAllowSymbols, doc="See `GetAllowSymbols` and `SetAllowSymbols`"); %property(ChosenFont, GetChosenFont, SetChosenFont, doc="See `GetChosenFont` and `SetChosenFont`"); %property(Colour, GetColour, SetColour, doc="See `GetColour` and `SetColour`"); - %property(EnableEffects, GetEnableEffects, doc="See `GetEnableEffects`"); +// %property(EnableEffects, GetEnableEffects, doc="See `GetEnableEffects`"); %property(InitialFont, GetInitialFont, SetInitialFont, doc="See `GetInitialFont` and `SetInitialFont`"); %property(ShowHelp, GetShowHelp, SetShowHelp, doc="See `GetShowHelp` and `SetShowHelp`"); @@ -825,20 +827,20 @@ boolean values, ``(continue, skip)`` where ``continue`` is ``True`` unless the Cancel button has been pressed, and ``skip`` is ``False`` unless the Skip button (if any) has been pressed. -If the ``continue`` return value is ``false``, the application can either +If the ``continue`` return value is ``False``, the application can either immediately destroy the dialog or ask the user for confirmation, and if the abort is not confirmed the dialog may be resumed with `Resume` function. ", ""); DocDeclAStr( - virtual bool , UpdatePulse(const wxString& newmsg = wxPyEmptyString, + virtual bool , Pulse(const wxString& newmsg = wxPyEmptyString, bool *OUTPUT), - "UpdatePulse(self, String newmsg) --> (continue, skip)", + "Pulse(self, String newmsg) --> (continue, skip)", "Just like `Update` but switches the dialog to use a gauge in interminante mode and calls `wx.Gauge.Pulse` to show the user a bit of progress.", ""); - + %pythoncode { UpdatePulse = Pulse } DocDeclStr( void , Resume(),