GtkSharp/gnome/GtkSharp.BoundsHandler.cs
Mike Kestner 01acd7f576 2004-05-05 Mike Kestner <mkestner@ximian.com>
* generator/Signal.cs : rmv Handle param to SignalCallback ctor calls.
	s/GtkSharp.Signal*/GLib.Signal*.
	* generator/SignalHandler.cs : rmv Handle param to ctors as it's
	redundant.  s/GtkSharp.Signal*/GLib.Signal*. Use new Connect/Disconnect
	instead of generating DllImports into libgobject directly.
	* glib/SignalArgs.cs : move the the GLib namespace.
	* glib/SignalCallback.cs : expose Connect and Disconnect methods to
	hide some pinvokes that were previously generated. Also move to the
	GLib namespace.
	gnome/*Handler.cs : update to new SignalHandler API.
	gnome/CanvasProxy.cs : ditto
	gnome/void*Signal.cs : ditto

svn path=/trunk/gtk-sharp/; revision=26778
2004-05-05 18:24:04 +00:00

42 lines
578 B
C#

//
// GtkSharp.BoundsHandler.cs
//
// Author: Duncan Mak (duncan@ximian.com)
//
// 2002 (C) Copyright, Ximian, Inc.
//
namespace Gnome {
using System;
public delegate void BoundsHandler(object o, BoundsArgs args);
public class BoundsArgs : GLib.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];
}
}
}
}