GtkSharp/doc/en/GLib/Value.xml

357 lines
13 KiB
XML
Raw Normal View History

<Type Name="Value" FullName="GLib.Value">
<TypeSignature Language="C#" Value="public class Value" Maintainer="auto" />
<AssemblyInfo>
<AssemblyName>glib-sharp</AssemblyName>
<AssemblyPublicKey>
</AssemblyPublicKey>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyCulture>neutral</AssemblyCulture>
<Attributes />
</AssemblyInfo>
<ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
<Docs>
<summary>An arbitrary data type similar to a CORBA Any which is used to get and set properties on Objects.</summary>
<remarks>
</remarks>
</Docs>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Attributes />
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Value (bool val);" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="val" Type="System.Boolean" />
</Parameters>
<Docs>
<summary>Constructs a Value from a specified boolean.</summary>
<param name="val">an object of type <see cref="T:System.Boolean" /></param>
<returns>an object of type <see cref="T:GLib.Value" /></returns>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Value (double val);" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="val" Type="System.Double" />
</Parameters>
<Docs>
<summary>Constructs a Value from a specified double.</summary>
<param name="val">an object of type <see cref="T:System.Double" /></param>
<returns>an object of type <see cref="T:GLib.Value" /></returns>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Value (float val);" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="val" Type="System.Single" />
</Parameters>
<Docs>
<summary>Constructs a Value from a specified float.</summary>
<param name="val">an object of type <see cref="T:System.Single" /></param>
<returns>an object of type <see cref="T:GLib.Value" /></returns>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Value (int val);" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="val" Type="System.Int32" />
</Parameters>
<Docs>
<summary>Constructs a Value from a specified integer.</summary>
<param name="val">an object of type <see cref="T:System.Int32" /></param>
<returns>an object of type <see cref="T:GLib.Value" /></returns>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Value (GLib.Object val);" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="val" Type="GLib.Object" />
</Parameters>
<Docs>
<summary>Constructs a Value from a specified object.</summary>
<param name="val">an object of type <see cref="T:GLib.Object" /></param>
<returns>an object of type <see cref="T:GLib.Value" /></returns>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Value (IntPtr val);" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="val" Type="System.IntPtr" />
</Parameters>
<Docs>
<summary>Constructs a Value from a specified pointer.</summary>
<param name="val">an object of type <see cref="T:System.IntPtr" /></param>
<returns>an object of type <see cref="T:GLib.Value" /></returns>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Value (string val);" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="val" Type="System.String" />
</Parameters>
<Docs>
<summary>Constructs a Value from a specified string.</summary>
<param name="val">an object of type <see cref="T:System.String" /></param>
<returns>an object of type <see cref="T:GLib.Value" /></returns>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Value (uint val);" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="val" Type="System.UInt32" />
</Parameters>
<Docs>
<summary>Constructs a Value from a specified uint.</summary>
<param name="val">an object of type <see cref="T:System.UInt32" /></param>
<returns>an object of type <see cref="T:GLib.Value" /></returns>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Value (ushort val);" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="val" Type="System.UInt16" />
</Parameters>
<Docs>
<summary>Constructs a Value from a specified ushort.</summary>
<param name="val">an object of type <see cref="T:System.UInt16" /></param>
<returns>an object of type <see cref="T:GLib.Value" /></returns>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName="Dispose">
<MemberSignature Language="C#" Value="public virtual void Dispose ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Disposes the underlying value</summary>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Value (object obj);" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="obj" Type="System.Object" />
</Parameters>
<Docs>
<summary>Constructs a Value from any object, including a managed type.</summary>
<param name="obj">a <see cref="T:System.Object" /></param>
<returns>a <see cref="T:GLib.Value" /></returns>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Value (IntPtr obj, string prop_name, GLib.Opaque val);" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="obj" Type="System.IntPtr" />
<Parameter Name="prop_name" Type="System.String" />
<Parameter Name="val" Type="GLib.Opaque" />
</Parameters>
<Docs>
<summary>Constructs a value for an Opaque type.</summary>
<param name="obj">a <see cref="T:System.IntPtr" /></param>
<param name="prop_name">a <see cref="T:System.String" /></param>
<param name="val">a <see cref="T:GLib.Opaque" /></param>
<returns>a <see cref="T:GLib.Value" /></returns>
<remarks />
</Docs>
</Member>
<Member MemberName="Val">
<MemberSignature Language="C#" Value="public object Val { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Accesses the value.</summary>
<returns>a <see cref="T:System.Object" /></returns>
<remarks />
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Value (GLib.GType gtype);" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="gtype" Type="GLib.GType" />
</Parameters>
<Docs>
<summary>Constructs an initialized value for a given type.</summary>
<param name="gtype">a <see cref="T:GLib.GType" /></param>
<returns>a <see cref="T:GLib.Value" /></returns>
<remarks />
</Docs>
</Member>
<Member MemberName="Empty">
<MemberSignature Language="C#" Value="public static GLib.Value Empty;" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>GLib.Value</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>An unitialized value.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="Init">
<MemberSignature Language="C#" Value="public void Init (GLib.GType gtype);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="gtype" Type="GLib.GType" />
</Parameters>
<Docs>
<summary>Initializes a value to a given type.</summary>
<param name="gtype">a <see cref="T:GLib.GType" /></param>
<remarks />
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Value (GLib.Object obj, string prop_name);" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="obj" Type="GLib.Object" />
<Parameter Name="prop_name" Type="System.String" />
</Parameters>
<Docs>
<summary>Constructs a value initialized for a given property name.</summary>
<param name="obj">a <see cref="T:GLib.Object" /></param>
<param name="prop_name">a <see cref="T:System.String" /></param>
<returns>a <see cref="T:GLib.Value" /></returns>
<remarks />
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Value (GLib.Object obj, string prop_name, GLib.EnumWrapper wrap);" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="obj" Type="GLib.Object" />
<Parameter Name="prop_name" Type="System.String" />
<Parameter Name="wrap" Type="GLib.EnumWrapper" />
</Parameters>
<Docs>
<summary>Constructs a value initialized to a given enumerated type property.</summary>
<param name="obj">a <see cref="T:GLib.Object" /></param>
<param name="prop_name">a <see cref="T:System.String" /></param>
<param name="wrap">a <see cref="T:GLib.EnumWrapper" /></param>
<returns>a <see cref="T:GLib.Value" /></returns>
<remarks />
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Value (GLib.Opaque val, string type_name);" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="val" Type="GLib.Opaque" />
<Parameter Name="type_name" Type="System.String" />
</Parameters>
<Docs>
<summary>Constructs a Value from an <see cref="T:GLib.Opaque" /> object of a given type</summary>
<param name="val">an <see cref="T:GLib.Opaque" /> object</param>
<param name="type_name">the (C/GType) name of <paramref name="val" />'s type</param>
<returns>an object of type <see cref="T:GLib.Value" /></returns>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Value (GLib.EnumWrapper wrap, string type_name);" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="wrap" Type="GLib.EnumWrapper" />
<Parameter Name="type_name" Type="System.String" />
</Parameters>
<Docs>
<summary>Constructs a Value from an <see cref="T:GLib.Opaque" /> object of a given type</summary>
<param name="wrap">an <see cref="T:GLib.EnumWrapper" /> value</param>
<param name="type_name">the (C/GType) name of <paramref name="wrap" />'s type</param>
<returns>an object of type <see cref="T:GLib.Value" /></returns>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Value (long val);" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="val" Type="System.Int64" />
</Parameters>
<Docs>
<summary>Constructs a value for a 64 bit integer.</summary>
<param name="val">a <see cref="T:System.Int64" /></param>
<returns>a <see cref="T:GLib.Value" /></returns>
<remarks />
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Value (ulong val);" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="val" Type="System.UInt64" />
</Parameters>
<Docs>
<summary>Constructs a value for a 64 bit unsigned integer.</summary>
<param name="val">a <see cref="T:System.UInt64" /></param>
<returns>a <see cref="T:GLib.Value" /></returns>
<remarks />
</Docs>
</Member>
</Members>
</Type>