Phoenix demos

There is an excellent collection of wxPython/Phoenix at https://github.com/wxWidgets/Phoenix/tree/master/demo

How can one execute these examples, individually; i.e., without using the demo? I would like to extract some of these demos, modify them, and then use them without the demo wrapper.

Hi,

···

On Thursday, January 18, 2018 at 2:55:47 PM UTC-6, Birdy wrote:

There is an excellent collection of wxPython/Phoenix at
https://github.com/wxWidgets/Phoenix/tree/master/demo

How can one execute these examples, individually; i.e., without using
the demo? I would like to extract some of these demos, modify them, and
then use them without the demo wrapper.

I think I wrote something up about this, but all I can find is this thrashed thing I might have written in the wxPython wiki:

https://wiki.wxpython.org/action/recall/Using%20wxPython%20Demo%20Code?action=recall&rev=3

So I just put together a quick example for you: Converting wxPython demo code to your code · GitHub

Hopefully that helps. I’ll post this to the user group too. Let me know if you have questions.

Thanks,

Mike

I remember that being a bit of a pain with the old docs and demos because of the wrapping (and my lack
of being an expert). I also remember seeing a writeup years later, that made it make more sense. Sorry
i don't have the writeup at my fingertips.

···

On Jan 18, 2018, at 3:55 PM, Virgil Stokes <vs@it.uu.se> wrote:

There is an excellent collection of wxPython/Phoenix at Phoenix/demo at master · wxWidgets/Phoenix · GitHub

How can one execute these examples, individually; i.e., without using the demo? I would like to extract some of these demos, modify them, and then use them without the demo wrapper.

--
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.

By the way, I have a collection of (some very) old demos here:

They have not been updated for Phoenix, and indeed, many have not been updated for even “modern” wxPy3.

But I still think they are useful, I’d love folks to take a look, and send me PRs with updates!

-CHB

···

On Thu, Jan 18, 2018 at 7:56 PM, Rufus Smith rufusvsmith@gmail.com wrote:

I remember that being a bit of a pain with the old docs and demos because of the wrapping (and my lack

of being an expert). I also remember seeing a writeup years later, that made it make more sense. Sorry

i don’t have the writeup at my fingertips.

On Jan 18, 2018, at 3:55 PM, Virgil Stokes vs@it.uu.se wrote:

There is an excellent collection of wxPython/Phoenix at https://github.com/wxWidgets/Phoenix/tree/master/demo

How can one execute these examples, individually; i.e., without using the demo? I would like to extract some of these demos, modify them, and then use them without the demo wrapper.

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.

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.

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@noaa.gov

Hi, Chris,

Your message miss the link!

Best Regards

···

2018-01-19 16:43 GMT-02:00 Chris Barker chris.barker@noaa.gov:

By the way, I have a collection of (some very) old demos here:

They have not been updated for Phoenix, and indeed, many have not been updated for even “modern” wxPy3.

But I still think they are useful, I’d love folks to take a look, and send me PRs with updates!

-CHB

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.

On Thu, Jan 18, 2018 at 7:56 PM, Rufus Smith rufusvsmith@gmail.com wrote:

I remember that being a bit of a pain with the old docs and demos because of the wrapping (and my lack

of being an expert). I also remember seeing a writeup years later, that made it make more sense. Sorry

i don’t have the writeup at my fingertips.

On Jan 18, 2018, at 3:55 PM, Virgil Stokes vs@it.uu.se wrote:

There is an excellent collection of wxPython/Phoenix at https://github.com/wxWidgets/Phoenix/tree/master/demo

How can one execute these examples, individually; i.e., without using the demo? I would like to extract some of these demos, modify them, and then use them without the demo wrapper.

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.

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.

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@noaa.gov

José Ricardo Borba

Hi, Chris,
Your message miss the link!

yes, not that useful!

Here you go:

Sorry about that,

-CHB

···

On Fri, Jan 19, 2018 at 11:10 AM, José Ricardo Borba <jrborba.rs@gmail.com> wrote:

Best Regards

2018-01-19 16:43 GMT-02:00 Chris Barker <chris.barker@noaa.gov>:

By the way, I have a collection of (some very) old demos here:

They have not been updated for Phoenix, and indeed, many have not been
updated for even "modern" wxPy3.

But I still think they are useful, I'd love folks to take a look, and
send me PRs with updates!

-CHB

On Thu, Jan 18, 2018 at 7:56 PM, Rufus Smith <rufusvsmith@gmail.com> >> wrote:

I remember that being a bit of a pain with the old docs and demos
because of the wrapping (and my lack
of being an expert). I also remember seeing a writeup years later, that
made it make more sense. Sorry
i don't have the writeup at my fingertips.

> On Jan 18, 2018, at 3:55 PM, Virgil Stokes <vs@it.uu.se> wrote:
>
> There is an excellent collection of wxPython/Phoenix at
Phoenix/demo at master · wxWidgets/Phoenix · GitHub
>
> How can one execute these examples, individually; i.e., without using
the demo? I would like to extract some of these demos, modify them, and
then use them without the demo wrapper.
>
>
>
> --
> 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.

--
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.

--

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE
<Google Maps;
  (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@noaa.gov

--
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.

--
José Ricardo Borba

--
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.

--

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@noaa.gov

To anyone in this thread that is interested, I did go ahead and put together a tutorial on this subject and posted it on my blog here:

https://www.blog.pythonlibrary.org/2018/01/23/how-to-use-wxpython-demo-code-outside-the-demo/

  • Mike

Very good to people new to wxPython (like me).
Thanks a lot!

Best regards,

···

2018-01-23 16:47 GMT-02:00 Mike Driscoll kyosohma@gmail.com:

To anyone in this thread that is interested, I did go ahead and put together a tutorial on this subject and posted it on my blog here:

https://www.blog.pythonlibrary.org/2018/01/23/how-to-use-wxpython-demo-code-outside-the-demo/

  • Mike

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.

José Ricardo Borba