but I couldn't modify it's size by code
What code? I don't see any code...
Why don't you show us what you actually tried, and any error messages you may have received?
| [reply] |
Tk::MDI is very buggy - a stable version was never released and not work has been put into the module in over 6 years. Unless you absolutely need to use an MDI - I would suggest resorting to a Notebook widget.
Tk itself is rather buggy and dated. The only reason I would suggest using it is the speed in which you can write simple GUI programs. Really, I would suggest using Gtk+ for anything more than a simple throw-away application.
For more info on Gtk+ http://gtk2-perl.sourceforge.net/
If you are running on Win32 go to http://www.lostmind.de/gtk2-perl/ to get working Win32 binaries. (Gtk+ Perl is VERY difficult to compile and install yourself under windows - luckily for us, Mario Fischer has done the hard part).
Also, heed planetscape's advice. When your posting issues/ errors, it's always a good idea to include the problem code. Looking at your code is the only way anyone else is going to be able to give you any real advice. (And that's why you got this post instead of one that actually answered the question you asked)
| [reply] |
Tk::MDI is very buggy
Seems to be true. I actually am playing with Tk::MDI at the moment as a possible solution to an app I'm building, and it seems to be somewhat incomplete. I'm not very much in favour of the tab metaphor over true MDI, though, so Notebook might not be the best option.
Tk itself is rather buggy and dated.
Now wait just a goddamncottonpicking moment there. Tk is very stable, very much maintained, and is been in use in many places with usage ranging across the board, if you have a point, point it. Saying "Tk bad, Gtk good" isn't an argument. If you want, Gtk can be ripped apart as well (e.g. the recent GUADEC debate). It's a question of what you need, and what you want to invest to get it. And for its qualities, being: simple, perlish, available, and with many widgets to use, Tk is an excellent option.
| [reply] |
| [reply] |
| [reply] |