Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Tk Tool

by japhy (Canon)
on Jun 21, 2001 at 07:59 UTC ( [id://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

Replies are listed 'Best First'.
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
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others studying the Monastery: (6)
As of 2024-04-18 02:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found