Jesus Zentara!, are you human? hahahaha

I suppose i made a mistake for not giving more details about what i wanted to do; sorry for that. What i wanted to know is which perl modules for graphical user interface are the best ones (or the most easy to use).
I think, you have convinced me, with the Gtk2 :) ...

I want my app (i should say part of my app) to get an Ip address using dhcp (worse case, this process takes about a minute). For mataining the user informed, i wanted to show a progress bar for avoiding the user desperation.

... $w = CreateWindow(...); # full screen window DrawBackgroundPicture($w,'file.jpg'); $p = CreateProgressBar($w, \&timer); RenderAndPrint("Waiting for a new Ip address", 'verdana'); $p -> Start(); $_ = `dhclient -e eth0 2>&1`; ($ip) = /bound to (\d+\.\d+\.\d+\.\d+)/; $p -> Stop (); unless ( $? ) { NextScreen(...); #we must introduce manual config } else { MsgBox("Configured correctly ..."); } NextScreen(...); #Next Task ... ...

I will re-read your code, and put my hands-on the Gtk2 stuff. Thanks a lot.

turo

perl -Te 'print map { chr((ord)-((10,20,2,7)[$i++])) } split //,"turo"'

In reply to Re^2: Graphical User Interface && Perl by turo
in thread Graphical User Interface && Perl by turo

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.