The demo has 2 combos / models.The 1st, 'good' model, has a Glib::Int column, and 2 Glib::String columns. This works fine.
The 2nd, 'bad' model, has a 2 Glib::Int columns, and a Glib::String column.When an item is selected in the 2nd combo, I get a segfault. This happens if the user selects an item with the mouse, or if the item is selected in code, ie:
$widget->set_active_iter( $iter ); Note that I'm ONLY loading numeric data into the 2nd column.My hunch is that this is a gtk+ bug, and not related to the bindings. Am I right?
-- 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
Attachment:
combo_model.pl
Description: Perl program