tkinter and focus...

Uwe Schmitt schmitt at num.uni-sb.de
Wed May 30 04:54:45 EDT 2001


Nicola S. <stain at prigioniero.it> wrote:
| 28 May 2001 11:07:31 GMT, Uwe Schmitt <schmitt at num.uni-sb.de> wrote:
| Matthew Dixon Cowles <matt at mondoinfo.com> wrote:
|>1) how can i change the order of widgets which are activated
|>   by TAB ?

| the order dipends by the order in wich the widgets are packed using a geometry
| manager (eg. pack) in the source file.

|>2) my informationwindow (as described above) appears in the
|>   left upper corner of the screen, but it should appear
|>   near the main-window.

| you can get results with the geometry method:

| offset = 50
| mywidget.geometry("+%d+%d" % (parent.winfo_rootx()+offset,
| 	parent.winfo_rooty()+offset))

thanks for your sugestion, i'll try it.

yours, uwe

-- 
Uwe.Schmitt at num.uni-sb.de      Universität des Saarlandes
phone: +49 (0)681/302-2468     Geb. 36.1, Zi. 4.17, PF 151150
                               D-66041  Saarbrücken
http://www.rocksport.de        http://www.rocksport.de/first_ride.mp3




More information about the Python-list mailing list