[MonoDevelop] Gtk.Tooltips is obsolete
Brett Senior
brett_senior at yahoo.com.au
Mon Jul 28 00:22:45 EDT 2008
Dear All,
Thank for your e-mails, but I probably did not make myself clear. The error about Gtk.Tooltip comes up when I compile code under MD that has used the GUI designer to place the fields and set the tool tips. That was why I expected the message to disappear as I am not explicitly coding it myself - it is the auto generated code from MD that is producing the problem.
Brett Senior.
----- Original Message ----
From: Mike Kestner <mkestner at gmail.com>
To: Chris Wright <dhasenan at gmail.com>
Cc: Sandy Armstrong <sanfordarmstrong at gmail.com>; MonoDevelop Mailing List <monodevelop-list at lists.ximian.com>; Brett Senior <brett_senior at yahoo.com.au>
Sent: Monday, 28 July, 2008 1:25:19 AM
Subject: Re: [MonoDevelop] Gtk.Tooltips is obsolete
On Sun, 2008-07-27 at 11:17 -0400, Chris Wright wrote:
> 2008/7/27 Sandy Armstrong <sanfordarmstrong at gmail.com>:
> > If you really want to ignore the warning I think there's some pragma
> > directive or something you can pass...I'm sure somebody else on the list
> > knows. Or you could google it.
>
> You'd need to use that pragma once in each file. More simply, you
> could put an [Obsolete] attribute on the assembly. Or rebuild Gtk and
> omit the [Obsolete] attribute from Tooltips.
Or compile with -nowarn:0612
#pragma warning disable 0612
//do some tooltips stuff
#pragma warning restore 0612
is the pragma based approach. It's a C# 2.0 feature.
Mike
Find a better answer, faster with the new Yahoo!7 Search. www.yahoo7.com.au/search
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodevelop-list/attachments/20080727/60f41127/attachment-0001.html
More information about the Monodevelop-list
mailing list