From: Holger B. <hol...@bl...> - 2005-01-09 00:12:17
|
Hello Pmw-general, in Fvwm 2.5.12, XFree 4.3.0.1, python 2.3.4, the program #!/usr/bin/python from Tkinter import * import Pmw root = Tk() root.geometry("+0-40") box = Pmw.ComboBox(root, scrolledlist_items = [1,2,3]) box.pack() root.mainloop() is deciding where to expand the list to by try-and-error. (Note that each of the app goes the lower left corner of the screen which is due to the root.geometry("+0-40") (place application straight to the left and forty pixels above bottom) command. * After first mouse click it is trying to expand the scroll list to the downward direction (not a good idea, the application resides in the lower left corner, ouch!): * Second, third, fourth, ... mouse click it is expanding the scroll list to the upward direction (good!): (In case that description was not clear enough there are also some screenshots at http://www.blasum.net/holger/wri/comp/var/combobox/). Strangely after the second mouse click the scroll down list has learned to pop up to the top, not to the bottom. Question: How to implement this behavior explicitly, so that the first mouse click already does it right? I don't want a two-click scrolllist, I want a one-click scrolllists ;) Curious, -- Holger Blasum +49-174-7313590 http://kwiki.ffii.org/SwpatcninoEn GnuPG 1024D/ACDFC3B769DC1ED66B47 (No) software patents news. |