Re: ComboBoxEntry question
- From: Murray Cumming <murrayc murrayc com>
- To: "Edward A. Hildum" <Edward A Hildum nasa gov>
- Cc: gtkmm-list gnome org
- Subject: Re: ComboBoxEntry question
- Date: Sun, 27 Jul 2008 13:15:38 +0200
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]