[Gtk-sharp-list] Making a cellrendertext editable, how?

Peter Williams peter@newton.cx
Fri, 12 Nov 2004 17:07:24 -0500

On Fri, 2004-11-12 at 13:55 -0800, George Farris wrote:
> george@ve7frg:~/Projects/gfax $ make
> mcs /define:DEBUG /resource:./glade/gfax.glade,gfax.glade /resource:./glade/send-druid.glade,send-druid.glade /resource:./pixmaps/gfax.png,gfax.png /resource:./pixmaps/send.png,send.png  -o mono-gfax.exe src/phonebook.cs src/gui.cs src/main.cs src/guitools.cs src/sendphonebook.cs src/fax.cs src/hylafax.cs src/Settings.cs -r gnome-sharp -r gtk-sharp -r glib-sharp -r glade-sharp -r gdk-sharp -r gconf-sharp -r gconf-sharp-peditors.dll
> src/guitools.cs(309) error CS0117: `Gtk.CellRenderer' does not contain a
> definition for `Editable'
> Compilation failed: 1 error(s), 0 warnings
> make: *** [mono-gfax.exe] Error 1

You probably need to declare the variable 'text' as a CellRendererText,
not just a CellCenderer. Or alternatively,

((CellRendererText) text).Editable = true;


Peter Williams                          peter@newton.cx

"[Ninjas] are cool; and by cool, I mean totally sweet."
                              -- REAL Ultimate Power