maybe the [update] command could help. After you created the window and packed
it do an "update idletasks" before you run the main code.
Hope this helps.

Andreas

>I hope you guys can help me.  Thanx !
>
>Below is an email I mailed to Stewart and his reply:
>
>
>> you can tie an event to the window expose event which will be run
>after the
> >main window is shown. I do not have the exact details at my
>fingertips, but
> >this is an excellent question for the mailing list.
>
>> stewart
>
>
>On Wed, 22 Mar 2000, Travis Boucher wrote:
>
>> Hi, I am sorry for bothering you....
>>
>> I have been using alot of VTCL.  I do not know TCL/TK very well and I
>> have one question....
>>
>> I want to be able to build a window, display it, then run a routine
>(eg.
>> main ).
>>
>> My problem is that it ends up running main, doing the whole main
>> routine, THEN displays the window.
>>
>> I hope you can solve my problem, I am sure it is a simple fix.
>>
>> Thank You VERY much,
>> Travis Boucher
>>
>
>---------------------------------------------------------------------------
>To unsubscribe from the Visual Tcl mailing list, please send a message
>to [EMAIL PROTECTED] with "unsubscribe vtcl [EMAIL PROTECTED]" in the
>message body (where [EMAIL PROTECTED] is your e-mail address).

---------------------------------------------------------------------------
To unsubscribe from the Visual Tcl mailing list, please send a message
to [EMAIL PROTECTED] with "unsubscribe vtcl [EMAIL PROTECTED]" in the
message body (where [EMAIL PROTECTED] is your e-mail address).

Reply via email to