mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-29 15:55:33 +00:00
9d04b4dd06
the child properties for a given widget in a container, and generate the child properties as properties on those classes. * parser/gapi2xml.pl (addPropElem): don't prepend "child_" to child prop names any more * generator/ClassBase.cs (ClassBase): keep childprops separate from properties (GenChildProperties): create a subclass of Gtk.ContainerChild containing the container type's child properties, and override the Container indexer to return that type. * generator/ObjectGen.cs (Generate): call GenChildProperties * generator/Property.cs: * generator/ChildProperty.cs: Simplify these a bunch, since * child properties are now represented as C# properties as well. Also add [GLib.Property(cname)] and [Gtk.ChildProperty(cname)] attributes. * glib/Makefile.am (sources): add PropertyAttribute.cs * glib/PropertyAttribute.cs: attribute used to label GObject properties * gtk/Makefile.am (sources): add ChildPropertyAttribute.cs * gtk/gtk-api.raw: regenerate for parser changes (remove "Child"/"child_" from child property names). * gtk/ChildPropertyAttribute.cs: attribute used to label GtkContainer child properties * gtk/Container.custom: define the ContainerChild class, and an indexer to return instances of it. * doc/en/Gtk/: update for container child property change svn path=/trunk/gtk-sharp/; revision=36284
87 lines
4.2 KiB
XML
87 lines
4.2 KiB
XML
<Type Name="BoxChild" FullName="Gtk.Box+BoxChild">
|
|
<TypeSignature Language="C#" Value="public class BoxChild : Gtk.Container+ContainerChild" Maintainer="auto" />
|
|
<AssemblyInfo>
|
|
<AssemblyName>gtk-sharp</AssemblyName>
|
|
<AssemblyPublicKey>[00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4]</AssemblyPublicKey>
|
|
<AssemblyVersion>2.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>A child of a <see cref="T:Gtk.Box" />, used to interact with its container child properties.</summary>
|
|
<remarks></remarks>
|
|
</Docs>
|
|
<Base>
|
|
<BaseTypeName>Gtk.Container+ContainerChild</BaseTypeName>
|
|
</Base>
|
|
<Interfaces />
|
|
<Attributes />
|
|
<Members>
|
|
<Member MemberName="PackType">
|
|
<MemberSignature Language="C#" Value="public Gtk.PackType PackType { set; get; };" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>Gtk.PackType</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters />
|
|
<Docs>
|
|
<summary>The child's pack type (start or end)</summary>
|
|
<returns>a <see cref="T:Gtk.PackType" /></returns>
|
|
<remarks>See <see cref="M:Gtk.Box.QueryChildPacking" /> for more details about <see cref="T:Gtk.Box" /> child properties.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="Padding">
|
|
<MemberSignature Language="C#" Value="public uint Padding { set; get; };" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.UInt32</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters />
|
|
<Docs>
|
|
<summary>The child's padding</summary>
|
|
<returns>the padding</returns>
|
|
<remarks>See <see cref="M:Gtk.Box.QueryChildPacking" /> for more details about <see cref="T:Gtk.Box" /> child properties.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="Fill">
|
|
<MemberSignature Language="C#" Value="public bool Fill { set; get; };" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Boolean</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters />
|
|
<Docs>
|
|
<summary>The "fill" property for the child</summary>
|
|
<returns>the child's "fill" property</returns>
|
|
<remarks>See <see cref="M:Gtk.Box.QueryChildPacking" /> for more details about <see cref="T:Gtk.Box" /> child properties.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="Expand">
|
|
<MemberSignature Language="C#" Value="public bool Expand { set; get; };" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Boolean</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters />
|
|
<Docs>
|
|
<summary>The "expand" property for the child</summary>
|
|
<returns>the child's "expand" property</returns>
|
|
<remarks>See <see cref="M:Gtk.Box.QueryChildPacking" /> for more details about <see cref="T:Gtk.Box" /> child properties.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="Position">
|
|
<MemberSignature Language="C#" Value="public int Position { set; get; };" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Int32</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters />
|
|
<Docs>
|
|
<summary>The child's position in the <see cref="T:Gtk.Box" /></summary>
|
|
<returns>the child's position</returns>
|
|
<remarks>The child's position in the parent <see cref="T:Gtk.Box" /> reflects the order it was added in. Children with lower position values appear closer to the end they were packed onto. Children with higher position values appear closer to the center, or the opposite end.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
</Members>
|
|
</Type> |