GtkSharp/sample/test/TestTooltip.cs
Duncan Mak 7a05f25736 2002-07-13 Duncan Mak <duncan@ximian.com>
* *.cs: Checking in testgtk# to CVS.

svn path=/trunk/gtk-sharp/; revision=5737
2002-07-12 16:52:55 +00:00

32 lines
507 B
C#

using System;
using Gtk;
using GtkSharp;
namespace WidgetViewer {
public class TestToolTip
{
static Window window = null;
static Tooltips tooltips = null;
public Gtk.Window Create ()
{
window = new Window ("Tooltips");
window.Width = 200;
tooltips = new Tooltips ();
window.Data ("tooltips", tooltip);
return window;
}
static void Window_Delete (object o, EventArgs args)
{
SignalArgs sa = (SignalArgs) args;
window.Destroy ();
sa.RetVal = true;
}
}
}