Center window (tcl/tk library)

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Center window (tcl/tk library)

Hi everyone,

The thing is that I want to center my dialog created with the tcl/tk
library, but it is being impossible for me due to the little documentation
and the low level of tcl/tk.

Basically what I'm looking for is to center the tktoplevel:

tt <- tktoplevel()

I have tried accessing the object directly but I have no references.
tcltk ::. Tcl.objv ("tk :: PlaceWindow", tt)