> Ouch!  You definitely want to rethink that at some point, but I
understand that UI redesign for "working" applications isn't easy.

Well, I'm trying to convert a working script from Tk to Tkx, so I'm
already sort of redesigning it.

> Yes, that indicates you are using an 8.4-based Tk.
> We now ship with an 8.5-based Tk, where the 'tile' extension was added
to the core.
> This added the native themed widgets, as well as combobox, notebook,
sizegrip and a few other new widgets.

I have new_ttk__combobox in my script, so does that mean I have more
than 8.4?  How do I get the version?  Perl -v or Perl -V doesn't show
the Tk version.

Something I just discovered that might help others.  After going thru
the great tutorial at www.tkdocs.com/tutorial, I've been using g_grid()
instead of g_pack().  But, when I did this for my script, the scroll
bars didn't resize past the size that the window started at.  In other
words, if I stretched the window, the scroll bars were left behind.
After comparing your script with what I have in mine, I realized that
you use g_pack when creating the new_ScrolledWindow ($sw in your
example).  If I change your script example to have $sw->g_grid(-column
=> 0, -row => 0, -sticky => "nsew") instead of $sw->g_pack(....), it
doesn't work correctly.  Is there a way to use g_grid throughout?

David

Reply via email to