Re: tkinter, event.widget, what do i get?

2008-04-16 Thread bockman
On 16 Apr, 01:45, [EMAIL PROTECTED] wrote: On 16 Apr, 00:24, Gabriel Genellina [EMAIL PROTECTED] wrote: En Tue, 15 Apr 2008 17:45:08 -0300, [EMAIL PROTECTED] escribió: when calling function hmm here, what do i get? the widget i clicked on? if i have a canvs on wich i have a

tkinter, event.widget, what do i get?

2008-04-15 Thread skanemupp
when calling function hmm here, what do i get? the widget i clicked on? if i have a canvs on wich i have a bitmap and i click on the bitmap, is the event.widget then the bitmap? can i get info about the bitmap then? like color of the pixel i clicked. if so, how? w.bind(Key, key) w.bind(Button-1,

Re: tkinter, event.widget, what do i get?

2008-04-15 Thread Gabriel Genellina
En Tue, 15 Apr 2008 17:45:08 -0300, [EMAIL PROTECTED] escribió: when calling function hmm here, what do i get? the widget i clicked on? if i have a canvs on wich i have a bitmap and i click on the bitmap, is the event.widget then the bitmap? can i get info about the bitmap then? like color

Re: tkinter, event.widget, what do i get?

2008-04-15 Thread skanemupp
On 16 Apr, 00:24, Gabriel Genellina [EMAIL PROTECTED] wrote: En Tue, 15 Apr 2008 17:45:08 -0300, [EMAIL PROTECTED] escribió: when calling function hmm here, what do i get? the widget i clicked on? if i have a canvs on wich i have a bitmap and i click on the bitmap, is the event.widget

Re: tkinter, event.widget, what do i get?

2008-04-15 Thread Gabriel Genellina
En Tue, 15 Apr 2008 20:45:24 -0300, [EMAIL PROTECTED] escribió: On 16 Apr, 00:24, Gabriel Genellina [EMAIL PROTECTED] wrote: En Tue, 15 Apr 2008 17:45:08 -0300, [EMAIL PROTECTED] escribió: when calling function hmm here, what do i get? the widget i clicked on? if i have a canvs on wich i