> The UI is for list the items from many categories, then edit or remove > that item. So I put in the combo all the categories, when you select > one, the TreeViee list all the items from that category so I can > select an item and press a "Delete Button" or "Update Button". With a > normal ComboBoxEntry I have no problem, but because of the large > number of categories I use autocompletion for the combo so the user > don't have to browse a big list of categories, that's why the user > start typing, but as I said before, when I select an item from > autocompletion's popups list, the entry's combo is update, but no > changed signal is emited for the combo. I think the autocompletion's > popup list should beheave as the combo's popup list. :S
Aha. Generally when you're giving a user a closed set of choices, you would use the ComboBox, not the ComboBoxEntry. The reason there's no particular singles (AFAIK) on the EntryCompletion is that it should make no difference whether a user types an item or selects an item from the EntryCompletion -- choosing the item from the completion is essentially shorthand for typing it. You've got a reasonable reason for choosing the ComboBoxEntry in this case, however (the length of your list). In your case, I would simply connect the signal to changed and then make your handler check to see if what's in the box is in your list of possible entries. If it is, go ahead and update whatever you have to. If it's not in the list, ignore. Tom _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
