in reply to Tk grid in a Frame => freeze

Always go with a Scrolled Pane in Tk. If you want a grid, stack 3 frames into the Scrolled Pane, and split each frame into left/right. Make sure to set expand in the Frame packing options.

I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku

Replies are listed 'Best First'.
Re^2: Tk grid in a Frame => freeze
by Argel (Prior) on Jul 01, 2009 at 23:25 UTC
    I have a few small Perl/Tk apps that all use the grid method (partly because of specperl) and it seems to work okay. Is there a downside to grids that caused you to avoid using them?

    Elda Taluta; Sarks Sark; Ark Arks

      Use it until you find people complaining about it. :-) Just remember that "pack" is the recommended method. Gtk2 only has a "pack" method of loading windows.

      IIRC, it has todo with designing window widgets, so that they expand correctly on resizing. It probably leads to the never ending discussion.


      I'm not really a human, but I play one on earth.
      Old Perl Programmer Haiku
        Luckily these are small apps with no need to resize so it's not really a problem. But yeah, resizing is terrible.

        Elda Taluta; Sarks Sark; Ark Arks