RE: [pygame] PyGame user interface widgets

2017-02-26 Thread Yann Thorimbert
Hello Irv, I wrote (and now maintain) a library called ThorPy (www.thorpy.org) that could fulfill your requirements. On the website, I focused on the examples and turoials, so I hope it would be easier for a new person to use the library quickly. However, I have to admit that the library does

Re: [pygame] Playing with Flatpak packaging

2017-02-26 Thread René Dudfield
Interesting! Looking forward to checking it out. On Sun, Feb 26, 2017 at 8:47 PM, Thomas Kluyver wrote: > I spent a while today playing with Flatpak, a new system for packaging > sandboxed applications on Linux. The result is an example that can build > and install Pygame's

RE: [pygame] PyGame user interface widgets

2017-02-26 Thread Daniel Foerster
Nice set of widgets, however I think there are some things that could be changed to increase its appeal, based on the example overview anyways. * The application is only referenced when it's created and destroyed. This magic is puzzling to me. * The application class uses the standard __init__

Re: [pygame] Playing with Flatpak packaging

2017-02-26 Thread Charles
What does it have over Docker? On Sun, Feb 26, 2017 at 12:59 PM, René Dudfield wrote: > Interesting! Looking forward to checking it out. > > On Sun, Feb 26, 2017 at 8:47 PM, Thomas Kluyver wrote: > >> I spent a while today playing with Flatpak, a new system

RE: [pygame] PyGame user interface widgets

2017-02-26 Thread Yann Thorimbert
"is there a way to hook into a custom event loop?" ==> Yes, here is an example where one uses a pre-existing pygame code with an event loop, and then add some widgets while keeping the loop exactly the same, except for one line added for handling events related to the new thorpy widgets :

Re: [pygame] PyGame user interface widgets

2017-02-26 Thread René Dudfield
Hehe. Was just going to send a link to ThorPy :) On Sun, Feb 26, 2017 at 6:32 PM, Yann Thorimbert wrote: > Hello Irv, > > I wrote (and now maintain) a library called ThorPy (www.thorpy.org) that > could fulfill your requirements. > On the website, I focused on the

Re: [pygame] Playing with Flatpak packaging

2017-02-26 Thread Thomas Kluyver
On 26 February 2017 at 20:14, Charles wrote: > What does it have over Docker? Short answer: Docker is aimed at server applications, Flatpak at desktop applications. Longer answer: I'm not sure I know enough about the technologies involved to really do them justice. But the

Re: [pygame] PyGame user interface widgets

2017-02-26 Thread DiliupG
http://www.cosc.canterbury.ac.nz/greg.ewing/python_gui/ above is good too. Unix, Mac, Win On 27 February 2017 at 03:35, Yann Thorimbert wrote: > "is there a way to hook into a custom event loop?" > > ==> Yes, here is an example where one uses a pre-existing pygame

[pygame] Playing with Flatpak packaging

2017-02-26 Thread Thomas Kluyver
I spent a while today playing with Flatpak, a new system for packaging sandboxed applications on Linux. The result is an example that can build and install Pygame's Aliens example game: https://github.com/takluyver/pygame-flatpak-test If you're running Fedora 24+, Ubuntu 16.10 (might need a

Re: [pygame] Playing with Flatpak packaging

2017-02-26 Thread Charles
On Sun, Feb 26, 2017 at 2:37 PM, Thomas Kluyver wrote: > On 26 February 2017 at 20:14, Charles wrote: > >> What does it have over Docker? > > > Short answer: Docker is aimed at server applications, Flatpak at desktop > applications. > That's a good point