2002-07-16 10:11:49 +00:00
|
|
|
//
|
|
|
|
// TestToolTip.cs
|
|
|
|
//
|
|
|
|
// Author: Duncan Mak (duncan@ximian.com)
|
|
|
|
//
|
|
|
|
// Copyright (C) 2002, Duncan Mak, Ximian Inc.
|
|
|
|
//
|
|
|
|
|
2002-07-12 16:52:55 +00:00
|
|
|
using System;
|
|
|
|
|
|
|
|
using Gtk;
|
|
|
|
|
|
|
|
namespace WidgetViewer {
|
|
|
|
public class TestToolTip
|
|
|
|
{
|
|
|
|
static Window window = null;
|
|
|
|
static Tooltips tooltips = null;
|
|
|
|
|
|
|
|
public Gtk.Window Create ()
|
|
|
|
{
|
|
|
|
window = new Window ("Tooltips");
|
2005-06-27 15:08:39 +00:00
|
|
|
window.DefaultSize = new Gdk.Size (200, 150);
|
2002-07-12 16:52:55 +00:00
|
|
|
tooltips = new Tooltips ();
|
|
|
|
|
|
|
|
return window;
|
|
|
|
}
|
|
|
|
|
|
|
|
static void Window_Delete (object o, EventArgs args)
|
|
|
|
{
|
|
|
|
window.Destroy ();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|