Re: TkInter bind() event is not firing event trigger

2010-06-22 Thread rantingrick
On Jun 22, 7:39 pm, MRAB wrote: > http://www.pythonware.com/library/tkinter/introduction/events-and-bin... > > it's ''. Yes and i vehemently hate these names! Just hideous if you ask me. @ Anthony Also be sure to use an "event name" for an event function/method and use the docstring to describe

Re: TkInter bind() event is not firing event trigger

2010-06-22 Thread rantingrick
On Jun 22, 7:21 pm, Anthony Papillion wrote: > I've also removed the (event) parameter just in case and tried it and > it makes no difference. What am I doing wrong here? Well don't remove the event parameter because Tkinter will pass it every time since this is an EVENT! Here is some code to pl

Re: TkInter bind() event is not firing event trigger

2010-06-22 Thread MRAB
Anthony Papillion wrote: So I want to execute some code when the user double clicks an item in a ListBox. The documentation says I should use the listbox.bind() method, specifying the Double-l event to detect the double left mouse button click. My code is this: gsItems = Listbox(root, width=76,

TkInter bind() event is not firing event trigger

2010-06-22 Thread Anthony Papillion
So I want to execute some code when the user double clicks an item in a ListBox. The documentation says I should use the listbox.bind() method, specifying the Double-l event to detect the double left mouse button click. My code is this: gsItems = Listbox(root, width=76, height=30, selectmode="brow