Re: Signals firing too often



On Fri, May 21, 2004 at 10:58:11 +1000, Daniel Kasak wrote:
Is there a signal I can use to catch when someone selects a row in a 
SimpleList that:
a) Won't get triggered if the SimpleList data is rebuild
b) Won't trigger multiple times?

Inside the TreeView widget is a Selection object that has a "changed"
signal. It is the best signal to use, but still it's sometimes miscalled
-- when the user clicks on an already selected line. So you have to look
at the selection anyway.

-------------------------------------------------------------------------------
                                                 Jan 'Bulb' Hudec <bulb ucw cz>

Attachment: signature.asc
Description: Digital signature



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