[Gtk-sharp-list] Custom CellRendererText problem help!

dabatla dabatla at gmail.com
Fri Oct 24 07:34:40 EDT 2008

Hi all, I'm having a issue customizing CellRendererText. Is this a gtk# bug?
any workarounds?

When implementing the code below, I get the following exception : 
"Attempted to read or write protected memory. This is often an indication
that other memory is corrupt."

Any ideas? any workarounds?

class MyCellRenderer : CellRendererText {
protected override void Render(Drawable window, Widget widget, Rectangle
background_area, Rectangle cell_area, Rectangle expose_area,
CellRendererState flags) {
         base.Render(window, widget, background_area, cell_area,
expose_area, flags);
         //This point is never reached for some reason?????

View this message in context: http://www.nabble.com/Custom-CellRendererText-problem-help%21-tp20148483p20148483.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.

More information about the Gtk-sharp-list mailing list