GtkSharp/gnome/GtkSharp.BoundsHandler.cs
Mike Kestner 96ab93e0f6 2004-02-26 Mike Kestner <mkestner@ximian.com>
* gnome/GtkSharp.* : move to Gnome namespace
	* gnome/CanvasProxy.cs : update event handler namespaces
	* gnome/voidObject*.cs : internalize

svn path=/trunk/gtk-sharp/; revision=23496
2004-02-26 19:00:18 +00:00

51 lines
829 B
C#

//
// GtkSharp.BoundsHandler.cs
//
// Author: Duncan Mak (duncan@ximian.com)
//
// 2002 (C) Copyright, Ximian, Inc.
//
namespace Gnome {
using System;
/// <summary> BoundsHandler Delegate </summary>
/// <remarks>
/// Delegate signature for Bounds Event handlers
/// </remarks>
public delegate void BoundsHandler(object o, BoundsArgs args);
/// <summary> BoundsArgs Class </summary>
/// <remarks>
/// Arguments for Bounds Event handlers
/// </remarks>
public class BoundsArgs : GtkSharp.SignalArgs {
public double [] X1 {
get {
return (double []) Args [0];
}
}
public double [] Y1 {
get {
return (double []) Args [1];
}
}
public double [] X2 {
get {
return (double []) Args [2];
}
}
public double [] Y2 {
get {
return (double []) Args [3];
}
}
}
}