Re: Switch a CellRendererCombo's model
- From: Torsten Schoenfeld <kaffeetisch gmx de>
- To: gtk-perl-list gnome org
- Subject: Re: Switch a CellRendererCombo's model
- Date: Wed, 06 Jul 2005 15:29:28 +0200
On Wed, 2005-07-06 at 09:18 +1000, Daniel Kasak wrote:
So in my $renderer->set() line, I'd remove the model => $field->{model}
bit. And I'd replace it with something in the above
Gtk2::TreeViewColumn->new_with_attributed() line? Assuming I have packed
a model into column $combo_model_column in the main TreeModel, how do I
tell the CellRendererCombo to use it?
You add
model => $combo_model_column
to the new_with_attributes() call.
--
Bye,
-Torsten
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]