mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-26 18:15:41 +00:00
144a0f9d20
* generator/CallbackGen.cs : implement new IAccessor iface so that callback fields on structs can now be accessed. * generator/ClassBase.cs : remove/abstract some methods incorrectly located here. * generator/ClassGen.cs : implement methods previously inherited from ClassBase incorrectly. * generator/HandleBase.cs : new base class for native ptr wrappers. Implements new IAccessor interface and code moved from ClassBase. * generator/IAccessor.cs : new iface to generate field/prop accessors. * generator/InterfaceGen.cs : derive from new ObjectBase. * generator/LPGen.cs : implement IAccessor. * generator/LPUGen.cs : implement IAccessor. * generator/ObjectBase.cs : new base class for Object/Iface types. * generator/ObjectGen.cs : derive from new ObjectBase. * generator/OpaqueGen.cs : derive from HandleBase. * generator/StructField.cs : refactor Generate method using new IAccessor interface. * */*.custom : add obsolete impls for some existing c_cased struct field accessors that are now StudlyNamed. svn path=/trunk/gtk-sharp/; revision=46878
125 lines
4.6 KiB
XML
125 lines
4.6 KiB
XML
<Type Name="ItemFactoryEntry" FullName="Gtk.ItemFactoryEntry">
|
|
<TypeSignature Language="C#" Maintainer="auto" Value="public struct ItemFactoryEntry" />
|
|
<AssemblyInfo>
|
|
<AssemblyName>gtk-sharp</AssemblyName>
|
|
<AssemblyPublicKey>
|
|
</AssemblyPublicKey>
|
|
<AssemblyVersion>2.6.0.0</AssemblyVersion>
|
|
</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>Class intended for use with <see cref="T:Gtk.ItemFactory" />.</summary>
|
|
<remarks>FIXME: see bugzilla.ximian.com #70887, which directly concerns this API.</remarks>
|
|
</Docs>
|
|
<Base>
|
|
<BaseTypeName>System.ValueType</BaseTypeName>
|
|
</Base>
|
|
<Interfaces />
|
|
<Members>
|
|
<Member MemberName="Zero">
|
|
<MemberSignature Language="C#" Value="public static Gtk.ItemFactoryEntry Zero;" />
|
|
<MemberType>Field</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>Gtk.ItemFactoryEntry</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters />
|
|
<Docs>
|
|
<summary>Empty entry.</summary>
|
|
<remarks />
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="New">
|
|
<MemberSignature Language="C#" Value="public static Gtk.ItemFactoryEntry New (IntPtr raw);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>Gtk.ItemFactoryEntry</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="raw" Type="System.IntPtr" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>For internal use only. Do not use.</summary>
|
|
<param name="raw">a <see cref="T:IntPtr" />, pointer to the underlying C data.</param>
|
|
<returns>a <see cref="T:Gtk.ItemFactoryEntry" /></returns>
|
|
<remarks />
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="Path">
|
|
<MemberSignature Language="C#" Value="public string Path;" />
|
|
<MemberType>Field</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.String</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>The path of the item.</summary>
|
|
<remarks>For example, "/File/_Open", where the "O" should be a mnemonic underline.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="Accelerator">
|
|
<MemberSignature Language="C#" Value="public string Accelerator;" />
|
|
<MemberType>Field</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.String</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>The accelerator key for this item.</summary>
|
|
<remarks>For example, "<control>O".</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="CallbackAction">
|
|
<MemberSignature Language="C#" Value="public uint CallbackAction;" />
|
|
<MemberType>Field</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.UInt32</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>A callback function to run when this item is activated.</summary>
|
|
<remarks>NOTE: The API doesn't support the actual code here.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="ItemType">
|
|
<MemberSignature Language="C#" Value="public string ItemType;" />
|
|
<MemberType>Field</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.String</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Type of item to add.</summary>
|
|
<remarks>Possible values:
|
|
"<Title>" creates a title item,
|
|
"<Item>" creates a simple item,
|
|
"<ImageItem>" creates an item holding an image,
|
|
"<StockItem>" creates an item holding a stock image,
|
|
"<CheckItem>" creates a check item,
|
|
"<ToggleItem>" creates a toggle item,
|
|
"<RadioItem>" creates a radio item,
|
|
<path> for the path of a radio item to link against,
|
|
"<Separator>" creates a separator,
|
|
"<Tearoff>" creates a tearoff separator,
|
|
"<Branch>" creates an item to hold sub items,
|
|
"<LastBranch>" creates a right justified item to hold sub items.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="Callback">
|
|
<MemberSignature Language="C#" Value="public Gtk.ItemFactoryCallback Callback { get; };" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>Gtk.ItemFactoryCallback</ReturnType>
|
|
</ReturnValue>
|
|
<Docs>
|
|
<summary>To be added.</summary>
|
|
<value>To be added.</value>
|
|
<remarks>To be added.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
</Members>
|
|
</Type>
|