Documentation bug or implementation bug?

Hi, ALL,
Looking at the source of wxPython 3.0.0 (classic) I see that wx.Wizard
has method ShowPage().
However, looking at
http://wxpython.org/Phoenix/docs/html/adv.Wizard.html, I don't see
this function
mentioned.

Was it removed in Phoenix or it is a documentation issue?

Thank you.

Basically I'm looking for a way to skip a page in the wizard on a condition.
Unfortunately even call ShowPage() with the next page in chain does
not work. I still end up
with the page I want to skip.

Any idea?

Thank you.

···

On Tue, Jun 3, 2014 at 4:38 PM, Igor Korot <ikorot01@gmail.com> wrote:

Hi, ALL,
Looking at the source of wxPython 3.0.0 (classic) I see that wx.Wizard
has method ShowPage().
However, looking at
http://wxpython.org/Phoenix/docs/html/adv.Wizard.html, I don't see
this function
mentioned.

Was it removed in Phoenix or it is a documentation issue?

Thank you.

Hi Igor,

Basically I'm looking for a way to skip a page in the wizard on a condition.
Unfortunately even call ShowPage() with the next page in chain does
not work. I still end up
with the page I want to skip.

Any idea?

Have a look at the Dynamic Wizard Demo, it skips page 3 if a check box is checked.

Not sure about the ShowPage method, Robin will have to look into this. Maybe do a new post to the wxpython-dev list about this, so it does not get overlooked.

Werner

···

On 6/4/2014 2:44, Igor Korot wrote:

Thank you.

On Tue, Jun 3, 2014 at 4:38 PM, Igor Korot <ikorot01@gmail.com> wrote:

Hi, ALL,
Looking at the source of wxPython 3.0.0 (classic) I see that wx.Wizard
has method ShowPage().
However, looking at
http://wxpython.org/Phoenix/docs/html/adv.Wizard.html, I don't see
this function
mentioned.

Was it removed in Phoenix or it is a documentation issue?

Thank you.

--

Niderenweg 6
CH-9043 Trogen

Tel: +41 71 340 06 30
Mob: +41 76 374 81 07

Werner,

Hi Igor,

Basically I'm looking for a way to skip a page in the wizard on a
condition.
Unfortunately even call ShowPage() with the next page in chain does
not work. I still end up
with the page I want to skip.

Any idea?

Have a look at the Dynamic Wizard Demo, it skips page 3 if a check box is
checked.

Will do.

Not sure about the ShowPage method, Robin will have to look into this. Maybe
do a new post to the wxpython-dev list about this, so it does not get
overlooked.

Can you forward this?
I'm not subscribed to that list and I don't want to many list
subscription in my Inbox... :wink:
I guess he is not coming to this list too often. :wink:

Thank you.

···

On Tue, Jun 3, 2014 at 11:23 PM, Werner <wernerfbd@gmx.ch> wrote:

On 6/4/2014 2:44, Igor Korot wrote:

Werner

Thank you.

On Tue, Jun 3, 2014 at 4:38 PM, Igor Korot <ikorot01@gmail.com> wrote:

Hi, ALL,
Looking at the source of wxPython 3.0.0 (classic) I see that wx.Wizard
has method ShowPage().
However, looking at
http://wxpython.org/Phoenix/docs/html/adv.Wizard.html, I don't see
this function
mentioned.

Was it removed in Phoenix or it is a documentation issue?

Thank you.

--

Niderenweg 6
CH-9043 Trogen

Tel: +41 71 340 06 30
Mob: +41 76 374 81 07

--
You received this message because you are subscribed to the Google Groups
"wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to wxpython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Forward this to dev just re ShowPage not in doc.

···

On 6/4/2014 9:01, Igor Korot wrote:

Werner,

On Tue, Jun 3, 2014 at 11:23 PM, Werner <wernerfbd@gmx.ch> wrote:

Hi Igor,

On 6/4/2014 2:44, Igor Korot wrote:

Basically I'm looking for a way to skip a page in the wizard on a
condition.
Unfortunately even call ShowPage() with the next page in chain does
not work. I still end up
with the page I want to skip.

Any idea?

Have a look at the Dynamic Wizard Demo, it skips page 3 if a check box is
checked.

Will do.

Not sure about the ShowPage method, Robin will have to look into this. Maybe
do a new post to the wxpython-dev list about this, so it does not get
overlooked.

Can you forward this?
I'm not subscribed to that list and I don't want to many list
subscription in my Inbox... :wink:
I guess he is not coming to this list too often. :wink:

Thank you.

Werner

Thank you.

On Tue, Jun 3, 2014 at 4:38 PM, Igor Korot <ikorot01@gmail.com> wrote:

Hi, ALL,
Looking at the source of wxPython 3.0.0 (classic) I see that wx.Wizard
has method ShowPage().
However, looking at
http://wxpython.org/Phoenix/docs/html/adv.Wizard.html, I don't see
this function
mentioned.

Was it removed in Phoenix or it is a documentation issue?

Thank you.

wxPython_Phoenix-3.0.3.dev1820+49a8884

I’m missing wx.adv.Wizard.ShowPage(). To me it looks like ShowPage is missing in the wxwidgets include files, so it is a wxwidget bug?

Torsten P. wrote:

wxPython_Phoenix-3.0.3.dev1820+49a8884

I'm missing wx.adv.Wizard.ShowPage(). To me it looks like ShowPage is
missing in the wxwidgets include files, so it is a wxwidget bug?

Basically, other than a relatively few special cases, if something is not documented in the wxWidgets docs then it will not exist in Phoenix. This is because the files in interface/wx/*.h are used as the source info (via Doxygen XML) that Phoenix uses for generating the Python wrapper code.

So the real question in this case is was there a good reason why ShowPage was not documented? Was it just overlooked or was it intended to be an internal-use only method? Since wxPython Classic was created in a large part by copy/pasting code from the C++ headers there were many cases of things not intended to be generally used that made it in to the wxPython API.

I'll take a closer look at it later when I have some time.

···

--
Robin Dunn
Software Craftsman