I'm currently moving into the world of GUI's. I'm taking a script which, previously, derived its behavior from command-line switches.

What I'd like to do, now, is create a wizard of sorts. The first pane would determine the content of the second pane.

For example, let's say my first pane has two options:
1) Create user
2) Create multiple users

Clicking the "next" button would then lead to a new pane, the contents of which would depend on which choice they made. Either:
1) text inputs for each user field (id, name, pwd) _or_
2) a file selection dialog, to import a csv file of users.

Does anybody have some example code for this type of "wizard" behavior? I'm just not sure how to start creating the "paths."

Or, if you have any advanced programs that use wxPerl, I'd love to see them. I've got a stack of utilities that I need to make a bit more "user-friendly." Thanks!

In reply to advanced wxPerl example, please. by ngomong

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!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • 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, details, 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, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            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.