[Phoenix] Correction to AUI example

http://wxpython.org/Phoenix/docs/html/lib.agw.aui.html

The example code does not work

        # add the panes to the manager
        self._mgr.AddPane(text1, AuiPaneInfo().Left().Caption("Pane Number One"))
        self._mgr.AddPane(text2, AuiPaneInfo().Bottom().Caption("Pane Number Two"))
        self._mgr.AddPane(text3, AuiPaneInfo().CenterPane())

``

Should be

        # add the panes to the manager
        self._mgr.AddPane(text1, aui.AuiPaneInfo().Left().Caption("Pane Number One"))
        self._mgr.AddPane(text2, aui.AuiPaneInfo().Bottom().Caption("Pane Number Two"))
        self._mgr.AddPane(text3, aui.AuiPaneInfo().CenterPane())

``

Also, any documentation on how I can help with these quick fixes to documentation? I am used to Git and GitHubs Pull Requests which make it extremely easy to say “hey, here’s a fix!”. Not too familiar with SVN or how the development process works. Let me know!

§ Ryan

Hi Ryan,

···

On Wednesday, September 10, 2014 11:30:40 AM UTC-5, Ryan Holmes wrote:

http://wxpython.org/Phoenix/docs/html/lib.agw.aui.html

The example code does not work

        # add the panes to the manager
        self._mgr.AddPane(text1, AuiPaneInfo().Left().Caption("Pane Number One"))
        self._mgr.AddPane(text2, AuiPaneInfo().Bottom().Caption("Pane Number Two"))
        self._mgr.AddPane(text3, AuiPaneInfo().CenterPane())

``

Should be

        # add the panes to the manager
        self._mgr.AddPane(text1, aui.AuiPaneInfo().Left().Caption("Pane Number One"))
        self._mgr.AddPane(text2, aui.AuiPaneInfo().Bottom().Caption("Pane Number Two"))
        self._mgr.AddPane(text3, aui.AuiPaneInfo().CenterPane())

``

Also, any documentation on how I can help with these quick fixes to documentation? I am used to Git and GitHubs Pull Requests which make it extremely easy to say “hey, here’s a fix!”. Not too familiar with SVN or how the development process works. Let me know!

§ Ryan

It is my understanding that you can use the github mirror of Phoenix to make PR’s: GitHub - RobinD42/Phoenix: wxPython's Project Phoenix. A new implementation of wxPython, better, stronger, faster than he was before.

I would fork it and give it a try.

  • Mike

Hi,

···

On 10 September 2014 18:30, Ryan Holmes ryan.xgamer99@gmail.com wrote:

http://wxpython.org/Phoenix/docs/html/lib.agw.aui.html

The example code does not work

        # add the panes to the manager
        self._mgr.AddPane(text1, AuiPaneInfo().Left().Caption("Pane Number One"))
        self._mgr.AddPane(text2, AuiPaneInfo().Bottom().Caption("Pane Number Two"))
        self._mgr.AddPane(text3, AuiPaneInfo().CenterPane())

``

Should be

        # add the panes to the manager
        self._mgr.AddPane(text1, aui.AuiPaneInfo().Left().Caption("Pane Number One"))
        self._mgr.AddPane(text2, aui.AuiPaneInfo().Bottom().Caption("Pane Number Two"))
        self._mgr.AddPane(text3, aui.AuiPaneInfo().CenterPane())

``

Also, any documentation on how I can help with these quick fixes to documentation? I am used to Git and GitHubs Pull Requests which make it extremely easy to say “hey, here’s a fix!”. Not too familiar with SVN or how the development process works. Let me know!

Andrea.

“Imagination Is The Only Weapon In The War Against Reality.”
http://www.infinity77.net

-------------------------------------------------------------

def ask_mailing_list_support(email):

if mention_platform_and_version() and include_sample_app():
    send_message(email)
else:
    install_malware()
    erase_hard_drives()

-------------------------------------------------------------

Thank you, I’ll fix it in SVN tonight when I get back home. That’s an easy fix, but for more complicated ones I believe Mike’s solution is the best one - unless you can create an easy patch using SVN.

Wonderful. I was under the impression that the GitHub repo was read-only and not really monitored. It should prove to be a quick way to contribute.

There’s a lot of demos related to AUI that do not work due to incorrect import paths. I’ll start working with those. Thanks!

§ Ryan

···

On Thursday, September 11, 2014 2:15:50 AM UTC-4, Infinity77 wrote:

Hi,

On 10 September 2014 18:30, Ryan Holmes ryan.x...@gmail.com wrote:

http://wxpython.org/Phoenix/docs/html/lib.agw.aui.html

The example code does not work

        # add the panes to the manager
        self._mgr.AddPane(text1, AuiPaneInfo().Left().Caption("Pane Number One"))
        self._mgr.AddPane(text2, AuiPaneInfo().Bottom().Caption("Pane Number Two"))
        self._mgr.AddPane(text3, AuiPaneInfo().CenterPane())

``

Should be

        # add the panes to the manager
        self._mgr.AddPane(text1, aui.AuiPaneInfo().Left().Caption("Pane Number One"))
        self._mgr.AddPane(text2, aui.AuiPaneInfo().Bottom().Caption("Pane Number Two"))
        self._mgr.AddPane(text3, aui.AuiPaneInfo().CenterPane())

``

Also, any documentation on how I can help with these quick fixes to documentation? I am used to Git and GitHubs Pull Requests which make it extremely easy to say “hey, here’s a fix!”. Not too familiar with SVN or how the development process works. Let me know!

Thank you, I’ll fix it in SVN tonight when I get back home. That’s an easy fix, but for more complicated ones I believe Mike’s solution is the best one - unless you can create an easy patch using SVN.

Andrea.

“Imagination Is The Only Weapon In The War Against Reality.”
http://www.infinity77.net

-------------------------------------------------------------

def ask_mailing_list_support(email):

if mention_platform_and_version() and include_sample_app():
    send_message(email)
else:
    install_malware()
    erase_hard_drives()

-------------------------------------------------------------

Also, is it GitHub - wxWidgets/Phoenix: wxPython's Project Phoenix. A new implementation of wxPython, better, stronger, faster than he was before. or GitHub - RobinD42/Phoenix: wxPython's Project Phoenix. A new implementation of wxPython, better, stronger, faster than he was before. that I should be working off?

···

On Wednesday, September 10, 2014 12:30:40 PM UTC-4, Ryan Holmes wrote:

http://wxpython.org/Phoenix/docs/html/lib.agw.aui.html

The example code does not work

        # add the panes to the manager
        self._mgr.AddPane(text1, AuiPaneInfo().Left().Caption("Pane Number One"))
        self._mgr.AddPane(text2, AuiPaneInfo().Bottom().Caption("Pane Number Two"))
        self._mgr.AddPane(text3, AuiPaneInfo().CenterPane())

``

Should be

        # add the panes to the manager
        self._mgr.AddPane(text1, aui.AuiPaneInfo().Left().Caption("Pane Number One"))
        self._mgr.AddPane(text2, aui.AuiPaneInfo().Bottom().Caption("Pane Number Two"))
        self._mgr.AddPane(text3, aui.AuiPaneInfo().CenterPane())

``

Also, any documentation on how I can help with these quick fixes to documentation? I am used to Git and GitHubs Pull Requests which make it extremely easy to say “hey, here’s a fix!”. Not too familiar with SVN or how the development process works. Let me know!

§ Ryan

Hi Ryan,

···

On 9/12/2014 0:27, Ryan Holmes wrote:

Also, is it GitHub - wxWidgets/Phoenix: wxPython's Project Phoenix. A new implementation of wxPython, better, stronger, faster than he was before. or GitHub - RobinD42/Phoenix: wxPython's Project Phoenix. A new implementation of wxPython, better, stronger, faster than he was before. that I should be working off?

From RobinD42

Werner