Problem with Gtk2::ComboBoxEntry



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

The following links have been inserted by the NUS Consulting internal spam filter and are for NUS Consulting staff only
Spam
Not spam
Forget previous vote


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