On Wed, Jan 28, 2009 at 05:36:50PM +0000, Hywel Thomas wrote:
> I am getting a 'Gtk.Tooltips is obsolete (CS0612)' compilation warning, 
> but I can't see any replacement (or obsolescence note) in the Gtk# 
> documentation.  What is the preferred method for using Tooltips with 
> Gtk# 2.12?  I also notice that Tooltips work after a delay following the 

You want to use the new "Gtk.Tooltip" and associated API. Typically,
that means using the Gtk.Widget.QueryTooltip event, if you're doing
custom tooltips.

See:
http://library.gnome.org/devel/gtk/stable/GtkWidget.html#GtkWidget-query-tooltip


If you're just setting a regular tooltip, you can now just set
Gtk.Widget.TooltipText or TooltipMarkup and have it work as expected.

-pete

_______________________________________________
Gtk-sharp-list maillist  -  Gtk-sharp-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to