Re: Get Iter/Path from CellRendererCombo
- From: Mike Martin <redtux1 gmail com>
- To: Kevin Ryde <user42 zip com au>
- Cc: gtk-perl-list <gtk-perl-list gnome org>
- Subject: Re: Get Iter/Path from CellRendererCombo
- Date: Sat, 2 Oct 2010 15:17:21 +0100
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]