2003-07-17 06:35:10 +00:00
<Type Name= "StockManager" FullName= "Gtk.StockManager" >
<TypeSignature Language= "C#" Value= "public class StockManager" Maintainer= "auto" />
<AssemblyInfo >
<AssemblyName > gtk-sharp</AssemblyName>
2003-12-24 01:35:30 +00:00
<AssemblyPublicKey >
</AssemblyPublicKey>
2003-07-17 06:35:10 +00:00
<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 >
2004-08-03 04:49:27 +00:00
<summary > this class manages the <see cref= "T:Gtk.StockItem" /> s</summary>
<remarks />
2003-07-17 06:35:10 +00:00
</Docs>
<Base >
<BaseTypeName > System.Object</BaseTypeName>
</Base>
<Interfaces />
<Attributes />
<Members >
<Member MemberName= "Add" >
<MemberSignature Language= "C#" Value= "public static void Add (Gtk.StockItem items, uint n_items);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "items" Type= "Gtk.StockItem" />
<Parameter Name= "n_items" Type= "System.UInt32" />
</Parameters>
2003-07-17 06:35:10 +00:00
<Docs >
2004-08-29 04:47:18 +00:00
<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. Use <see cref= "M:Gtk.StockManager.AddStatic" /> if
<paramref name= "items" /> is persistent and GTK# doesn't need to
copy the array.
</summary>
2003-07-17 06:35:10 +00:00
<param name= "items" > a <see cref= "T:Gtk.StockItem" /> </param>
2004-08-29 04:47:18 +00:00
<param name= "n_items" > a <see cref= "T:System.UInt32" /> , the number of items in <paramref name= "items" /> </param>
<remarks > (TODO: This API doesn't make sense for the underlying C API, because the C API has an option of adding multiple items. Needs clarification.)</remarks>
2003-07-17 06:35:10 +00:00
</Docs>
</Member>
<Member MemberName= "AddStatic" >
<MemberSignature Language= "C#" Value= "public static void AddStatic (Gtk.StockItem items, uint n_items);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "items" Type= "Gtk.StockItem" />
<Parameter Name= "n_items" Type= "System.UInt32" />
</Parameters>
2003-07-17 06:35:10 +00:00
<Docs >
2004-08-29 04:47:18 +00:00
<summary > Same as <see cref= "M:Gtk.StockManager.Add" /> but doesn't copy
<paramref name= "items" /> , so <paramref name= "items" /> must persist
until application exit.</summary>
2003-07-17 06:35:10 +00:00
<param name= "items" > a <see cref= "T:Gtk.StockItem" /> </param>
<param name= "n_items" > a <see cref= "T:System.UInt32" /> </param>
2004-08-29 04:47:18 +00:00
<remarks > (TODO:Needs API review; see the Add method also.)</remarks>
2003-07-17 06:35:10 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public StockManager ();" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs >
2004-08-03 04:49:27 +00:00
<summary > Do not use.</summary>
2003-07-17 06:35:10 +00:00
<returns > a <see cref= "T:Gtk.StockManager" /> </returns>
2004-08-03 04:49:27 +00:00
<remarks > Do not use</remarks>
2003-07-17 06:35:10 +00:00
</Docs>
</Member>
2004-08-13 19:34:22 +00:00
<Member MemberName= "Lookup" >
<MemberSignature Language= "C#" Value= "public static bool Lookup (string stock_id, ref Gtk.StockItem item);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "stock_id" Type= "System.String" />
<Parameter Name= "item" Type= "Gtk.StockItem&" RefType= "ref" />
</Parameters>
<Docs >
<summary > Looks up a <see cref= "T:Gtk.StockItem" /> </summary>
<param name= "stock_id" > the StockId of the <see cref= "T:Gtk.StockItem" /> to return.</param>
<param name= "item" > the <see cref= "T:Gtk.StockItem" /> if found</param>
2004-08-17 20:43:49 +00:00
<returns > returns <see langword= "true" /> if a <see cref= "T:Gtk.StockItem" /> with the <paramref name= "stock_id" /> exists, else returns <see langword= "false" /> .</returns>
<remarks />
2004-08-13 19:34:22 +00:00
</Docs>
</Member>
2003-07-17 06:35:10 +00:00
</Members>
2004-08-29 04:47:18 +00:00
</Type>