> - vtcl creates the following proc:
>
> proc vTclWindow. {base} {
> if {$base == ""} {
> set base .
> }
> ###################
> # CREATING WIDGETS
> ###################
> ###################
> # SETTING GEOMETRY
> ###################
> place $base \
> -x 0 -y 0 -anchor nw
> }
> This brings up a tcl error when the script is running:
> << can't use placer on top-level window "."; use wm command instead
> while executing
> "place $base -x 0 -y 0 -anchor nw "
> ....
> >>
>
>
> Regards, Rudolf
I've had this error a couple of times and looked at procedures for other
windows to see any differences. When 'creating widgets' code is generated
make sure that wm commands are specified giving dimensions of the window etc,
If this info wasn't specified, then Vtcl would not know the properties
of the window. e.g. specify:
wm focusmodel $base passive
wm geometry $base <dimensions>
wm title $base <name> etc.....
This info should be generated from the the settings you create in the
geometry part of the Attribute Editor for toplevel windows.
I suggest the above as this was the solution I used for similar errors,
you would need an 'expert' to verify this as I've only been using
vtcl for a short time.
Regards,
Brian Hills
Computing Science Department,
University of Aberdeen,
Scotland,
UK.
---------------------------------------------------------------------------
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).