Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Comment on

( #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":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

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

    How do I use this? | Other CB clients
    Other Users?
    Others surveying the Monastery: (12)
    As of 2014-08-29 12:08 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      The best computer themed movie is:











      Results (280 votes), past polls