Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
There are slides from an OSCON 2007 presentation about WxPerl GUI development (offsite link).

Cross-platform GUI development is hard.

You could also look at SDL. I have seen some very nice SDL code demos at my local Perlmongers meetings. I believe the SDL code takes advantage of the OpenGL pipeline.

Making a decent-looking GUI is also a lot of work, at least when I've tried to do it. I've stopped blaming the tools! The best thing to do is to try to make a good-looking GUI on any platform, just to see what you are up against. I did this myself by coding Tetris in C++ using SDL on Linux.

Maybe there is a hackish way to create good looks. Something like this - If you knew how to draw a really nice screenshot of your program with any tool, you could carve up your screenshot into Tk::Pixmap images that you put on buttons.

But that's not what I do. I build a little web server into my perl app, use POE::Wheel::Run to launch independent processes, and build my UI out of web pages. I take it easy and let the browser do most of the art. This also has the advantage that the user can change the fonts, window size, search the text, etc. And if someone wants to localize it, they can edit my HTML::Template files.

It should work perfectly the first time! - toma

In reply to Re: Perl losing momentum ? by toma
in thread Perl losing momentum ? by spurperl

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-03-28 12:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found