Problem with Gtk2::ComboBoxEntry
- From: Daniel Kasak <dkasak nusconsulting com au>
- To: Gtk-Perl-List <gtk-perl-list gnome org>
- Subject: Problem with Gtk2::ComboBoxEntry
- Date: Thu, 21 Oct 2004 11:28:35 +1000
I *think* I've found a bug in gtk, but I'll check here first.
If I select an option in a Gtk2::ComboBoxEntry either with the mouse or
keyboard, I can successfully get it's value later, eg:
my $iter = $widget->get_active_iter;
my $value = $widget->get_model->get($iter, 0);
However if I don't use the ComboBox functionality, and instead just use
the Entry functionality, and type in something that matches *exactly*
one of the options in the list, the above doesn't work.
my $iter = $widget->get_active_iter;
doesn't return anything.
Can someone confirm that this is a gtk bug and not a gtk-perl bug?
Thanks :)
Dan
--
Daniel Kasak
IT Developer
NUS Consulting Group
Level 5, 77 Pacific Highway
North Sydney, NSW, Australia 2060
T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989
email: dkasak nusconsulting com au
website: http://www.nusconsulting.com.au
Title: CanIt Vote for ID 119124
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]