Re: Problem with Gtk2::ComboBoxEntry
- From: muppet <scott asofyet org>
- To: Daniel Kasak <dkasak nusconsulting com au>
- Cc: Gtk-Perl-List <gtk-perl-list gnome org>
- Subject: Re: Problem with Gtk2::ComboBoxEntry
- Date: Wed, 20 Oct 2004 22:16:03 -0400
On Oct 20, 2004, at 9:28 PM, Daniel Kasak wrote:
Can someone confirm that this is a gtk bug and not a gtk-perl bug?
i can't say whether it's a bug, but it is exactly how it is coded to
behave.
in gtk+/gtk/gtkcomboboxentry.c
(http://cvs.gnome.org/viewcvs/gtk%2B/gtk/gtkcomboboxentry.c?
rev=1.19&view=auto), the private function
gtk_combo_box_entry_contents_changed, which is the handler for the
"changed" signal on the entry (whenever you type something), calls
gtk_combo_box_set_active (combo_box, -1).
that is, if you type something in, the code assumes you have selected
none of the above. there is no attempt to match the entry's contents
against the text column of the list store.
so, i think that if you logged this as a bug report in gtk+'s bugzilla,
they'd be justified in marking it "NOTABUG", because it appears to be
behaving as designed. instead, mark the bug report as a feature
enhancement request.
--
Walk softly, and carry a BFG-9000.
-- unknown
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]