Re: ComboBoxEntry question



On Fri, 2008-07-25 at 13:33 -0700, Edward A. Hildum wrote:
> I want a callback to run when an item in the dropdown box of a 
> ComboBoxEntry is selected or when the Entry generates signal_activate() 
> (new item or pick from a history list).  I've connected a handler to 
> ComboBoxEntry::signal_changed(), and it gets called when items are 
> selected, but it also gets called on every character typed in the 
> Entry.  Is this the intended behavior?
[snip]

Apparently, yes. I guess it could be useful sometimes.

You should call get_active() to see whether the change actually resulted
in a selection in the list.

-- 
murrayc murrayc com
www.murrayc.com
www.openismus.com



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