Purely for fun I'm converting a Java application into Python. I've had no problem with the "plain" Java to Python part, but I've no idea about how to convert the GUI elements. My searching hasn't turned up anything obvious. Has anybody got any experience of such work, if so I'd be delighted to hear about it. If not can I safely assume that the alternative is to obtain copious supplies of coffee and sandwiches, wear sweatbands, roll up sleeves and just get on with it?
···
--
My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language.
Purely for fun I'm converting a Java application into Python. I've had no
problem with the "plain" Java to Python part, but I've no idea about how to
convert the GUI elements. My searching hasn't turned up anything obvious.
Has anybody got any experience of such work, if so I'd be delighted to hear
about it. If not can I safely assume that the alternative is to obtain
copious supplies of coffee and sandwiches, wear sweatbands, roll up sleeves
and just get on with it?
Which part you are struggling with?
Controls? Positioning? Something else?
Thank you.
···
On Fri, Dec 20, 2013 at 9:27 PM, Mark Lawrence <breamoreboy@yahoo.co.uk> wrote:
--
My fellow Pythonistas, ask not what our language can do for you, ask what
you can do for our language.
Mark Lawrence
--
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/groups/opt_out.
I can hazard a reasonable guess as to what they represent or even spend time looking them up online, but I've obviously got to translate these into their wxPython equivalents at some point. I was hoping that someone here may have already done work along these lines, something that I could build on, which would be terrific. If not, I'm left with a lot of graft as I suggested in my final sentence above.
···
On 21/12/2013 06:01, Igor Korot wrote:
Hi, Mark,
On Fri, Dec 20, 2013 at 9:27 PM, Mark Lawrence <breamoreboy@yahoo.co.uk> wrote:
Purely for fun I'm converting a Java application into Python. I've had no
problem with the "plain" Java to Python part, but I've no idea about how to
convert the GUI elements. My searching hasn't turned up anything obvious.
Has anybody got any experience of such work, if so I'd be delighted to hear
about it. If not can I safely assume that the alternative is to obtain
copious supplies of coffee and sandwiches, wear sweatbands, roll up sleeves
and just get on with it?
Which part you are struggling with?
Controls? Positioning? Something else?
--
My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language.
Purely for fun I’m converting a Java application into Python. I’ve had no
problem with the “plain” Java to Python part, but I’ve no idea about how to
convert the GUI elements. My searching hasn’t turned up anything obvious.
Has anybody got any experience of such work, if so I’d be delighted to hear
about it. If not can I safely assume that the alternative is to obtain
copious supplies of coffee and sandwiches, wear sweatbands, roll up sleeves
and just get on with it?
Which part you are struggling with?
Controls? Positioning? Something else?
Getting going Consider the following imports from the first part of the original GUI.
import javax.swing.JLabel;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import java.awt.FlowLayout;
import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;
I can hazard a reasonable guess as to what they represent or even spend time looking them up online, but I’ve obviously got to translate these into their wxPython equivalents at some point. I was hoping that someone here may have already done work along these lines, something that I could build on, which would be terrific. If not, I’m left with a lot of graft as I suggested in my final sentence above.
–
My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language.
Mark Lawrence
–
You received this message because you are subscribed to the Google Groups “wxPython-users” group.
If that is some kind of oddly named image display widget, then you’ll probably want wx.StaticBitmap. I wrote a tutorial on how to create an image viewer that might help you:
FTR I'll say that I've decided to learn to crawl prior to running a marathon. I've already grabbed several different packages from the wxPython wiki, I'll also get the demo. As I want to go direct to Phoenix I expected a right battle. Instead I've been very pleasantly surprised by just how easy it is. This suggests a great job by Robin Dunn, well done and giga thanks
···
On 02/01/2014 21:58, Mike Driscoll wrote:
Hi Mark,
Getting going Consider the following imports from the first part of
the original GUI.
If that is some kind of oddly named image display widget, then you'll
probably want wx.StaticBitmap. I wrote a tutorial on how to create an
image viewer that might help you: