Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Tk::MDI-changing the size of the child window

by boblawblah (Scribe)
on Aug 20, 2008 at 18:02 UTC ( [id://705572]=note: print w/replies, xml ) Need Help??


in reply to Tk::MDI-changing the size of the child window

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)

  • Comment on Re: Tk::MDI-changing the size of the child window

Replies are listed 'Best First'.
Re^2: Tk::MDI-changing the size of the child window
by Erez (Priest) on Aug 20, 2008 at 19:24 UTC

    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.

    Stop saying 'script'. Stop saying 'line-noise'.
    We have nothing to lose but our metaphors.

      And for its qualities, being: simple, perlish, available, and with many widgets to use, Tk is an excellent option.

      Just because something is beloved, entrenched and useful, doesn't stop it from being dated and buggy.

      my MDI for Tk was successful because I used it through Tcl/Tk
      It is another approach, incompatible with Tk::MDI, but better working.
      (can show screenshots, if interesting...)

      Tcl/Tk is *much* better maintained than perl/Tk, and has sooo much larger widget set...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://705572]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2024-04-26 07:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found