f774796311
* gconf/GConf.PropertyEditors/PropertyEditorColorPicker.cs : nuke a GnomeSharp. * generator/Signal.cs : move eventhandlers and args into the base namespace instead of a *Sharp namespace. * sample/*.cs : nuke using *Sharp. svn path=/trunk/gtk-sharp/; revision=22956
36 lines
553 B
C#
36 lines
553 B
C#
//
|
|
// TestToolTip.cs
|
|
//
|
|
// Author: Duncan Mak (duncan@ximian.com)
|
|
//
|
|
// Copyright (C) 2002, Duncan Mak, Ximian Inc.
|
|
//
|
|
|
|
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");
|
|
window.Width = 200;
|
|
tooltips = new Tooltips ();
|
|
|
|
window.Data ("tooltips", tooltip);
|
|
|
|
return window;
|
|
}
|
|
|
|
static void Window_Delete (object o, EventArgs args)
|
|
{
|
|
window.Destroy ();
|
|
}
|
|
}
|
|
}
|
|
|