|go ahead... be a heretic|
Re: Visual Perl/Tk???by zentara (Archbishop)
|on Jul 28, 2014 at 19:08 UTC||Need Help??|
I started writing native Perl/Tk, but am becoming a tad overwhelmed, especially with the Geometry managers
Everyone wants that point and click program for writing GUI's.
For Tk, I think you are out of luck. Gtk2 and Gtk3 have Glade, which is about as close as you will get to your dream of a Visual C/C++ styled IDE.
But we are here to help you learn, I suggest you post your geometry requirements, and see if some monks can offer you some pointers. I find that using Tk::pack() is very easy once you learn the trick of nesting frames and panes.
Going to a Glade type IDE, with it's boilerplate code, and crazy numerical variable names and callbacks, is also difficult.
So post what you want to do, and see if there is a simple way to pack() it all together. You should read Tk Geometry Managers first.
The general recomendation is to use pack(), almost always. Grid is alluring, for it's straightforward grid concept, but pack() works better. So when reading the above link, concentrate on pack(), forget the rest.