Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

IDE for GUI?

by xiaoyafeng (Chaplain)
on Jan 24, 2007 at 10:04 UTC ( #596229=perlquestion: print w/ replies, xml ) Need Help??
xiaoyafeng has asked for the wisdom of the Perl Monks concerning the following question:

Hi monks,

I have written a chat tool for me and my girl friend.Easy job!(It's done,and seems work well) But I spend almost whole day to write codes about GUI including write and test.In terms of me,to write GUI code in vim is very stupid.Do gurus know any IDE tool we can drag,put widget on window easily?

Thanks in advance!!!


I am trying to improve my English skills, if you see a mistake please feel free to reply or /msg me a correction

Comment on IDE for GUI?
Re: IDE for GUI?
by marto (Bishop) on Jan 24, 2007 at 10:13 UTC
    Hi xiaoyafeng,

    In the past I have used ZooZ for quickly creating some small Tk apps. Perhaps it is what you are looking for.

    Hope this helps.

    Martin
Re: IDE for GUI?
by zentara (Archbishop) on Jan 24, 2007 at 11:24 UTC
    If you are willing to switch to Gtk2, there is Glade Although I prefer to build everything from scratch, since boiler plate code can sometimes leave you stuck without an answer.

    I'm not really a human, but I play one on earth. Cogito ergo sum a bum
      Doesn't Glade just leave you with an XML representation of the GUI layout that your code uses later on? In what way can it leave you stuck?
        stuck?

        What I mean is this:

        If you get used to relying on boiler-plate code, you lose the ability ( thru lack of needing to do it), to do some low level customization which is needed to make some complicated apps run like you want. For most simple apps, its no problem, and Glade works great. But when you run into to one of the problems I'm talking about, you will find that the Glade boiler plate code gets in the way of a simple solution, and you spend more time trying to sort out the Glade, than if you just wrote everything from scratch.

        Since it is not that hard to write the basic windows setup from scratch, why not just learn to do it that way to begin with?

        To each their own. I mentioned Glade as a good solution for what it does, but I also mentioned that it is not a full blown IDE, and since half the work of building Gtk2 apps is setting up the event callbacks,( which you still need to do manually), I find it easier to build the windows from scratch.


        I'm not really a human, but I play one on earth. Cogito ergo sum a bum
Re: IDE for GUI?
by aufflick (Deacon) on Jan 24, 2007 at 11:36 UTC
Re: IDE for GUI?
by f00li5h (Chaplain) on Jan 24, 2007 at 11:44 UTC

    The GUI loft may interst you if you use a windows box

    I had a play with it, but I wasn't trying to get code out of it, so I don't know if it works for that, but you can move widgets about etc...

    <sarcasm>You could use a XUL markup and a bundle of AJAX calls. Web2.0 is all the rage now days ... </sarcasm>

    @_=qw; ask f00li5h to appear and remain for a moment of pretend better than a lifetime;;s;;@_[map hex,split'',B204316D8C2A4516DE];;y/05/os/&print;
Re: IDE for GUI?
by wazoox (Prior) on Jan 24, 2007 at 16:59 UTC
    SpecTcl is a Tcl/Tk GUI builder that can generate Tcl, Java, Perl or HTML code. It's not as nice as ZooZ, but it works with less up-to-date Tk versions.
Re: IDE for GUI?
by g0n (Priest) on Jan 24, 2007 at 21:05 UTC
    You may find some help in this thread: Building GUIs with a GUI

    --------------------------------------------------------------

    "If there is such a phenomenon as absolute evil, it consists in treating another human being as a thing."
    John Brunner, "The Shockwave Rider".

Re: IDE for GUI?
by Anonymous Monk on Jan 25, 2007 at 03:22 UTC
    Many thanks for reply!
    It looks like many choices,huh? And which one is the best?
    I have browsed Gtk2::GladeXML,and Wx.At last, I still choose Perl/Tk because I'm family with it and others seems have kinda problems yet. Now,I download ZooZ. It's delicious!
Re: IDE for GUI?
by xiaoyafeng (Chaplain) on Jan 25, 2007 at 03:37 UTC
    Previous anonymouse monk is me! I forget login. Thanks again.



    I am trying to improve my English skills, if you see a mistake please feel free to reply or /msg me a correction
      You may (or _should_ !!) also consider the wxPerl graphical toolkit

      Combined with wxGlade or visualWx (windows only and not OSS but I have a better experience with that one) as GUI IDE.

      These are great tools plus you can export your interfaces to XML files and keep your code alsmost totally clean of any interfaces issues.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2014-12-22 05:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (110 votes), past polls