Re: Get Iter/Path from CellRendererCombo



Mike Martin <redtux1 gmail com> writes:

         if ( $cell->get("model")->get( $combo_iter, 1 ) eq $val ) {

If you know what columns are what then that's about it.  There's also
$model->foreach (per the Gtk2::TreeModel docs) if you want someone else
to walk the iters for you (good for sub-rows if a tree rather than a
list).



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