I think I got it, I ave to cast the 'long' to a 'object'. It works
perfect for now ;-)
grtz Bart
Christian Hoff schreef:
xxbartosxx schrieb:
Hi,
I use a Gtk.TreeStore(typeof(long), typeof(string), typeo(string))
but when I do this:
(treeviewCategoriesAndProducts.Model as Gtk.TreeStore).SetValue(iter, 0,
1102L);
I get this warning:
(CashRegister:10686): Gtk-WARNING **:
/build/buildd/gtk+2.0-2.12.9/gtk/gtktreestore.c:762: Unable to
convert from
gfloat to gint64
Are you sure this warning occurs as a result of this command? Gtk#
maps the C# "long" data type of column 0 into the gint64 C type. Seems
like you want to assign a float value to the column, but the above
line indicates that you did everything correctly.
Since this is a pretty stable part of Gtk#, I expect the error to be
on your side; nevertheless you can file a bug report on
http://www.mono-project.com/Bugs if the problem persists. You should
also consider updating your Gtk# version(always a good idea :-) ).
Is this a bug? pls some advice I am really stuck on this.
thx
begin:vcard
fn:Bart Verstraete
n:Verstraete;Bart
org:Tux-Solutions VOF
adr;quoted-printable:;;Heistlaan 351;Knokke-Heist;W-Vl;8301;Belgi=C3=AB
email;internet:[EMAIL PROTECTED]
tel;fax:+32(0)50960692
tel;cell:+32(0)496400420
x-mozilla-html:TRUE
url:www.tux-solutions.be
version:2.1
end:vcard
_______________________________________________
Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list