GtkSharp/doc/en/Gtk/StockItem.xml
Mike Kestner 574aa2ee06 2005-01-07 Mike Kestner <mkestner@novell.com>
* configure.in : check for panelapplet in enable_gnome and remove
	all the stuff for a separate panelapplet-sharp assembly.
	* Makefile.am : remove panelapplet dir from build.
	* gnome/BonoboUIVerb.cs : moved from panelapplet.
	* gnome/Gnome.metadata : add rules from panelapplet.
	* gnome/Makefile.am : add new files.
	* gnome/PanelApplet.custom : moved from panelapplet.
	* gnome/PanelAppletFactory.cs : moved from panelapplet.
	* gnome/glue/panelapplet.c : moved from panelapplet.
	* gnome/glue/Makefile.am : add new file.
	* gnomedb/GnomeDb.metadata : hide a newly parsed "obsolete" type.
	* gtk/Gtk.metadata : hide a newly parsed "obsolete" callback type.
	* panelapplet : kill dir.
	* parser/gapi2xml.pl : update callback name sanity check.
	* sources/gtk-sharp-sources.xml : move panelapplet parse into gnome.
	* */*-api.raw : regen.

svn path=/trunk/gtk-sharp/; revision=38509
2005-01-07 21:29:38 +00:00

167 lines
6.5 KiB
XML

<Type Name="StockItem" FullName="Gtk.StockItem">
<TypeSignature Language="C#" Value="public sealed struct StockItem;" Maintainer="John Luke" />
<AssemblyInfo>
<AssemblyName>gtk-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>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>
</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>
<summary>An empty <see cref="T:Gtk.StockItem" /></summary>
<remarks>
</remarks>
</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>
<Parameter Name="raw" Type="System.IntPtr" />
</Parameters>
<Docs>
<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>
</Docs>
</Member>
<Member MemberName="Free">
<MemberSignature Language="C#" Value="public void Free ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Frees the memory used by this object.</summary>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName="Copy">
<MemberSignature Language="C#" Value="public Gtk.StockItem Copy ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Gtk.StockItem</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<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>
</Docs>
</Member>
<Member MemberName="StockId">
<MemberSignature Language="C#" Value="public string StockId;" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>The identifying name of the <see cref="T:Gtk.StockItem" />.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="Label">
<MemberSignature Language="C#" Value="public string Label;" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>User-visible label.</summary>
<remarks />
</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>
<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>
</Docs>
</Member>
<Member MemberName="Keyval">
<MemberSignature Language="C#" Value="public uint Keyval;" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>System.UInt32</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Keyboard accelerator.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="TranslationDomain">
<MemberSignature Language="C#" Value="public string TranslationDomain;" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>Specifies the translation domain for this item, for use in globalization.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public StockItem (string stock_id, string label, uint keyval, Gdk.ModifierType modifier, string domain);" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="stock_id" Type="System.String" />
<Parameter Name="label" Type="System.String" />
<Parameter Name="keyval" Type="System.UInt32" />
<Parameter Name="modifier" Type="Gdk.ModifierType" />
<Parameter Name="domain" Type="System.String" />
</Parameters>
<Docs>
<summary>Public constructor</summary>
<param name="stock_id">a <see cref="T:System.String" /></param>
<param name="label">a <see cref="T:System.String" /></param>
<param name="keyval">a <see cref="T:System.UInt32" /></param>
<param name="modifier">a <see cref="T:System.Int32" /></param>
<param name="domain">a <see cref="T:System.String" /></param>
<returns>a <see cref="T:Gtk.StockItem" /></returns>
<remarks />
</Docs>
</Member>
</Members>
</Type>