Re: Get Iter/Path from CellRendererCombo



annoying - just would be nice to be able to get the path direct from the model

On 01/10/2010, Kevin Ryde <user42 zip com au> wrote:
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]