[Gtk-sharp-list] Gtk.CellRendererText problem.
tapia
tapia@eitig.com
Fri, 02 Apr 2004 17:55:12 +0200
--=-pwecqHt/1G2qJyBBPmr8
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
I have some code looking like this:
private void GeneralCellDataFunc(TreeViewColumn col,
CellRenderer cell,
TreeModel model,
TreeIter iter)
{
Gdk.Color bgcolor =3D new Gdk.Color (58, 177, 26);
Gdk.Color fgcolor =3D new Gdk.Color (255,255, 255);
((CellRendererText)cell).CellBackgroundGdk =3D bgcolor;
((CellRendererText)cell).ForegroundGdk =3D fgcolor;
(...)
}
When executing it, I get this error:
Unhandled Exception: System.EntryPointNotFoundException:
gtksharp_value_create
in <0x00053> (wrapper managed-to-native) Gdk.Color:gtksharp_value_create
(GLib.GType)
in <0x0001f> Gdk.Color:op_Explicit (Gdk.Color)
in <0x00028> Gtk.CellRenderer:set_CellBackgroundGdk (Gdk.Color)
in <0x0012d> GeneralList:GeneralCellDataFunc
(Gtk.TreeViewColumn,Gtk.CellRenderer,Gtk.TreeModel,Gtk.TreeIter)
in <0x000c2> (wrapper delegate-invoke)
System.MulticastDelegate:invoke_void_TreeViewColumn_CellRenderer_TreeModel_=
TreeIter (Gtk.TreeViewColumn,Gtk.CellRenderer,Gtk.TreeModel,Gtk.TreeIter)
in <0x001b1> GtkSharp.TreeCellDataFuncWrapper:NativeCallback
(intptr,intptr,intptr,Gtk.TreeIter&,intptr)
in <0x0011c> (wrapper native-to-managed)
GtkSharp.TreeCellDataFuncWrapper:NativeCallback
(intptr,intptr,intptr,Gtk.TreeIter&,intptr)
in (unmanaged) (wrapper managed-to-native) Gtk.Application:gtk_main ()
in <0x00004> (wrapper managed-to-native) Gtk.Application:gtk_main ()
in <0x00007> Gtk.Application:Run ()
in <0x00007> Gnome.Program:Run ()
in <0x000a6> MCatalogGUI:Main (string[])
Some weeks ago, it worked perfectly. I updated gtk-sharp, and I get this
error.
Is it a bug?
Thank you.
--=-pwecqHt/1G2qJyBBPmr8
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada
digitalmente
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQBAbYzfUB+wbKFFlkARAt7oAJ43i8XpA0vo+Chozo0Cyj68raDxsgCgiwVa
ASukwl+y4dX0n2jKvmec8QU=
=4RDU
-----END PGP SIGNATURE-----
--=-pwecqHt/1G2qJyBBPmr8--