Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Tk Tool

by japhy (Canon)
on Jun 21, 2001 at 07:59 UTC ( #90282=perlquestion: print w/ replies, xml ) Need Help??
japhy has asked for the wisdom of the Perl Monks concerning the following question:

Anthony, my co-worker, was using JavaBuilder today. One cool feature was the applet-display window, which allowed him to drag and drop widgets. It properly produced the code for the widgets.

Does such a tool exist for Perl/Tk? I think a GUI for making GUIs in Perl/Tk would be very helpful... I might even try my hand at it, when and if I have time (I have a full plate).

japhy -- Perl and Regex Hacker

Comment on Tk Tool
Re: Tk Tool
by bikeNomad (Priest) on Jun 21, 2001 at 09:01 UTC
    There is SpecTcl, and the old SpecPerl which can build Tk. I played with it a bit, but was never too happy with it.

    Guido is being worked on.

    Glade (for Gtk) seems to be much more usable.

      Here's another for Gtk, seems to be under active development: PerlComposer.
      Haven't tried it myself, though.
Re: Tk Tool
by strredwolf (Chaplain) on Jun 21, 2001 at 10:47 UTC
    I ususally muck around with Tcl/Tk's wish before translating it into Perl/Tk and ploping in code. I'm wondering if folks would write up a Perl version of wish... hmmm, phish, perhapse?

    --
    $Stalag99{"URL"}="http://stalag99.keenspace.com";

      ptksh is shipped with ActiveState's version of the Tk module, I assumed it was standard.

      It gives you a command window and a Tk MainWindow so you can do things like:

      $b = $mw->Button(-text => "Hello")->pack;

      and a button appears.

      --
      Kevin O'Rourke
      
        ptksh is a standard part of Tk.

        In your preferred shell, type

        perldoc ptksh
        for more info.
Re: Tk Tool
by jeroenes (Priest) on Jun 21, 2001 at 16:50 UTC
    Although it is not Tk but Gtk (minor change, only one char), you can do GUI-ish thingies with glade in perl mode. For all you win32 heads, gtk is supposed to run on win32 systems. I recall trying it out (linux), ending up with some POE code. Never looked at it again, I'm more a CLI kind of guy.

    Cheers,

    Jeroen

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://90282]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2014-09-30 20:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (383 votes), past polls