On Jan 1, 2010, at 2:42 AM, Glynn Clements wrote:
>> Where is the EVT_TEXT binding? I couldn't find it. > > It's in cmdPanel.__init__() ;) > > In r40168 (trunk), it's at line 1329 of menuform.py. Thanks. I'll track it down there. > >> This should be run when needed, not while typing. > > That's my opinion. However: > > 1. It requires that combo boxes support a popup event which can be > used to to populate the list. The user may type a map name then > immediately click on the button to pop-up the option list; we can't > assume that there will be an intermediate event such as the map name's > text field losing focus or the combo box's text field gaining focus. > > 2. If the list is needed even if the user doesn't pop-up the option > list (e.g. for completion), it may need to be populated when the combo > box's text field gains focus (or receives its first EVT_TEXT event). The first thing is to find out what this is supposed to be doing. Martin, can you enlighten us? Michael _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
