2003-02-12 02:00:12 +00:00
<Type Name= "StockItem" FullName= "Gtk.StockItem" >
2003-11-17 02:58:23 +00:00
<TypeSignature Language= "C#" Value= "public sealed struct StockItem;" Maintainer= "John Luke" />
2003-02-12 02:00:12 +00:00
<AssemblyInfo >
<AssemblyName > gtk-sharp</AssemblyName>
2003-11-17 02:58:23 +00:00
<AssemblyPublicKey >
</AssemblyPublicKey>
2003-02-12 02:00:12 +00:00
<AssemblyVersion > 0.0.0.0</AssemblyVersion>
2003-10-28 00:48:23 +00:00
<AssemblyCulture > neutral</AssemblyCulture>
2003-02-12 02:00:12 +00:00
<Attributes />
</AssemblyInfo>
2003-02-23 07:26:30 +00:00
<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>
2003-02-12 02:00:12 +00:00
<Docs >
2003-11-17 02:58:23 +00:00
<summary > Contains information about a related <see cref= "T:Gtk.Stock" /> object.</summary>
<remarks > Each stock ID can be associated with a <see cref= "T:Gtk.StockItem" /> , which contains the user-visible label, keyboard accelerator, and translation domain of the menu or toolbar item; and/or with an icon stored in a <see cref= "T:Gtk.IconFactory" /> . See <see cref= "T:Gtk.IconFactory" /> for more information on stock icons. The connection between a <see cref= "T:Gtk.StockItem" /> and stock icons is purely conventional (by virtue of using the same stock ID); it is possible to register a stock item but no icon, and vice versa.</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
<Base >
<BaseTypeName > System.ValueType</BaseTypeName>
</Base>
<Interfaces />
<Attributes />
<Members >
<Member MemberName= "Zero" >
<MemberSignature Language= "C#" Value= "public static Gtk.StockItem Zero;" />
<MemberType > Field</MemberType>
<ReturnValue >
<ReturnType > Gtk.StockItem</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2003-11-17 02:58:23 +00:00
<summary > An empty <see cref= "T:Gtk.StockItem" /> </summary>
<remarks >
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "New" >
<MemberSignature Language= "C#" Value= "public static Gtk.StockItem New (IntPtr raw);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gtk.StockItem</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "raw" Type= "System.IntPtr" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-11-17 02:58:23 +00:00
<summary > Returns a new <see cref= "T:Gtk.StockItem" /> using the given <see cref= "T:System.IntPtr" /> .</summary>
<param name= "raw" > an object of type <see cref= "T:System.IntPtr" /> </param>
<returns > an object of type <see cref= "T:Gtk.StockItem" /> </returns>
<remarks > This is not typically used by user code.</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "Free" >
<MemberSignature Language= "C#" Value= "public void Free ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-08-06 13:18:10 +00:00
<summary > Frees the memory used by this object.</summary>
2003-11-17 02:58:23 +00:00
<remarks >
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "Copy" >
<MemberSignature Language= "C#" Value= "public Gtk.StockItem Copy ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gtk.StockItem</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2003-11-17 02:58:23 +00:00
<summary > Makes a copy of the current <see cref= "T:Gtk.StockItem" /> .</summary>
<returns > an object of type <see cref= "T:Gtk.StockItem" /> </returns>
<remarks >
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
2004-02-26 18:46:28 +00:00
<Member MemberName= "StockId" >
<MemberSignature Language= "C#" Value= "public string StockId;" />
<MemberType > Field</MemberType>
<ReturnValue >
<ReturnType > System.String</ReturnType>
</ReturnValue>
<Parameters >
</Parameters>
<Docs >
2004-03-05 13:40:13 +00:00
<summary > The identifying name of the <see cref= "T:Gtk.StockItem" /> .</summary>
<remarks />
2004-02-26 18:46:28 +00:00
</Docs>
</Member>
<Member MemberName= "Label" >
<MemberSignature Language= "C#" Value= "public string Label;" />
<MemberType > Field</MemberType>
<ReturnValue >
<ReturnType > System.String</ReturnType>
</ReturnValue>
<Parameters >
</Parameters>
<Docs >
2004-03-05 13:40:13 +00:00
<summary > User-visible label.</summary>
<remarks />
2004-02-26 18:46:28 +00:00
</Docs>
</Member>
<Member MemberName= "Modifier" >
<MemberSignature Language= "C#" Value= "public Gdk.ModifierType Modifier;" />
<MemberType > Field</MemberType>
<ReturnValue >
<ReturnType > Gdk.ModifierType</ReturnType>
</ReturnValue>
<Parameters >
</Parameters>
<Docs >
2004-08-06 13:18:10 +00:00
<summary > Sets the modifier, if any, for this object's accelerator.</summary>
<remarks > See <see cref= "M:Gdk.ModifierType" /> for eligible keys and mouse button values.</remarks>
2004-02-26 18:46:28 +00:00
</Docs>
</Member>
<Member MemberName= "Keyval" >
<MemberSignature Language= "C#" Value= "public uint Keyval;" />
<MemberType > Field</MemberType>
<ReturnValue >
<ReturnType > System.UInt32</ReturnType>
</ReturnValue>
<Parameters >
</Parameters>
<Docs >
2004-03-05 13:40:13 +00:00
<summary > Keyboard accelerator.</summary>
<remarks />
2004-02-26 18:46:28 +00:00
</Docs>
</Member>
<Member MemberName= "TranslationDomain" >
<MemberSignature Language= "C#" Value= "public string TranslationDomain;" />
<MemberType > Field</MemberType>
<ReturnValue >
<ReturnType > System.String</ReturnType>
</ReturnValue>
<Parameters >
</Parameters>
<Docs >
2004-08-28 03:46:45 +00:00
<summary > Specifies the translation domain for this item, for use in globalization.</summary>
<remarks />
2004-02-26 18:46:28 +00:00
</Docs>
</Member>
2003-02-12 02:00:12 +00:00
</Members>
2004-08-28 03:46:45 +00:00
</Type>