GtkSharp/Source/OldStuff/doc/en/Atk/RelationSet.xml

186 lines
8.1 KiB
XML

<Type Name="RelationSet" FullName="Atk.RelationSet">
<TypeSignature Language="C#" Maintainer="auto" Value="public class RelationSet : GLib.Object" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit RelationSet extends GLib.Object" />
<AssemblyInfo>
<AssemblyName>atk-sharp</AssemblyName>
<AssemblyPublicKey>
</AssemblyPublicKey>
</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>
<Base>
<BaseTypeName>GLib.Object</BaseTypeName>
</Base>
<Interfaces>
</Interfaces>
<Docs>
<summary>
A set of <see cref="T:Atk.Relations" />, normally the set which
an <see cref="T:Atk.Object" /> has.
</summary>
<remarks />
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public RelationSet ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs>
<summary>To be added</summary>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public RelationSet (IntPtr raw);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(native int raw) cil managed" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="raw" Type="System.IntPtr" />
</Parameters>
<Docs>
<param name="raw">Pointer to the C object.</param>
<summary>Internal constructor</summary>
<remarks>
<para>This is an internal constructor, and should not be used by user code.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Add">
<MemberSignature Language="C#" Value="public void Add (Atk.Relation relation);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Add(class Atk.Relation relation) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="relation" Type="Atk.Relation" />
</Parameters>
<Docs>
<param name="relation">an <see cref="T:Atk.Relation" /></param>
<summary>Add a new relation to the current relation set if it is not already present.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="AddRelationByType">
<MemberSignature Language="C#" Value="public void AddRelationByType (Atk.RelationType relationship, Atk.Object target);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void AddRelationByType(valuetype Atk.RelationType relationship, class Atk.Object target) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="relationship" Type="Atk.RelationType" />
<Parameter Name="target" Type="Atk.Object" />
</Parameters>
<Docs>
<param name="relationship">a <see cref="T:System.Int32" /></param>
<param name="target">a <see cref="T:Atk.Object" /></param>
<summary>To be added</summary>
<remarks>To be added</remarks>
<since version="Gtk# 2.6" />
</Docs>
</Member>
<Member MemberName="Contains">
<MemberSignature Language="C#" Value="public bool Contains (Atk.RelationType relationship);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool Contains(valuetype Atk.RelationType relationship) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="relationship" Type="Atk.RelationType" />
</Parameters>
<Docs>
<param name="relationship">An <see cref="T:Atk.RelationType" />.</param>
<summary>Determines whether the relation set contains a relation that matches the specified type.</summary>
<returns>
<see langword="true" /> if relationship is the relationship
type of a relation in set, <see langword="false" /> otherwise.
</returns>
<remarks />
</Docs>
</Member>
<Member MemberName="GetRelation">
<MemberSignature Language="C#" Value="public Atk.Relation GetRelation (int i);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Atk.Relation GetRelation(int32 i) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Atk.Relation</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="i" Type="System.Int32" />
</Parameters>
<Docs>
<param name="i">An <see cref="T:System.Int32" /> representing a position in the set, starting from 0.</param>
<summary>Determines the relation at the specified position in the relation set.</summary>
<returns>
An <see cref="T:Atk.Relation" />, which is the relation at
position <paramref name="i" /> in the set.
</returns>
<remarks />
</Docs>
</Member>
<Member MemberName="GetRelationByType">
<MemberSignature Language="C#" Value="public Atk.Relation GetRelationByType (Atk.RelationType relationship);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Atk.Relation GetRelationByType(valuetype Atk.RelationType relationship) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Atk.Relation</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="relationship" Type="Atk.RelationType" />
</Parameters>
<Docs>
<param name="relationship">An <see cref="T:Atk.RelationType" /></param>
<summary>Finds a relation that matches the specified type.</summary>
<returns>An <see cref="T:Atk.Relation" />, which is a relation matching the specified type.</returns>
<remarks />
</Docs>
</Member>
<Member MemberName="GType">
<MemberSignature Language="C#" Value="public static GLib.GType GType { get; }" />
<MemberSignature Language="ILAsm" Value=".property valuetype GLib.GType GType" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>GLib.GType</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>GType Property.</summary>
<value>a <see cref="T:GLib.GType" /></value>
<remarks>Returns the native <see cref="T:GLib.GType" /> value for <see cref="T:Atk.RelationSet" />.</remarks>
</Docs>
</Member>
<Member MemberName="NRelations">
<MemberSignature Language="C#" Value="public int NRelations { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 NRelations" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>Determines the number of relations in a relation set.</summary>
<value>An integer representing the number of relations in the set.</value>
<remarks />
</Docs>
</Member>
<Member MemberName="Remove">
<MemberSignature Language="C#" Value="public void Remove (Atk.Relation relation);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Remove(class Atk.Relation relation) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="relation" Type="Atk.Relation" />
</Parameters>
<Docs>
<param name="relation">An <see cref="T:Atk.Relation" />.</param>
<summary>Removes a relation from the relation set.</summary>
<remarks />
</Docs>
</Member>
</Members>
</Type>