GtkSharp/Source/OldStuff/doc/en/Gtk/StockManager.xml

154 lines
6.8 KiB
XML

<Type Name="StockManager" FullName="Gtk.StockManager">
<TypeSignature Language="C#" Value="public class StockManager" Maintainer="auto" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit StockManager extends System.Object" />
<AssemblyInfo>
<AssemblyName>gtk-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>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>this class manages the <see cref="T:Gtk.StockItem" />s</summary>
<remarks />
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public StockManager ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs>
<summary>Do not use.</summary>
<remarks>Do not use</remarks>
</Docs>
</Member>
<Member MemberName="Add">
<MemberSignature Language="C#" Value="public static void Add (Gtk.StockItem item);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void Add(valuetype Gtk.StockItem item) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="item" Type="Gtk.StockItem" />
</Parameters>
<Docs>
<param name="item">a <see cref="T:Gtk.StockItem" /></param>
<summary>Adds a stock item.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="Add">
<MemberSignature Language="C#" Value="public static void Add (Gtk.StockItem[] items);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void Add(valuetype Gtk.StockItem[] items) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="items" Type="Gtk.StockItem[]" />
</Parameters>
<Docs>
<param name="items">an array of <see cref="T:Gtk.StockItem" /></param>
<summary>Registers each of the stock items in <paramref name="items" />.
If an item already exists with the same stock ID as one of the
<paramref name="items" />, the old item gets replaced. The stock
items are copied, so GTK+ does not hold any pointer into
<paramref name="items" /> and <paramref name="items" /> can be
freed.
</summary>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName="Add">
<MemberSignature Language="C#" Value="public static void Add (Gtk.StockItem items, uint n_items);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void Add(valuetype Gtk.StockItem items, unsigned int32 n_items) cil managed" />
<MemberType>Method</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Obsolete("Use the StockItem or StockItem[] overload instead.")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="items" Type="Gtk.StockItem" />
<Parameter Name="n_items" Type="System.UInt32" />
</Parameters>
<Docs>
<param name="items">a <see cref="T:Gtk.StockItem" /></param>
<param name="n_items">a <see cref="T:System.UInt32" /></param>
<summary>Adds a stock item.</summary>
<remarks>This signature is obsolete, but preserved for backward compatibility. Use the single parameter overload for new code.</remarks>
</Docs>
</Member>
<Member MemberName="AddStatic">
<MemberSignature Language="C#" Value="public static void AddStatic (Gtk.StockItem items, uint n_items);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void AddStatic(valuetype Gtk.StockItem items, unsigned int32 n_items) cil managed" />
<MemberType>Method</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Obsolete("Use StockManager.Add instead")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="items" Type="Gtk.StockItem" />
<Parameter Name="n_items" Type="System.UInt32" />
</Parameters>
<Docs>
<param name="items">a <see cref="T:Gtk.StockItem" /></param>
<param name="n_items">a <see cref="T:System.UInt32" /></param>
<summary>Obsolete, do not use.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="Lookup">
<MemberSignature Language="C#" Value="public static bool Lookup (string stock_id, ref Gtk.StockItem item);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool Lookup(string stock_id, valuetype Gtk.StockItem item) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="stock_id" Type="System.String" />
<Parameter Name="item" Type="Gtk.StockItem&amp;" RefType="ref" />
</Parameters>
<Docs>
<param name="stock_id">a <see cref="T:System.String" /></param>
<param name="item">a <see cref="T:Gtk.StockItem" /></param>
<summary>Finds a stock item by stock_id.</summary>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>See also <see cref="M:Gtk.StockManager.LookupItem" /></remarks>
</Docs>
</Member>
<Member MemberName="LookupItem">
<MemberSignature Language="C#" Value="public static bool LookupItem (string stock_id, out Gtk.StockItem item);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool LookupItem(string stock_id, valuetype Gtk.StockItem item) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="stock_id" Type="System.String" />
<Parameter Name="item" Type="Gtk.StockItem&amp;" RefType="out" />
</Parameters>
<Docs>
<param name="stock_id">a <see cref="T:System.String" /></param>
<param name="item">a <see cref="T:Gtk.StockItem" /></param>
<summary>Finds a stock item by stock_id.</summary>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks />
</Docs>
</Member>
</Members>
</Type>