ScrolledText get xy index of rowheader component?
J Wolfe
vorticitywolfe at gmail.com
Tue Dec 22 00:32:31 EST 2009
Hi,
I tried to get the xycoordinate of a click of the rowheader column of
Pmw's ScrolledText...and it returns the xycoordinate of the text
portion...even though I supplied it with the rowheader component.
self.scrolledtext.component('rowheader').index("@%d,%d" %
(event.x,event.y))
What am I doing wrong?
the call to my main scrolledtext looks something like this...
self.scrolledtext.index("@%d,%d" % (event.x,event.y))
and works as intended.
Jonathan
More information about the Python-list
mailing list