mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-23 17:25:32 +00:00
ff263164e3
* generator/BoxedGen.cs : s/uint/GLib.GType * generator/ManualGen.cs : add a ctor to pass ToNative handle name * generator/ObjectGen.cs : s/uint/GLib.GType * generator/Signal.cs : use GLib.GType and call OverrideVirtualMethod * generator/SymbolTable.cs : make GType a ManualGen and update a few ManualGens to the new signatures. * glib/DefaultSignalHandler.cs : s/Type/System.Type * glib/ManagedValue.cs : s/uint/GLib.GType * glib/Object.cs : s/uint/GLib.GType, add OverrideVirtualMethod. * glib/Type.cs : s/uint/IntPtr, add static fields for fundamentals. make it a value type and add ==, !=, Equals, and GetHashCode. * glib/TypeConverter.cs : use new GType statics, not fundamentals. * glib/Value.cs : use new GType statics, not fundamentals. * gnome/*.custom : s/uint/GLib.GType * gtk/*Store.custom : use GType statics, not fundamentals. * sample/Subclass.cs : s/uint/GLib.GType. svn path=/trunk/gtk-sharp/; revision=21181
41 lines
537 B
C#
41 lines
537 B
C#
//
|
|
// DefaultSignalHandlerAttribute.cs
|
|
//
|
|
// Author: Mike Kestner <mkestner@ximian.com>
|
|
//
|
|
// (C) 2003 Novell, Inc.
|
|
//
|
|
|
|
namespace GLib {
|
|
|
|
using System;
|
|
|
|
public sealed class DefaultSignalHandlerAttribute : Attribute
|
|
{
|
|
private string method;
|
|
private System.Type type;
|
|
|
|
public DefaultSignalHandlerAttribute () {}
|
|
|
|
public string ConnectionMethod
|
|
{
|
|
get {
|
|
return method;
|
|
}
|
|
set {
|
|
method = value;
|
|
}
|
|
}
|
|
|
|
public System.Type Type
|
|
{
|
|
get {
|
|
return type;
|
|
}
|
|
set {
|
|
type = value;
|
|
}
|
|
}
|
|
}
|
|
}
|