From 470c852770a24311a2e40b5993ca446fd9c52bae Mon Sep 17 00:00:00 2001 From: Mike Kestner Date: Mon, 24 Feb 2003 06:44:54 +0000 Subject: [PATCH] oops forgot a cvs add svn path=/trunk/gtk-sharp/; revision=11921 --- glib/Type.cs | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100755 glib/Type.cs diff --git a/glib/Type.cs b/glib/Type.cs new file mode 100755 index 000000000..a7e91b6ee --- /dev/null +++ b/glib/Type.cs @@ -0,0 +1,50 @@ +// GLib.Type.cs - GLib Type class implementation +// +// Author: Mike Kestner +// +// (c) 2003 Mike Kestner + +namespace GLib { + + using System; + + /// + /// Type Class + /// + /// + /// + /// An arbitrary data type similar to a CORBA Any which is used + /// to get and set properties on Objects. + /// + + public class Type { + + uint val; + + /// + /// Type Constructor + /// + /// + /// + /// Constructs a new Type from a native GType value. + /// + + public Type (uint val) { + this.val = val; + } + + /// + /// Value Property + /// + /// + /// + /// Gets the native value of a Type object. + /// + + public uint Value { + get { + return val; + } + } + } +}