when i worked with tcl/tk, i always used the 'pack' command to pack objects together. i never used fixed sizes - just the expand and fill attributes of pack-ing objects. there was no flicker when drawing the windows, as far as i remember.
--guy On Tue, 20 Mar 2007, Shmuel Fomberg wrote: > Date: Tue, 20 Mar 2007 19:41:14 +0200 > From: Shmuel Fomberg <[EMAIL PROTECTED]> > Reply-To: Perl in Israel <[email protected]> > To: [email protected] > Subject: [Israel.pm] Tk: requested size of a widget? > > Hello There. > > I am trying to calculate how big a window should be, before opening it. > The problem is that any sub-widget of that window returns '1' for any > reqheight/regwidth request. > Doing 'update' makes them answer the right sizes, but now the window > is already showing, and then I resize it. > (in short, I want to avoid that flicker, and resize before the update) > > any idea? > > Shmuel. > > _______________________________________________ > Perl mailing list > [email protected] > http://perl.org.il/mailman/listinfo/perl > -- guy "For world domination - press 1, or dial 0, and please hold, for the creator." -- nob o. dy _______________________________________________ Perl mailing list [email protected] http://perl.org.il/mailman/listinfo/perl
