[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] event getting corrupted



def _mouse_hit_widget(wid, hit_pos_x, hit_pos_y, draged_widget=None,
                    dropreciever=False):

Shouldn't there be a self as first parameter?

On Wed, Sep 16, 2009 at 17:18, Bo Jangeborg <bo@xxxxxxxxxxx> wrote:
>
>> a ha
>> Well, from where comes event ?
>
> event = pyg_event.poll()
>
> but note that a long can't have attributes and 13 lines above the
> error point I do :
>
> mouse_pos = event.pos
>
> and it works at that time
>