in reply to Re: Graphical User Interface && Perl
in thread Graphical User Interface && Perl

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"'

Replies are listed 'Best First'.
Re^3: Graphical User Interface && Perl
by zentara (Cardinal) on Dec 26, 2005 at 21:58 UTC
    Jesus Zentara!, are you human?

    Don't be in awe my friend,.... I'm bored, underemployed, and have alot of examples at my disposal. :-)


    I'm not really a human, but I play one on earth. flash japh