Adding a CellRendererCombo to a SimpleList
- From: Dan <dan entropy homelinux org>
- To: gtk-perl-list gnome org
- Subject: Adding a CellRendererCombo to a SimpleList
- Date: Thu, 12 May 2005 13:51:37 +1000
So far I have:
Gtk2::Ex::Simple::List->add_column_type(
"combo",
type => "Glib::Scalar",
renderer => "Gtk2::CellRendererCombo",
attr => "text"
);
But the 'attr' value is wrong. What's more, I don't think there *is* an
attribute I can just 'set' like this, is there? So I need to add a sub
here to walk through the values in the model, testing each one as I go,
and set the correct iter when I get to it. Or am I missing some simpler
approach?
Dan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]