Redo child property handling; now we generate classes to hold

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
This commit is contained in:
Dan Winship 2004-11-18 20:31:22 +00:00
parent 4584d47fc5
commit 9d04b4dd06
35 changed files with 1151 additions and 1066 deletions

View File

@ -1,3 +1,41 @@
2004-11-18 Dan Winship <danw@novell.com>
Redo child property handling; now we generate classes to hold 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.
2004-11-17 Jorn Baayen <jorn@nl.linux.org> 2004-11-17 Jorn Baayen <jorn@nl.linux.org>
* gtk/FileChooserDialog.custom : set TransientFor, not Parent. * gtk/FileChooserDialog.custom : set TransientFor, not Parent.

View File

@ -1,3 +1,7 @@
2004-11-18 Dan Winship <danw@novell.com>
* en/Gtk/: update for container child property change
2004-11-16 Dan Winship <danw@novell.com> 2004-11-16 Dan Winship <danw@novell.com>
* en/GLib/Value.xml: document new constructors * en/GLib/Value.xml: document new constructors

View File

@ -0,0 +1,49 @@
<Type Name="PropertyAttribute" FullName="GLib.PropertyAttribute">
<TypeSignature Language="C#" Value="public sealed class PropertyAttribute : System.Attribute" Maintainer="auto" />
<AssemblyInfo>
<AssemblyName>glib-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>Attribute used to label a <see cref="T:GLib.Object" /> property</summary>
<remarks></remarks>
</Docs>
<Base>
<BaseTypeName>System.Attribute</BaseTypeName>
</Base>
<Interfaces />
<Attributes />
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public PropertyAttribute (string name);" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="name" Type="System.String" />
</Parameters>
<Docs>
<summary>Attribute constructor</summary>
<param name="name">the (C/GObject) name of the property</param>
<returns>a <see cref="T:GLib.PropertyAttribute" /></returns>
<remarks></remarks>
</Docs>
</Member>
<Member MemberName="Name">
<MemberSignature Language="C#" Value="public string Name { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>The (C/GObject) name of the property</summary>
<returns>a <see cref="T:System.String" /></returns>
<remarks></remarks>
</Docs>
</Member>
</Members>
</Type>

View File

@ -283,174 +283,20 @@
</remarks> </remarks>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="GetChildPadding"> <Member MemberName="Item">
<MemberSignature Language="C#" Value="public uint GetChildPadding (Gtk.Widget child);" /> <MemberSignature Language="C#" Value="public override Gtk.Container+ContainerChild Item { get; };" />
<MemberType>Method</MemberType> <MemberType>Property</MemberType>
<ReturnValue> <ReturnValue>
<ReturnType>System.UInt32</ReturnType> <ReturnType>Gtk.Container+ContainerChild</ReturnType>
</ReturnValue> </ReturnValue>
<Parameters> <Parameters>
<Parameter Name="child" Type="Gtk.Widget" /> <Parameter Name="child" Type="Gtk.Widget" />
</Parameters> </Parameters>
<Docs> <Docs>
<summary>Get the padding for <paramref name="child" />.</summary> <summary>Accessor for child property items</summary>
<param name="child">a child of this <see cref="T:Gtk.Box" /></param> <param name="child">a child of this <see cref="T:Gtk.Box" /></param>
<returns> <returns>a <see cref="T:Gtk.Container+ContainerChild" /></returns>
<paramref name="child" />'s padding</returns> <remarks>You can cast the returned object to <see cref="T:Gtk.Menu+MenuChild" /> to access its child properties.</remarks>
<remarks>See <see cref="M:Gtk.Box.QueryChildPacking" /> for more details about <see cref="T:Gtk.Box" /> child properties.</remarks>
</Docs>
</Member>
<Member MemberName="SetChildPadding">
<MemberSignature Language="C#" Value="public void SetChildPadding (Gtk.Widget child, uint value);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
<Parameter Name="value" Type="System.UInt32" />
</Parameters>
<Docs>
<summary>Set the padding for <paramref name="child" />.</summary>
<param name="child">a child of this <see cref="T:Gtk.Box" /></param>
<param name="value">the new padding value for <paramref name="child" /></param>
<remarks>See <see cref="M:Gtk.Box.SetChildPacking" /> for more details about <see cref="T:Gtk.Box" /> child properties.</remarks>
</Docs>
</Member>
<Member MemberName="GetChildFill">
<MemberSignature Language="C#" Value="public bool GetChildFill (Gtk.Widget child);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
</Parameters>
<Docs>
<summary>Get the "fill" property for <paramref name="child" />.</summary>
<param name="child">a child of this <see cref="T:Gtk.Box" /></param>
<returns>
<paramref name="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="SetChildFill">
<MemberSignature Language="C#" Value="public void SetChildFill (Gtk.Widget child, bool value);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
<Parameter Name="value" Type="System.Boolean" />
</Parameters>
<Docs>
<summary>Set the "fill" property for <paramref name="child" />.</summary>
<param name="child">a child of this <see cref="T:Gtk.Box" /></param>
<param name="value">the new "fill" property for <paramref name="child" />.</param>
<remarks>See <see cref="M:Gtk.Box.SetChildPacking" /> for more details about <see cref="T:Gtk.Box" /> child properties.</remarks>
</Docs>
</Member>
<Member MemberName="GetChildExpand">
<MemberSignature Language="C#" Value="public bool GetChildExpand (Gtk.Widget child);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
</Parameters>
<Docs>
<summary>Get the "expand" property for <paramref name="child" />.</summary>
<param name="child">a child of this <see cref="T:Gtk.Box" /></param>
<returns>
<paramref name="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="SetChildExpand">
<MemberSignature Language="C#" Value="public void SetChildExpand (Gtk.Widget child, bool value);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
<Parameter Name="value" Type="System.Boolean" />
</Parameters>
<Docs>
<summary>Set the "expand" property for <paramref name="child" />.</summary>
<param name="child">a child of this <see cref="T:Gtk.Box" /></param>
<param name="value">the new "expand" property for <paramref name="child" /></param>
<remarks>See <see cref="M:Gtk.Box.SetChildPacking" /> for more details about <see cref="T:Gtk.Box" /> child properties.</remarks>
</Docs>
</Member>
<Member MemberName="GetChildPackType">
<MemberSignature Language="C#" Value="public Gtk.PackType GetChildPackType (Gtk.Widget child);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Gtk.PackType</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
</Parameters>
<Docs>
<summary>Get the pack type (start or end) for <paramref name="child" />.</summary>
<param name="child">a child of this <see cref="T:Gtk.Box" /></param>
<returns>
<paramref name="child" />'s <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="SetChildPackType">
<MemberSignature Language="C#" Value="public void SetChildPackType (Gtk.Widget child, Gtk.PackType value);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
<Parameter Name="value" Type="Gtk.PackType" />
</Parameters>
<Docs>
<summary>Set the pack type (start or end) for <paramref name="child" />.</summary>
<param name="child">a child of this <see cref="T:Gtk.Box" /></param>
<param name="value">the new <see cref="T:Gtk.PackType" /> for <paramref name="child" /></param>
<remarks>See <see cref="M:Gtk.Box.SetChildPacking" /> for more details about <see cref="T:Gtk.Box" /> child properties.</remarks>
</Docs>
</Member>
<Member MemberName="GetChildPosition">
<MemberSignature Language="C#" Value="public int GetChildPosition (Gtk.Widget child);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
</Parameters>
<Docs>
<summary>Get the position of <paramref name="child" />.</summary>
<param name="child">a child of this <see cref="T:Gtk.Box" /></param>
<returns>
<paramref name="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>
<Member MemberName="SetChildPosition">
<MemberSignature Language="C#" Value="public void SetChildPosition (Gtk.Widget child, int value);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
<Parameter Name="value" Type="System.Int32" />
</Parameters>
<Docs>
<summary>Set the position of <paramref name="child" />.</summary>
<param name="child">a child of this <see cref="T:Gtk.Box" /></param>
<param name="value">the new position for <paramref name="child" /></param>
<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> </Docs>
</Member> </Member>
</Members> </Members>

87
doc/en/Gtk/BoxChild.xml Normal file
View File

@ -0,0 +1,87 @@
<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>

View File

@ -198,6 +198,22 @@
<remarks>To be added</remarks> <remarks>To be added</remarks>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="Item">
<MemberSignature Language="C#" Value="public override Gtk.Container+ContainerChild Item { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Gtk.Container+ContainerChild</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
</Parameters>
<Docs>
<summary>Accessor for child property items</summary>
<param name="child">a child of this <see cref="T:Gtk.ButtonBox" /></param>
<returns>a <see cref="T:Gtk.Container+ContainerChild" /></returns>
<remarks>You can cast the returned object to <see cref="T:Gtk.ButtonBox+ButtonBoxChild" /> to access its child properties.</remarks>
</Docs>
</Member>
<Member MemberName="GetChildSecondary"> <Member MemberName="GetChildSecondary">
<MemberSignature Language="C#" Value="public bool GetChildSecondary (Gtk.Widget child);" /> <MemberSignature Language="C#" Value="public bool GetChildSecondary (Gtk.Widget child);" />
<MemberType>Method</MemberType> <MemberType>Method</MemberType>
@ -208,30 +224,27 @@
<Parameter Name="child" Type="Gtk.Widget" /> <Parameter Name="child" Type="Gtk.Widget" />
</Parameters> </Parameters>
<Docs> <Docs>
<summary>Gets whether <paramref name="child" /> is in the secondary group of children.</summary> <summary>To be added</summary>
<param name="child">a child of this <see cref="T:Gtk.ButtonBox" /></param> <param name="child">a <see cref="T:Gtk.Widget" /></param>
<returns>a <see cref="T:System.Boolean" /></returns> <returns>a <see cref="T:System.Boolean" /></returns>
<remarks>See <see cref="M:Gtk.ButtonBox.SetChildSecondary"/> for more details on the "secondary" child property.</remarks> <remarks>To be added</remarks>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="SetChildSecondary"> <Member MemberName="SetChildSecondary">
<MemberSignature Language="C#" Value="public void SetChildSecondary (Gtk.Widget child, bool value);" /> <MemberSignature Language="C#" Value="public void SetChildSecondary (Gtk.Widget child, bool is_secondary);" />
<MemberType>Method</MemberType> <MemberType>Method</MemberType>
<ReturnValue> <ReturnValue>
<ReturnType>System.Void</ReturnType> <ReturnType>System.Void</ReturnType>
</ReturnValue> </ReturnValue>
<Parameters> <Parameters>
<Parameter Name="child" Type="Gtk.Widget" /> <Parameter Name="child" Type="Gtk.Widget" />
<Parameter Name="value" Type="System.Boolean" /> <Parameter Name="is_secondary" Type="System.Boolean" />
</Parameters> </Parameters>
<Docs> <Docs>
<summary>Sets whether <paramref name="child" /> should appear in a secondary group of children. A typical use of a secondary child is the help button in a dialog.</summary> <summary>To be added</summary>
<param name="child">a child of this <see cref="T:Gtk.ButtonBox" /></param> <param name="child">a <see cref="T:Gtk.Widget" /></param>
<param name="value"> <param name="is_secondary">a <see cref="T:System.Boolean" /></param>
<see langword="true" /> if <paramref name="child" /> should be placed in a secondary group, <see langword="false" /> otherwise.</param> <remarks>To be added</remarks>
<remarks>
<para>A secondary group appears after the other children if the style is <see cref="P:Gtk.ButtonBoxStyle.Start" />, <see cref="P:Gtk.ButtonBoxStyle.Spread" /> or <see cref="P:Gtk.ButtonBoxStyle.Edge" />, and before the the other children if the style is <see cref="P:Gtk.ButtonBoxStyle.End" />. For horizontal button boxes, the definition of before/after depends on direction of the widget (see <see cref="P:Gtk.Widget.Direction" />). If the style is <see cref="P:Gtk.ButtonBoxStyle.Start" /> or <see cref="P:Gtk.ButtonBoxStyle.End" />, then the secondary children are aligned at the other end of the button box from the main children. For the other styles, they appear immediately next to the main children.</para>
</remarks>
</Docs> </Docs>
</Member> </Member>
</Members> </Members>

View File

@ -0,0 +1,39 @@
<Type Name="ButtonBoxChild" FullName="Gtk.ButtonBox+ButtonBoxChild">
<TypeSignature Language="C#" Value="public class ButtonBoxChild : 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.ButtonBox" />, used to interact with its container child properties.</summary>
<remarks></remarks>
</Docs>
<Base>
<BaseTypeName>Gtk.Container+ContainerChild</BaseTypeName>
</Base>
<Interfaces />
<Attributes />
<Members>
<Member MemberName="Secondary">
<MemberSignature Language="C#" Value="public bool Secondary { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Whether or not the child should appear in a secondary group of children</summary>
<returns>
<see langword="true" /> or <see langword="false" />
</returns>
<remarks>
<para>A secondary group appears after the other children if the style is <see cref="P:Gtk.ButtonBoxStyle.Start" />, <see cref="P:Gtk.ButtonBoxStyle.Spread" /> or <see cref="P:Gtk.ButtonBoxStyle.Edge" />, and before the the other children if the style is <see cref="P:Gtk.ButtonBoxStyle.End" />. For horizontal button boxes, the definition of before/after depends on direction of the widget (see <see cref="P:Gtk.Widget.Direction" />). If the style is <see cref="P:Gtk.ButtonBoxStyle.Start" /> or <see cref="P:Gtk.ButtonBoxStyle.End" />, then the secondary children are aligned at the other end of the button box from the main children. For the other styles, they appear immediately next to the main children.</para>
</remarks>
</Docs>
</Member>
</Members>
</Type>

View File

@ -0,0 +1,49 @@
<Type Name="ChildPropertyAttribute" FullName="Gtk.ChildPropertyAttribute">
<TypeSignature Language="C#" Value="public sealed class ChildPropertyAttribute : System.Attribute" 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>Attribute used to label a <see cref="T:Gtk.Container" /> child property</summary>
<remarks></remarks>
</Docs>
<Base>
<BaseTypeName>System.Attribute</BaseTypeName>
</Base>
<Interfaces />
<Attributes />
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public ChildPropertyAttribute (string name);" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="name" Type="System.String" />
</Parameters>
<Docs>
<summary>Attribute constructor</summary>
<param name="name">the (C/GObject) name of the child property</param>
<returns>a <see cref="T:Gtk.ChildPropertyAttribute" /></returns>
<remarks></remarks>
</Docs>
</Member>
<Member MemberName="Name">
<MemberSignature Language="C#" Value="public string Name { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>The (C/GObject) name of the child property</summary>
<returns>a <see cref="T:System.String" /></returns>
<remarks></remarks>
</Docs>
</Member>
</Members>
</Type>

View File

@ -624,5 +624,21 @@
<remarks>To be added</remarks> <remarks>To be added</remarks>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="Item">
<MemberSignature Language="C#" Value="public virtual Gtk.Container+ContainerChild Item { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Gtk.Container+ContainerChild</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="w" Type="Gtk.Widget" />
</Parameters>
<Docs>
<summary>Access for child properties</summary>
<param name="w">a child of this container</param>
<returns>a <see cref="T:Gtk.Container+ContainerChild" /></returns>
<remarks>The base <see cref="T:Gtk.Container+ContainerChild" /> type is not very useful; you will normally need to cast it to a subclass of the appropriate type.</remarks>
</Docs>
</Member>
</Members> </Members>
</Type> </Type>

View File

@ -0,0 +1,90 @@
<Type Name="ContainerChild" FullName="Gtk.Container+ContainerChild">
<TypeSignature Language="C#" Value="public class 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>To be added</summary>
<remarks>To be added</remarks>
</Docs>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Attributes />
<Members>
<Member MemberName="parent">
<MemberSignature Language="C#" Value="protected Gtk.Container parent;" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>Gtk.Container</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>To be added</summary>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="child">
<MemberSignature Language="C#" Value="protected Gtk.Widget child;" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>Gtk.Widget</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<summary>To be added</summary>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public ContainerChild (Gtk.Container parent, Gtk.Widget child);" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="parent" Type="Gtk.Container" />
<Parameter Name="child" Type="Gtk.Widget" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="parent">a <see cref="T:Gtk.Container" /></param>
<param name="child">a <see cref="T:Gtk.Widget" /></param>
<returns>a <see cref="T:Gtk.Container+ContainerChild" /></returns>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="Parent">
<MemberSignature Language="C#" Value="public Gtk.Container Parent { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Gtk.Container</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added</summary>
<returns>a <see cref="T:Gtk.Container" /></returns>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="Child">
<MemberSignature Language="C#" Value="public Gtk.Widget Child { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Gtk.Widget</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added</summary>
<returns>a <see cref="T:Gtk.Widget" /></returns>
<remarks>To be added</remarks>
</Docs>
</Member>
</Members>
</Type>

View File

@ -171,70 +171,20 @@
<remarks>Chain to this constructor if you have manually registered a native <see cref="T:GLib.GType" /> value for your subclass.</remarks> <remarks>Chain to this constructor if you have manually registered a native <see cref="T:GLib.GType" /> value for your subclass.</remarks>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="GetChildX"> <Member MemberName="Item">
<MemberSignature Language="C#" Value="public int GetChildX (Gtk.Widget child);" /> <MemberSignature Language="C#" Value="public override Gtk.Container+ContainerChild Item { get; };" />
<MemberType>Method</MemberType> <MemberType>Property</MemberType>
<ReturnValue> <ReturnValue>
<ReturnType>System.Int32</ReturnType> <ReturnType>Gtk.Container+ContainerChild</ReturnType>
</ReturnValue> </ReturnValue>
<Parameters> <Parameters>
<Parameter Name="child" Type="Gtk.Widget" /> <Parameter Name="child" Type="Gtk.Widget" />
</Parameters> </Parameters>
<Docs> <Docs>
<summary>Get the X coordinate of a child <see cref="T:Gtk.Widget"/>.</summary> <summary>Accessor for child property items</summary>
<param name="child">a child of this <see cref="T:Gtk.Fixed" /></param> <param name="child">a child of this <see cref="T:Gtk.Fixed" /></param>
<returns><paramref name="child"/>'s X coordinate</returns> <returns>a <see cref="T:Gtk.Container+ContainerChild" /></returns>
<remarks></remarks> <remarks>You can cast the returned object to <see cref="T:Gtk.Fixed+FixedChild" /> to access its child properties.</remarks>
</Docs>
</Member>
<Member MemberName="SetChildX">
<MemberSignature Language="C#" Value="public void SetChildX (Gtk.Widget child, int value);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
<Parameter Name="value" Type="System.Int32" />
</Parameters>
<Docs>
<summary>Set the X coordinate of a child <see cref="T:Gtk.Widget"/>.</summary>
<param name="child">a child of this <see cref="T:Gtk.Fixed" /></param>
<param name="value"><paramref name="child"/>'s new X coordinate</param>
<remarks></remarks>
</Docs>
</Member>
<Member MemberName="GetChildY">
<MemberSignature Language="C#" Value="public int GetChildY (Gtk.Widget child);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
</Parameters>
<Docs>
<summary>Get the Y coordinate of a child <see cref="T:Gtk.Widget"/>.</summary>
<param name="child">a child of this <see cref="T:Gtk.Fixed" /></param>
<returns><paramref name="child"/>'s Y coordinate</returns>
<remarks></remarks>
</Docs>
</Member>
<Member MemberName="SetChildY">
<MemberSignature Language="C#" Value="public void SetChildY (Gtk.Widget child, int value);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
<Parameter Name="value" Type="System.Int32" />
</Parameters>
<Docs>
<summary>Set the Y coordinate of a child <see cref="T:Gtk.Widget"/>.</summary>
<param name="child">a child of this <see cref="T:Gtk.Fixed" /></param>
<param name="value"><paramref name="child"/>'s new Y coordinate</param>
<remarks></remarks>
</Docs> </Docs>
</Member> </Member>
</Members> </Members>

48
doc/en/Gtk/FixedChild.xml Normal file
View File

@ -0,0 +1,48 @@
<Type Name="FixedChild" FullName="Gtk.Fixed+FixedChild">
<TypeSignature Language="C#" Value="public class FixedChild : 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.Fixed" />, used to interact with its container child properties.</summary>
<remarks></remarks>
</Docs>
<Base>
<BaseTypeName>Gtk.Container+ContainerChild</BaseTypeName>
</Base>
<Interfaces />
<Attributes />
<Members>
<Member MemberName="X">
<MemberSignature Language="C#" Value="public int X { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>The child's X coordinate</summary>
<returns>The child's X coordinate</returns>
<remarks></remarks>
</Docs>
</Member>
<Member MemberName="Y">
<MemberSignature Language="C#" Value="public int Y { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>The child's Y coordinate</summary>
<returns>The child's Y coordinate</returns>
<remarks></remarks>
</Docs>
</Member>
</Members>
</Type>

View File

@ -311,70 +311,20 @@
<remarks>To be added</remarks> <remarks>To be added</remarks>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="GetChildX"> <Member MemberName="Item">
<MemberSignature Language="C#" Value="public int GetChildX (Gtk.Widget child);" /> <MemberSignature Language="C#" Value="public override Gtk.Container+ContainerChild Item { get; };" />
<MemberType>Method</MemberType> <MemberType>Property</MemberType>
<ReturnValue> <ReturnValue>
<ReturnType>System.Int32</ReturnType> <ReturnType>Gtk.Container+ContainerChild</ReturnType>
</ReturnValue> </ReturnValue>
<Parameters> <Parameters>
<Parameter Name="child" Type="Gtk.Widget" /> <Parameter Name="child" Type="Gtk.Widget" />
</Parameters> </Parameters>
<Docs> <Docs>
<summary>Get the X coordinate of a child <see cref="T:Gtk.Widget"/>.</summary> <summary>Accessor for child property items</summary>
<param name="child">a child of this <see cref="T:Gtk.Layout" /></param> <param name="child">a child of this layout</param>
<returns><paramref name="child"/>'s X coordinate</returns> <returns>a <see cref="T:Gtk.Container+ContainerChild" /></returns>
<remarks></remarks> <remarks>You can cast the returned object to <see cref="T:Gtk.Layout+LayoutChild" /> to access its child properties.</remarks>
</Docs>
</Member>
<Member MemberName="SetChildX">
<MemberSignature Language="C#" Value="public void SetChildX (Gtk.Widget child, int value);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
<Parameter Name="value" Type="System.Int32" />
</Parameters>
<Docs>
<summary>Set the X coordinate of a child <see cref="T:Gtk.Widget"/>.</summary>
<param name="child">a child of this <see cref="T:Gtk.Layout" /></param>
<param name="value"><paramref name="child"/>'s new X coordinate</param>
<remarks></remarks>
</Docs>
</Member>
<Member MemberName="GetChildY">
<MemberSignature Language="C#" Value="public int GetChildY (Gtk.Widget child);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
</Parameters>
<Docs>
<summary>Get the Y coordinate of a child <see cref="T:Gtk.Widget"/>.</summary>
<param name="child">a child of this <see cref="T:Gtk.Layout" /></param>
<returns><paramref name="child"/>'s Y coordinate</returns>
<remarks></remarks>
</Docs>
</Member>
<Member MemberName="SetChildY">
<MemberSignature Language="C#" Value="public void SetChildY (Gtk.Widget child, int value);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
<Parameter Name="value" Type="System.Int32" />
</Parameters>
<Docs>
<summary>Set the Y coordinate of a child <see cref="T:Gtk.Widget"/>.</summary>
<param name="child">a child of this <see cref="T:Gtk.Layout" /></param>
<param name="value"><paramref name="child"/>'s new Y coordinate</param>
<remarks></remarks>
</Docs> </Docs>
</Member> </Member>
</Members> </Members>

View File

@ -0,0 +1,48 @@
<Type Name="LayoutChild" FullName="Gtk.Layout+LayoutChild">
<TypeSignature Language="C#" Value="public class LayoutChild : 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.Layout" />, used to interact with its container child properties.</summary>
<remarks></remarks>
</Docs>
<Base>
<BaseTypeName>Gtk.Container+ContainerChild</BaseTypeName>
</Base>
<Interfaces />
<Attributes />
<Members>
<Member MemberName="X">
<MemberSignature Language="C#" Value="public int X { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>X coordinate of the child</summary>
<returns>the child's X coordinate</returns>
<remarks></remarks>
</Docs>
</Member>
<Member MemberName="Y">
<MemberSignature Language="C#" Value="public int Y { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Y coordinate of the child</summary>
<returns>the child's Y coordinate</returns>
<remarks></remarks>
</Docs>
</Member>
</Members>
</Type>

View File

@ -524,136 +524,20 @@ class PopupSample
<remarks>To be added</remarks> <remarks>To be added</remarks>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="GetChildTopAttach"> <Member MemberName="Item">
<MemberSignature Language="C#" Value="public int GetChildTopAttach (Gtk.Widget child);" /> <MemberSignature Language="C#" Value="public override Gtk.Container+ContainerChild Item { get; };" />
<MemberType>Method</MemberType> <MemberType>Property</MemberType>
<ReturnValue> <ReturnValue>
<ReturnType>System.Int32</ReturnType> <ReturnType>Gtk.Container+ContainerChild</ReturnType>
</ReturnValue> </ReturnValue>
<Parameters> <Parameters>
<Parameter Name="child" Type="Gtk.Widget" /> <Parameter Name="child" Type="Gtk.Widget" />
</Parameters> </Parameters>
<Docs> <Docs>
<summary>Get the row that the top of a menu item is attached to.</summary> <summary>Accessor for child property items</summary>
<param name="child">a child of this <see cref="T:Gtk.Menu" /></param> <param name="child">a child of this <see cref="T:Gtk.Menu" /></param>
<returns>the row</returns> <returns>a <see cref="T:Gtk.Container+ContainerChild" /></returns>
<remarks>See <see cref="M:Gtk.Menu.Attach"/>.</remarks> <remarks>You can cast the returned object to <see cref="T:Gtk.Menu+MenuChild" /> to access its child properties.</remarks>
</Docs>
</Member>
<Member MemberName="SetChildTopAttach">
<MemberSignature Language="C#" Value="public void SetChildTopAttach (Gtk.Widget child, int value);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
<Parameter Name="value" Type="System.Int32" />
</Parameters>
<Docs>
<summary>Set the row that the top of a menu item is attached to.</summary>
<param name="child">a child of this <see cref="T:Gtk.Menu" /></param>
<param name="value">the row</param>
<remarks>See <see cref="M:Gtk.Menu.Attach"/>.</remarks>
</Docs>
</Member>
<Member MemberName="GetChildBottomAttach">
<MemberSignature Language="C#" Value="public int GetChildBottomAttach (Gtk.Widget child);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
</Parameters>
<Docs>
<summary>Get the row that the bottom of a menu item is attached to.</summary>
<param name="child">a child of this <see cref="T:Gtk.Menu" /></param>
<returns>the row</returns>
<remarks>See <see cref="M:Gtk.Menu.Attach"/>.</remarks>
</Docs>
</Member>
<Member MemberName="SetChildBottomAttach">
<MemberSignature Language="C#" Value="public void SetChildBottomAttach (Gtk.Widget child, int value);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
<Parameter Name="value" Type="System.Int32" />
</Parameters>
<Docs>
<summary>Set the row that the bottom of a menu item is attached to.</summary>
<param name="child">a child of this <see cref="T:Gtk.Menu" /></param>
<param name="value">the row</param>
<remarks>See <see cref="M:Gtk.Menu.Attach"/>.</remarks>
</Docs>
</Member>
<Member MemberName="GetChildRightAttach">
<MemberSignature Language="C#" Value="public int GetChildRightAttach (Gtk.Widget child);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
</Parameters>
<Docs>
<summary>Get the column that the right of a menu item is attached to.</summary>
<param name="child">a child of this <see cref="T:Gtk.Menu" /></param>
<returns>the column</returns>
<remarks>See <see cref="M:Gtk.Menu.Attach"/>.</remarks>
</Docs>
</Member>
<Member MemberName="SetChildRightAttach">
<MemberSignature Language="C#" Value="public void SetChildRightAttach (Gtk.Widget child, int value);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
<Parameter Name="value" Type="System.Int32" />
</Parameters>
<Docs>
<summary>Set the column that the right of a menu item is attached to.</summary>
<param name="child">a child of this <see cref="T:Gtk.Menu" /></param>
<param name="value">the column</param>
<remarks>See <see cref="M:Gtk.Menu.Attach"/>.</remarks>
</Docs>
</Member>
<Member MemberName="GetChildLeftAttach">
<MemberSignature Language="C#" Value="public int GetChildLeftAttach (Gtk.Widget child);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
</Parameters>
<Docs>
<summary>Get the column that the left of a menu item is attached to.</summary>
<param name="child">a child of this <see cref="T:Gtk.Menu" /></param>
<returns>the column</returns>
<remarks>See <see cref="M:Gtk.Menu.Attach"/>.</remarks>
</Docs>
</Member>
<Member MemberName="SetChildLeftAttach">
<MemberSignature Language="C#" Value="public void SetChildLeftAttach (Gtk.Widget child, int value);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
<Parameter Name="value" Type="System.Int32" />
</Parameters>
<Docs>
<summary>Set the column that the left of a menu item is attached to.</summary>
<param name="child">a child of this <see cref="T:Gtk.Menu" /></param>
<param name="value">the column</param>
<remarks>See <see cref="M:Gtk.Menu.Attach"/>.</remarks>
</Docs> </Docs>
</Member> </Member>
</Members> </Members>

74
doc/en/Gtk/MenuChild.xml Normal file
View File

@ -0,0 +1,74 @@
<Type Name="MenuChild" FullName="Gtk.Menu+MenuChild">
<TypeSignature Language="C#" Value="public class MenuChild : 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.Menu" />, used to interact with its container child properties.</summary>
<remarks></remarks>
</Docs>
<Base>
<BaseTypeName>Gtk.Container+ContainerChild</BaseTypeName>
</Base>
<Interfaces />
<Attributes />
<Members>
<Member MemberName="BottomAttach">
<MemberSignature Language="C#" Value="public int BottomAttach { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>The row that the bottom of the menu item is attached to.</summary>
<returns>the row</returns>
<remarks>See <see cref="M:Gtk.Menu.Attach" /> for more details</remarks>
</Docs>
</Member>
<Member MemberName="TopAttach">
<MemberSignature Language="C#" Value="public int TopAttach { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>The row that the top of the menu item is attached to.</summary>
<returns>the row</returns>
<remarks>See <see cref="M:Gtk.Menu.Attach" /> for more details</remarks>
</Docs>
</Member>
<Member MemberName="LeftAttach">
<MemberSignature Language="C#" Value="public int LeftAttach { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>The column that the left side of the menu item is attached to.</summary>
<returns>the column</returns>
<remarks>See <see cref="M:Gtk.Menu.Attach" /> for more details</remarks>
</Docs>
</Member>
<Member MemberName="RightAttach">
<MemberSignature Language="C#" Value="public int RightAttach { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>The column that the right side of the menu item is attached to.</summary>
<returns>the column</returns>
<remarks>See <see cref="M:Gtk.Menu.Attach" /> for more details</remarks>
</Docs>
</Member>
</Members>
</Type>

View File

@ -1031,202 +1031,20 @@ Don't forget to call the Show method on the widget or else the new page will not
</remarks> </remarks>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="GetChildTabLabel"> <Member MemberName="Item">
<MemberSignature Language="C#" Value="public string GetChildTabLabel (Gtk.Widget child);" /> <MemberSignature Language="C#" Value="public override Gtk.Container+ContainerChild Item { get; };" />
<MemberType>Method</MemberType> <MemberType>Property</MemberType>
<ReturnValue> <ReturnValue>
<ReturnType>System.String</ReturnType> <ReturnType>Gtk.Container+ContainerChild</ReturnType>
</ReturnValue> </ReturnValue>
<Parameters> <Parameters>
<Parameter Name="child" Type="Gtk.Widget" /> <Parameter Name="child" Type="Gtk.Widget" />
</Parameters> </Parameters>
<Docs> <Docs>
<summary>Get a page's tab label.</summary> <summary>Accessor for child property items</summary>
<param name="child">a child of this <see cref="T:Gtk.Notebook" /></param> <param name="child">a child of this <see cref="T:Gtk.Notebook" /></param>
<returns>the page's tab label</returns> <returns>a <see cref="T:Gtk.Container+ContainerChild" /></returns>
<remarks></remarks> <remarks>You can cast the returned object to <see cref="T:Gtk.Notebook+NotebookChild" /> to access its child properties.</remarks>
</Docs>
</Member>
<Member MemberName="SetChildTabLabel">
<MemberSignature Language="C#" Value="public void SetChildTabLabel (Gtk.Widget child, string value);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
<Parameter Name="value" Type="System.String" />
</Parameters>
<Docs>
<summary>Set a page's tab label.</summary>
<param name="child">a child of this <see cref="T:Gtk.Notebook" /></param>
<param name="value">the page's new tab label</param>
<remarks></remarks>
</Docs>
</Member>
<Member MemberName="GetChildTabFill">
<MemberSignature Language="C#" Value="public bool GetChildTabFill (Gtk.Widget child);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
</Parameters>
<Docs>
<summary>Get the "fill" value of a page's tab label.</summary>
<param name="child">a child of this <see cref="T:Gtk.Notebook" /></param>
<returns><see langword="true"/> if the page's label is set to "fill"</returns>
<remarks>See <see cref="M:Gtk.Notebook.QueryTabLabelPacking"/> for more details.</remarks>
</Docs>
</Member>
<Member MemberName="SetChildTabFill">
<MemberSignature Language="C#" Value="public void SetChildTabFill (Gtk.Widget child, bool value);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
<Parameter Name="value" Type="System.Boolean" />
</Parameters>
<Docs>
<summary>Set the "fill" value of a page's tab label.</summary>
<param name="child">a child of this <see cref="T:Gtk.Notebook" /></param>
<param name="value">whether or not the page's label should "fill"</param>
<remarks>See <see cref="M:Gtk.Notebook.SetTabLabelPacking"/> for more details.</remarks>
</Docs>
</Member>
<Member MemberName="GetChildTabExpand">
<MemberSignature Language="C#" Value="public bool GetChildTabExpand (Gtk.Widget child);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
</Parameters>
<Docs>
<summary>Get the "expand" value of a page's tab label.</summary>
<param name="child">a child of this <see cref="T:Gtk.Notebook" /></param>
<returns><see langword="true"/> if the page's label is set to "expand"</returns>
<remarks>See <see cref="M:Gtk.Notebook.QueryTabLabelPacking"/> for more details.</remarks>
</Docs>
</Member>
<Member MemberName="SetChildTabExpand">
<MemberSignature Language="C#" Value="public void SetChildTabExpand (Gtk.Widget child, bool value);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
<Parameter Name="value" Type="System.Boolean" />
</Parameters>
<Docs>
<summary>Set the "expand" value of a a page's tab label.</summary>
<param name="child">a child of this <see cref="T:Gtk.Notebook" /></param>
<param name="value">whether or not the page's label should "expand"</param>
<remarks>See <see cref="M:Gtk.Notebook.SetTabLabelPacking"/> for more details.</remarks>
</Docs>
</Member>
<Member MemberName="GetChildTabPack">
<MemberSignature Language="C#" Value="public Gtk.PackType GetChildTabPack (Gtk.Widget child);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Gtk.PackType</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
</Parameters>
<Docs>
<summary>Get the pack type of a page's tab label.</summary>
<param name="child">a child of this <see cref="T:Gtk.Notebook" /></param>
<returns><paramref name="child"/>'s label's pack type</returns>
<remarks>See <see cref="M:Gtk.Notebook.QueryTabLabelPacking"/> for more details.</remarks>
</Docs>
</Member>
<Member MemberName="SetChildTabPack">
<MemberSignature Language="C#" Value="public void SetChildTabPack (Gtk.Widget child, Gtk.PackType value);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
<Parameter Name="value" Type="Gtk.PackType" />
</Parameters>
<Docs>
<summary>Set the pack type of a page's tab label.</summary>
<param name="child">a child of this <see cref="T:Gtk.Notebook" /></param>
<param name="value"><paramref name="child"/>'s label's new pack type</param>
<remarks>See <see cref="M:Gtk.Notebook.SetTabLabelPacking"/> for more details.</remarks>
</Docs>
</Member>
<Member MemberName="GetChildPosition">
<MemberSignature Language="C#" Value="public int GetChildPosition (Gtk.Widget child);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
</Parameters>
<Docs>
<summary>Get the position within the notebook of a page.</summary>
<param name="child">a child of this <see cref="T:Gtk.Notebook" /></param>
<returns>the position of <paramref name="child"/> in the notebook</returns>
<remarks></remarks>
</Docs>
</Member>
<Member MemberName="SetChildPosition">
<MemberSignature Language="C#" Value="public void SetChildPosition (Gtk.Widget child, int value);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
<Parameter Name="value" Type="System.Int32" />
</Parameters>
<Docs>
<summary>Set the position within the notebook of a page.</summary>
<param name="child">a child of this <see cref="T:Gtk.Notebook" /></param>
<param name="value">the new position of <paramref name="child"/> in the notebook</param>
<remarks></remarks>
</Docs>
</Member>
<Member MemberName="GetChildMenuLabel">
<MemberSignature Language="C#" Value="public string GetChildMenuLabel (Gtk.Widget child);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
</Parameters>
<Docs>
<summary>Get a page's menu label.</summary>
<param name="child">a child of this <see cref="T:Gtk.Notebook" /></param>
<returns>the label of that page in the notebook's pop-up menu</returns>
<remarks></remarks>
</Docs>
</Member>
<Member MemberName="SetChildMenuLabel">
<MemberSignature Language="C#" Value="public void SetChildMenuLabel (Gtk.Widget child, string value);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
<Parameter Name="value" Type="System.String" />
</Parameters>
<Docs>
<summary>Set a page's menu label.</summary>
<param name="child">a child of this <see cref="T:Gtk.Notebook" /></param>
<param name="value">the new label of that page in the notebook's pop-up menu</param>
<remarks></remarks>
</Docs> </Docs>
</Member> </Member>
</Members> </Members>

View File

@ -0,0 +1,104 @@
<Type Name="NotebookChild" FullName="Gtk.Notebook+NotebookChild">
<TypeSignature Language="C#" Value="public class NotebookChild : 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.Notebook" />, used to interact with its container child properties.</summary>
<remarks></remarks>
</Docs>
<Base>
<BaseTypeName>Gtk.Container+ContainerChild</BaseTypeName>
</Base>
<Interfaces />
<Attributes />
<Members>
<Member MemberName="TabExpand">
<MemberSignature Language="C#" Value="public bool TabExpand { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>The "expand" property of a tab's label</summary>
<returns>
<see langword="true" /> if the page's label is set to "expand"
</returns>
<remarks>See <see cref="M:Gtk.Notebook.QueryTabLabelPacking" /> for more details.</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 page's position within the notebook.</summary>
<returns>the position</returns>
<remarks></remarks>
</Docs>
</Member>
<Member MemberName="MenuLabel">
<MemberSignature Language="C#" Value="public string MenuLabel { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>The page's menu label</summary>
<returns>the label of the page in the notebook's pop-up menu</returns>
<remarks></remarks>
</Docs>
</Member>
<Member MemberName="TabFill">
<MemberSignature Language="C#" Value="public bool TabFill { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>The "fill" property of a tab's label</summary>
<returns>
<see langword="true" /> if the page's label is set to "fill"
</returns>
<remarks>See <see cref="M:Gtk.Notebook.QueryTabLabelPacking" /> for more details.</remarks>
</Docs>
</Member>
<Member MemberName="TabPack">
<MemberSignature Language="C#" Value="public Gtk.PackType TabPack { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Gtk.PackType</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>The pack type of a page's tab label</summary>
<returns>the label's <see cref="T:Gtk.PackType" /></returns>
<remarks>See <see cref="M:Gtk.Notebook.QueryTabLabelPacking" /> for more details.</remarks>
</Docs>
</Member>
<Member MemberName="TabLabel">
<MemberSignature Language="C#" Value="public string TabLabel { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>The page's tab label</summary>
<returns>the label</returns>
<remarks></remarks>
</Docs>
</Member>
</Members>
</Type>

View File

@ -470,70 +470,20 @@ public Widget GetExampleFrame()
<remarks>To be added</remarks> <remarks>To be added</remarks>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="GetChildResize"> <Member MemberName="Item">
<MemberSignature Language="C#" Value="public bool GetChildResize (Gtk.Widget child);" /> <MemberSignature Language="C#" Value="public override Gtk.Container+ContainerChild Item { get; };" />
<MemberType>Method</MemberType> <MemberType>Property</MemberType>
<ReturnValue> <ReturnValue>
<ReturnType>System.Boolean</ReturnType> <ReturnType>Gtk.Container+ContainerChild</ReturnType>
</ReturnValue> </ReturnValue>
<Parameters> <Parameters>
<Parameter Name="child" Type="Gtk.Widget" /> <Parameter Name="child" Type="Gtk.Widget" />
</Parameters> </Parameters>
<Docs> <Docs>
<summary>Test whether or not the child resizes with the parent <see cref="T:Gtk.Paned"/></summary> <summary>Accessor for child property items</summary>
<param name="child">a child of this <see cref="T:Gtk.Paned" /></param> <param name="child">a child of this <see cref="T:Gtk.Paned" /></param>
<returns><see langword="true"/> if <paramref name="child"/> should be resized as the parent is resized</returns> <returns>a <see cref="T:Gtk.Container+ContainerChild" /></returns>
<remarks></remarks> <remarks>You can cast the returned object to <see cref="T:Gtk.Paned+PanedChild" /> to access its child properties.</remarks>
</Docs>
</Member>
<Member MemberName="SetChildResize">
<MemberSignature Language="C#" Value="public void SetChildResize (Gtk.Widget child, bool value);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
<Parameter Name="value" Type="System.Boolean" />
</Parameters>
<Docs>
<summary>Set whether or not the child resizes with the parent <see cref="T:Gtk.Paned"/></summary>
<param name="child">a child of this <see cref="T:Gtk.Paned" /></param>
<param name="value"><see langword="true"/> if <paramref name="child"/> should be resized as the parent is resized</param>
<remarks></remarks>
</Docs>
</Member>
<Member MemberName="GetChildShrink">
<MemberSignature Language="C#" Value="public bool GetChildShrink (Gtk.Widget child);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
</Parameters>
<Docs>
<summary>Test whether or not the child can be shrunk to less than its <see cref="T:Gtk.Requisition"/></summary>
<param name="child">a child of this <see cref="T:Gtk.Paned" /></param>
<returns><see langword="true"/> if the pane can be adjusted to make <paramref name="child"/> smaller than its <see cref="T:Gtk.Requisition"/></returns>
<remarks></remarks>
</Docs>
</Member>
<Member MemberName="SetChildShrink">
<MemberSignature Language="C#" Value="public void SetChildShrink (Gtk.Widget child, bool value);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
<Parameter Name="value" Type="System.Boolean" />
</Parameters>
<Docs>
<summary>Set whether or not the child can be shrunk to less than its <see cref="T:Gtk.Requisition"/></summary>
<param name="child">a child of this <see cref="T:Gtk.Paned" /></param>
<param name="value"><see langword="true"/> if the pane can be adjusted to make <paramref name="child"/> smaller than its <see cref="T:Gtk.Requisition"/></param>
<remarks></remarks>
</Docs> </Docs>
</Member> </Member>
</Members> </Members>

48
doc/en/Gtk/PanedChild.xml Normal file
View File

@ -0,0 +1,48 @@
<Type Name="PanedChild" FullName="Gtk.Paned+PanedChild">
<TypeSignature Language="C#" Value="public class PanedChild : 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.Paned" />, used to interact with its container child properties.</summary>
<remarks></remarks>
</Docs>
<Base>
<BaseTypeName>Gtk.Container+ContainerChild</BaseTypeName>
</Base>
<Interfaces />
<Attributes />
<Members>
<Member MemberName="Shrink">
<MemberSignature Language="C#" Value="public bool Shrink { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Whether or not the child can be shrunk to less than its <see cref="T:Gtk.Requisition" /></summary>
<returns><see langword="true" /> if the pane can be adjusted to make the child smaller than its <see cref="T:Gtk.Requisition" /></returns>
<remarks></remarks>
</Docs>
</Member>
<Member MemberName="Resize">
<MemberSignature Language="C#" Value="public bool Resize { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Whether or not the child resizes with the parent <see cref="T:Gtk.Paned" /></summary>
<returns><see langword="true" /> if the child should be resized as the parent is resized</returns>
<remarks></remarks>
</Docs>
</Member>
</Members>
</Type>

View File

@ -345,268 +345,20 @@ public Widget MakeTableTester()
<remarks>Chain to this constructor if you have manually registered a native <see cref="T:GLib.GType" /> value for your subclass.</remarks> <remarks>Chain to this constructor if you have manually registered a native <see cref="T:GLib.GType" /> value for your subclass.</remarks>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="GetChildXOptions"> <Member MemberName="Item">
<MemberSignature Language="C#" Value="public Gtk.AttachOptions GetChildXOptions (Gtk.Widget child);" /> <MemberSignature Language="C#" Value="public override Gtk.Container+ContainerChild Item { get; };" />
<MemberType>Method</MemberType> <MemberType>Property</MemberType>
<ReturnValue> <ReturnValue>
<ReturnType>Gtk.AttachOptions</ReturnType> <ReturnType>Gtk.Container+ContainerChild</ReturnType>
</ReturnValue> </ReturnValue>
<Parameters> <Parameters>
<Parameter Name="child" Type="Gtk.Widget" /> <Parameter Name="child" Type="Gtk.Widget" />
</Parameters> </Parameters>
<Docs> <Docs>
<summary>Get a child's horizontal attachment options</summary> <summary>Accessor for child property items</summary>
<param name="child">a child of this <see cref="T:Gtk.Table" /></param> <param name="child">a child of this table</param>
<returns>the <see cref="T:Gtk.AttachOptions" /></returns> <returns>a <see cref="T:Gtk.Container+ContainerChild" /></returns>
<remarks></remarks> <remarks>You can cast the returned object to <see cref="T:Gtk.Table+TableChild" /> to access its child properties.</remarks>
</Docs>
</Member>
<Member MemberName="SetChildXOptions">
<MemberSignature Language="C#" Value="public void SetChildXOptions (Gtk.Widget child, Gtk.AttachOptions value);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
<Parameter Name="value" Type="Gtk.AttachOptions" />
</Parameters>
<Docs>
<summary>Set a child's horizontal attachment options</summary>
<param name="child">a child of this <see cref="T:Gtk.Table" /></param>
<param name="value">the <see cref="T:Gtk.AttachOptions" /></param>
<remarks></remarks>
</Docs>
</Member>
<Member MemberName="GetChildYOptions">
<MemberSignature Language="C#" Value="public Gtk.AttachOptions GetChildYOptions (Gtk.Widget child);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Gtk.AttachOptions</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
</Parameters>
<Docs>
<summary>Get a child's vertical attachment options</summary>
<param name="child">a child of this <see cref="T:Gtk.Table" /></param>
<returns>the <see cref="T:Gtk.AttachOptions" /></returns>
<remarks></remarks>
</Docs>
</Member>
<Member MemberName="SetChildYOptions">
<MemberSignature Language="C#" Value="public void SetChildYOptions (Gtk.Widget child, Gtk.AttachOptions value);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
<Parameter Name="value" Type="Gtk.AttachOptions" />
</Parameters>
<Docs>
<summary>Set a child's vertical attachment options</summary>
<param name="child">a child of this <see cref="T:Gtk.Table" /></param>
<param name="value">the <see cref="T:Gtk.AttachOptions" /></param>
<remarks></remarks>
</Docs>
</Member>
<Member MemberName="GetChildBottomAttach">
<MemberSignature Language="C#" Value="public uint GetChildBottomAttach (Gtk.Widget child);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.UInt32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
</Parameters>
<Docs>
<summary>Get the row that the bottom of this child is attached to.</summary>
<param name="child">a child of this <see cref="T:Gtk.Table" /></param>
<returns>the row</returns>
<remarks></remarks>
</Docs>
</Member>
<Member MemberName="SetChildBottomAttach">
<MemberSignature Language="C#" Value="public void SetChildBottomAttach (Gtk.Widget child, uint value);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
<Parameter Name="value" Type="System.UInt32" />
</Parameters>
<Docs>
<summary>Set the row that the bottom of this child is attached to.</summary>
<param name="child">a child of this <see cref="T:Gtk.Table" /></param>
<param name="value">the row</param>
<remarks></remarks>
</Docs>
</Member>
<Member MemberName="GetChildTopAttach">
<MemberSignature Language="C#" Value="public uint GetChildTopAttach (Gtk.Widget child);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.UInt32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
</Parameters>
<Docs>
<summary>Get the row that the top of this child is attached to.</summary>
<param name="child">a child of this <see cref="T:Gtk.Table" /></param>
<returns>the row</returns>
<remarks></remarks>
</Docs>
</Member>
<Member MemberName="SetChildTopAttach">
<MemberSignature Language="C#" Value="public void SetChildTopAttach (Gtk.Widget child, uint value);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
<Parameter Name="value" Type="System.UInt32" />
</Parameters>
<Docs>
<summary>Set the row that the top of this child is attached to.</summary>
<param name="child">a child of this <see cref="T:Gtk.Table" /></param>
<param name="value">the row</param>
<remarks></remarks>
</Docs>
</Member>
<Member MemberName="GetChildLeftAttach">
<MemberSignature Language="C#" Value="public uint GetChildLeftAttach (Gtk.Widget child);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.UInt32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
</Parameters>
<Docs>
<summary>Get the column that the left of this child is attached to.</summary>
<param name="child">a child of this <see cref="T:Gtk.Table" /></param>
<returns>the column</returns>
<remarks></remarks>
</Docs>
</Member>
<Member MemberName="SetChildLeftAttach">
<MemberSignature Language="C#" Value="public void SetChildLeftAttach (Gtk.Widget child, uint value);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
<Parameter Name="value" Type="System.UInt32" />
</Parameters>
<Docs>
<summary>Set the column that the left of this child is attached to.</summary>
<param name="child">a child of this <see cref="T:Gtk.Table" /></param>
<param name="value">the column</param>
<remarks></remarks>
</Docs>
</Member>
<Member MemberName="GetChildRightAttach">
<MemberSignature Language="C#" Value="public uint GetChildRightAttach (Gtk.Widget child);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.UInt32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
</Parameters>
<Docs>
<summary>Get the column that the right of this child is attached to.</summary>
<param name="child">a child of this <see cref="T:Gtk.Table" /></param>
<returns>the column</returns>
<remarks></remarks>
</Docs>
</Member>
<Member MemberName="SetChildRightAttach">
<MemberSignature Language="C#" Value="public void SetChildRightAttach (Gtk.Widget child, uint value);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
<Parameter Name="value" Type="System.UInt32" />
</Parameters>
<Docs>
<summary>Set the column that the right of this child is attached to.</summary>
<param name="child">a child of this <see cref="T:Gtk.Table" /></param>
<param name="value">the column</param>
<remarks></remarks>
</Docs>
</Member>
<Member MemberName="GetChildXPadding">
<MemberSignature Language="C#" Value="public uint GetChildXPadding (Gtk.Widget child);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.UInt32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
</Parameters>
<Docs>
<summary>Get the horizontal padding for this child</summary>
<param name="child">a child of this <see cref="T:Gtk.Table" /></param>
<returns>the padding</returns>
<remarks></remarks>
</Docs>
</Member>
<Member MemberName="SetChildXPadding">
<MemberSignature Language="C#" Value="public void SetChildXPadding (Gtk.Widget child, uint value);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
<Parameter Name="value" Type="System.UInt32" />
</Parameters>
<Docs>
<summary>Set the horizontal padding for this child</summary>
<param name="child">a child of this <see cref="T:Gtk.Table" /></param>
<param name="value">the padding</param>
<remarks></remarks>
</Docs>
</Member>
<Member MemberName="GetChildYPadding">
<MemberSignature Language="C#" Value="public uint GetChildYPadding (Gtk.Widget child);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.UInt32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
</Parameters>
<Docs>
<summary>Get the vertical padding for this child</summary>
<param name="child">a child of this <see cref="T:Gtk.Table" /></param>
<returns>the padding</returns>
<remarks></remarks>
</Docs>
</Member>
<Member MemberName="SetChildYPadding">
<MemberSignature Language="C#" Value="public void SetChildYPadding (Gtk.Widget child, uint value);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
<Parameter Name="value" Type="System.UInt32" />
</Parameters>
<Docs>
<summary>Set the vertical padding for this child</summary>
<param name="child">a child of this <see cref="T:Gtk.Table" /></param>
<param name="value">the padding</param>
<remarks></remarks>
</Docs> </Docs>
</Member> </Member>
</Members> </Members>

126
doc/en/Gtk/TableChild.xml Normal file
View File

@ -0,0 +1,126 @@
<Type Name="TableChild" FullName="Gtk.Table+TableChild">
<TypeSignature Language="C#" Value="public class TableChild : 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.Table" />, used to interact with its container child properties.</summary>
<remarks></remarks>
</Docs>
<Base>
<BaseTypeName>Gtk.Container+ContainerChild</BaseTypeName>
</Base>
<Interfaces />
<Attributes />
<Members>
<Member MemberName="BottomAttach">
<MemberSignature Language="C#" Value="public uint BottomAttach { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.UInt32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>The table row that the bottom of this child is attached to</summary>
<returns>the row</returns>
<remarks></remarks>
</Docs>
</Member>
<Member MemberName="TopAttach">
<MemberSignature Language="C#" Value="public uint TopAttach { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.UInt32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>The table row that the top of this child is attached to</summary>
<returns>the row</returns>
<remarks></remarks>
</Docs>
</Member>
<Member MemberName="LeftAttach">
<MemberSignature Language="C#" Value="public uint LeftAttach { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.UInt32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>The table column that the left side of this child is attached to</summary>
<returns>the column</returns>
<remarks></remarks>
</Docs>
</Member>
<Member MemberName="RightAttach">
<MemberSignature Language="C#" Value="public uint RightAttach { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.UInt32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>The table column that the right side of this child is attached to</summary>
<returns>the column</returns>
<remarks></remarks>
</Docs>
</Member>
<Member MemberName="YPadding">
<MemberSignature Language="C#" Value="public uint YPadding { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.UInt32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>The vertical padding for this child</summary>
<returns>the padding</returns>
<remarks></remarks>
</Docs>
</Member>
<Member MemberName="YOptions">
<MemberSignature Language="C#" Value="public Gtk.AttachOptions YOptions { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Gtk.AttachOptions</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>The child's vertical attachment options</summary>
<returns>the <see cref="T:Gtk.AttachOptions" /></returns>
<remarks></remarks>
</Docs>
</Member>
<Member MemberName="XPadding">
<MemberSignature Language="C#" Value="public uint XPadding { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.UInt32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>The horizontal padding for this child</summary>
<returns>the padding</returns>
<remarks></remarks>
</Docs>
</Member>
<Member MemberName="XOptions">
<MemberSignature Language="C#" Value="public Gtk.AttachOptions XOptions { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Gtk.AttachOptions</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>The child's vertical attachment options</summary>
<returns>the <see cref="T:Gtk.AttachOptions" /></returns>
<remarks></remarks>
</Docs>
</Member>
</Members>
</Type>

View File

@ -730,70 +730,20 @@ If type == <see cref="T:Gtk.ToolbarChildType.Widget" />, widget is used as the n
<remarks>To be added</remarks> <remarks>To be added</remarks>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="GetChildHomogeneous"> <Member MemberName="Item">
<MemberSignature Language="C#" Value="public bool GetChildHomogeneous (Gtk.Widget child);" /> <MemberSignature Language="C#" Value="public override Gtk.Container+ContainerChild Item { get; };" />
<MemberType>Method</MemberType> <MemberType>Property</MemberType>
<ReturnValue> <ReturnValue>
<ReturnType>System.Boolean</ReturnType> <ReturnType>Gtk.Container+ContainerChild</ReturnType>
</ReturnValue> </ReturnValue>
<Parameters> <Parameters>
<Parameter Name="child" Type="Gtk.Widget" /> <Parameter Name="child" Type="Gtk.Widget" />
</Parameters> </Parameters>
<Docs> <Docs>
<summary>Test whether or not the child should be the same size as other (homogeneous) items</summary> <summary>Accessor for child property items</summary>
<param name="child">a child of this <see cref="T:Gtk.Toolbar" /></param> <param name="child">a child of this toolbar</param>
<returns><see langword="true" /> if <paramref name="child"/> is the same size as other (homogeneous) items in this toolbar</returns> <returns>a <see cref="T:Gtk.Container+ContainerChild" /></returns>
<remarks></remarks> <remarks>You can cast the returned object to <see cref="T:Gtk.Toolbar+ToolbarChild" /> to access its child properties.</remarks>
</Docs>
</Member>
<Member MemberName="SetChildHomogeneous">
<MemberSignature Language="C#" Value="public void SetChildHomogeneous (Gtk.Widget child, bool value);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
<Parameter Name="value" Type="System.Boolean" />
</Parameters>
<Docs>
<summary>Set whether or not the child should be the same size as other (homogeneous) items</summary>
<param name="child">a child of this <see cref="T:Gtk.Toolbar" /></param>
<param name="value"><see langword="true" /> if <paramref name="child"/> should be the same size as other (homogeneous) items in this toolbar</param>
<remarks></remarks>
</Docs>
</Member>
<Member MemberName="GetChildExpand">
<MemberSignature Language="C#" Value="public bool GetChildExpand (Gtk.Widget child);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
</Parameters>
<Docs>
<summary>Test whether or not the child should receive extra space as the toolbar grows.</summary>
<param name="child">a child of this <see cref="T:Gtk.Toolbar" /></param>
<returns><see langword="true" /> if <paramref name="child"/> receives extra space as the toolbar grows</returns>
<remarks></remarks>
</Docs>
</Member>
<Member MemberName="SetChildExpand">
<MemberSignature Language="C#" Value="public void SetChildExpand (Gtk.Widget child, bool value);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="child" Type="Gtk.Widget" />
<Parameter Name="value" Type="System.Boolean" />
</Parameters>
<Docs>
<summary>Set whether or not the child should receive extra space as the toolbar grows.</summary>
<param name="child">a child of this <see cref="T:Gtk.Toolbar" /></param>
<param name="value"><see langword="true" /> if <paramref name="child"/> should receive extra space as the toolbar grows</param>
<remarks></remarks>
</Docs> </Docs>
</Member> </Member>
</Members> </Members>

View File

@ -0,0 +1,48 @@
<Type Name="ToolbarChild" FullName="Gtk.Toolbar+ToolbarChild">
<TypeSignature Language="C#" Value="public class ToolbarChild : 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.Toolbar" />, used to interact with its container child properties.</summary>
<remarks></remarks>
</Docs>
<Base>
<BaseTypeName>Gtk.Container+ContainerChild</BaseTypeName>
</Base>
<Interfaces />
<Attributes />
<Members>
<Member MemberName="Homogeneous">
<MemberSignature Language="C#" Value="public bool Homogeneous { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Whether or not the child should be the same size as other (homogeneous) items</summary>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks></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>Whether or not the child should receive extra space as the toolbar grows.</summary>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks></remarks>
</Docs>
</Member>
</Members>
</Type>

View File

@ -28,35 +28,16 @@ namespace GtkSharp.Generation {
public ChildProperty (XmlElement elem, ClassBase container_type) : base (elem, container_type) {} public ChildProperty (XmlElement elem, ClassBase container_type) : base (elem, container_type) {}
protected override string QuotedPropertyName (string cname) { protected override string PropertyAttribute (string qpname) {
if (cname.StartsWith ("child_")) return "[Gtk.ChildProperty (" + qpname + ")]";
return "\"" + cname.Substring (6) + "\"";
else
return "\"" + cname + "\"";
}
protected override string PropertyHeader (ref string indent, string modifiers, string cs_type, string name) {
return "";
}
protected override string GetterHeader (string modifiers, string cs_type, string name) {
return "public " + modifiers + cs_type + " Get" + name + " (Widget child)";
} }
protected override string RawGetter (string qpname) { protected override string RawGetter (string qpname) {
return "ChildGetProperty (child, " + qpname + ")"; return "parent.ChildGetProperty (child, " + qpname + ")";
}
protected override string SetterHeader (string modifiers, string cs_type, string name) {
return "public " + modifiers + "void Set" + name + " (Widget child, " + cs_type + " value)";
} }
protected override string RawSetter (string qpname) { protected override string RawSetter (string qpname) {
return "ChildSetProperty(child, " + qpname + ", val)"; return "parent.ChildSetProperty(child, " + qpname + ", val)";
}
protected override string PropertyFooter (string indent) {
return "";
} }
} }

View File

@ -31,6 +31,7 @@ namespace GtkSharp.Generation {
public class ClassBase : GenBase { public class ClassBase : GenBase {
protected Hashtable props = new Hashtable(); protected Hashtable props = new Hashtable();
protected Hashtable childprops = new Hashtable();
protected Hashtable sigs = new Hashtable(); protected Hashtable sigs = new Hashtable();
protected Hashtable methods = new Hashtable(); protected Hashtable methods = new Hashtable();
protected ArrayList interfaces = null; protected ArrayList interfaces = null;
@ -97,7 +98,7 @@ namespace GtkSharp.Generation {
name = member.GetAttribute("name"); name = member.GetAttribute("name");
while (props.ContainsKey(name)) while (props.ContainsKey(name))
name += "mangled"; name += "mangled";
props.Add (name, new ChildProperty (member, this)); childprops.Add (name, new ChildProperty (member, this));
break; break;
case "signal": case "signal":
@ -195,17 +196,47 @@ namespace GtkSharp.Generation {
protected void GenProperties (GenerationInfo gen_info) protected void GenProperties (GenerationInfo gen_info)
{ {
if (props == null) if (props.Count == 0)
return; return;
foreach (Property prop in props.Values) { foreach (Property prop in props.Values) {
if (prop.Validate ()) if (prop.Validate ())
prop.Generate (gen_info); prop.Generate (gen_info, "\t\t");
else else
Console.WriteLine("in Object " + QualifiedName); Console.WriteLine("in Object " + QualifiedName);
} }
} }
protected void GenChildProperties (GenerationInfo gen_info)
{
if (childprops.Count == 0)
return;
StreamWriter sw = gen_info.Writer;
sw.WriteLine ("\t\tpublic new class " + Name + "Child : Gtk.Container.ContainerChild {");
sw.WriteLine ("\t\t\tinternal " + Name + "Child (Gtk.Container parent, Gtk.Widget child) : base (parent, child) {}");
sw.WriteLine ("");
foreach (ChildProperty prop in childprops.Values) {
if (prop.Validate ())
prop.Generate (gen_info, "\t\t\t");
else
Console.WriteLine("in Object " + QualifiedName);
}
sw.WriteLine ("\t\t}");
sw.WriteLine ("");
sw.WriteLine ("\t\tpublic override Gtk.Container.ContainerChild this [Gtk.Widget child] {");
sw.WriteLine ("\t\t\tget {");
sw.WriteLine ("\t\t\t\treturn new " + Name + "Child (this, child);");
sw.WriteLine ("\t\t\t}");
sw.WriteLine ("\t\t}");
sw.WriteLine ("");
}
public void GenSignals (GenerationInfo gen_info, ClassBase implementor) public void GenSignals (GenerationInfo gen_info, ClassBase implementor)
{ {
if (sigs == null) if (sigs == null)

View File

@ -146,6 +146,7 @@ namespace GtkSharp.Generation {
GenCtors (gen_info); GenCtors (gen_info);
GenProperties (gen_info); GenProperties (gen_info);
GenChildProperties (gen_info);
bool has_sigs = (sigs != null && sigs.Count > 0); bool has_sigs = (sigs != null && sigs.Count > 0);
if (!has_sigs && interfaces != null) { if (!has_sigs && interfaces != null) {

View File

@ -66,39 +66,19 @@ namespace GtkSharp.Generation {
return true; return true;
} }
protected virtual string QuotedPropertyName (string cname) { protected virtual string PropertyAttribute (string qpname) {
return "\"" + cname + "\""; return "[GLib.Property (" + qpname + ")]";
}
protected virtual string PropertyHeader (ref string indent, string modifiers, string cs_type, string name) {
string header;
header = indent + "public " + modifiers + cs_type + " " + name + " {\n";
indent += "\t";
return header;
}
protected virtual string GetterHeader (string modifiers, string cs_type, string name) {
return "get";
} }
protected virtual string RawGetter (string qpname) { protected virtual string RawGetter (string qpname) {
return "GetProperty (" + qpname + ")"; return "GetProperty (" + qpname + ")";
} }
protected virtual string SetterHeader (string modifiers, string cs_type, string name) {
return "set";
}
protected virtual string RawSetter (string qpname) { protected virtual string RawSetter (string qpname) {
return "SetProperty(" + qpname + ", val)"; return "SetProperty(" + qpname + ", val)";
} }
protected virtual string PropertyFooter (string indent) { public void Generate (GenerationInfo gen_info, string indent)
return indent.Substring (1) + "}\n";
}
public void Generate (GenerationInfo gen_info)
{ {
SymbolTable table = SymbolTable.Table; SymbolTable table = SymbolTable.Table;
StreamWriter sw = gen_info.Writer; StreamWriter sw = gen_info.Writer;
@ -115,7 +95,7 @@ namespace GtkSharp.Generation {
if (name == container_type.Name) { if (name == container_type.Name) {
name += "Prop"; name += "Prop";
} }
string qpname = QuotedPropertyName (elem.GetAttribute("cname")); string qpname = "\"" + elem.GetAttribute("cname") + "\"";
string v_type = ""; string v_type = "";
if (table.IsEnum(c_type)) { if (table.IsEnum(c_type)) {
@ -173,14 +153,16 @@ namespace GtkSharp.Generation {
sw.WriteLine(); sw.WriteLine();
string indent = "\t\t"; sw.WriteLine (indent + PropertyAttribute (qpname));
sw.Write(PropertyHeader (ref indent, modifiers, cs_type, name)); sw.WriteLine (indent + "public " + modifiers + cs_type + " " + name + " {");
indent += "\t";
if (has_getter) { if (has_getter) {
sw.Write(indent + GetterHeader (modifiers, cs_type, name)); sw.Write(indent + "get ");
getter.GenerateBody(gen_info, "\t"); getter.GenerateBody(gen_info, "\t");
sw.WriteLine(); sw.WriteLine();
} else if (elem.HasAttribute("readable")) { } else if (elem.HasAttribute("readable")) {
sw.WriteLine(indent + GetterHeader (modifiers, cs_type, name) + " {"); sw.WriteLine(indent + "get {");
sw.WriteLine(indent + "\tGLib.Value val = " + RawGetter (qpname) + ";"); sw.WriteLine(indent + "\tGLib.Value val = " + RawGetter (qpname) + ";");
if (table.IsObject (c_type)) { if (table.IsObject (c_type)) {
sw.WriteLine(indent + "\tSystem.IntPtr raw_ret = (System.IntPtr) {0} val;", v_type); sw.WriteLine(indent + "\tSystem.IntPtr raw_ret = (System.IntPtr) {0} val;", v_type);
@ -204,11 +186,11 @@ namespace GtkSharp.Generation {
} }
if (has_setter) { if (has_setter) {
sw.Write(indent + SetterHeader (modifiers, cs_type, name)); sw.Write(indent + "set ");
setter.GenerateBody(gen_info, "\t"); setter.GenerateBody(gen_info, "\t");
sw.WriteLine(); sw.WriteLine();
} else if (elem.HasAttribute("writeable") && !elem.HasAttribute("construct-only")) { } else if (elem.HasAttribute("writeable") && !elem.HasAttribute("construct-only")) {
sw.WriteLine(indent + SetterHeader (modifiers, cs_type, name) + " {"); sw.WriteLine(indent + "set {");
sw.Write(indent + "\tGLib.Value val = "); sw.Write(indent + "\tGLib.Value val = ");
if (table.IsEnum(c_type)) { if (table.IsEnum(c_type)) {
sw.WriteLine("new GLib.Value(new GLib.EnumWrapper ((int) value, {0}), \"{1}\");", table.IsEnumFlags (c_type) ? "true" : "false", c_type); sw.WriteLine("new GLib.Value(new GLib.EnumWrapper ((int) value, {0}), \"{1}\");", table.IsEnumFlags (c_type) ? "true" : "false", c_type);
@ -228,7 +210,7 @@ namespace GtkSharp.Generation {
sw.WriteLine(indent + "}"); sw.WriteLine(indent + "}");
} }
sw.Write(PropertyFooter (indent)); sw.WriteLine(indent.Substring (1) + "}");
sw.WriteLine(); sw.WriteLine();
Statistics.PropCount++; Statistics.PropCount++;

View File

@ -32,6 +32,7 @@ sources = \
Object.cs \ Object.cs \
ObjectManager.cs \ ObjectManager.cs \
Opaque.cs \ Opaque.cs \
PropertyAttribute.cs \
SignalArgs.cs \ SignalArgs.cs \
SignalAttribute.cs \ SignalAttribute.cs \
SignalCallback.cs \ SignalCallback.cs \

41
glib/PropertyAttribute.cs Normal file
View File

@ -0,0 +1,41 @@
// PropertyAttribute.cs
//
// Copyright (c) 2004 Novell, Inc.
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of version 2 of the Lesser GNU General
// Public License as published by the Free Software Foundation.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this program; if not, write to the
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
// Boston, MA 02111-1307, USA.
namespace GLib {
using System;
public sealed class PropertyAttribute : Attribute {
string name;
public PropertyAttribute (string name)
{
this.name = name;
}
public string Name {
get {
return name;
}
set {
name = value;
}
}
}
}

View File

@ -0,0 +1,40 @@
// ChildPropertyAttribute.cs
//
// Copyright (c) 2004 Novell, Inc.
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of version 2 of the Lesser GNU General
// Public License as published by the Free Software Foundation.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this program; if not, write to the
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
// Boston, MA 02111-1307, USA.
namespace Gtk {
using System;
public sealed class ChildPropertyAttribute : Attribute {
string name;
public ChildPropertyAttribute (string name)
{
this.name = name;
}
public string Name {
get {
return name;
}
set {
name = value;
}
}
}
}

View File

@ -186,3 +186,32 @@ public virtual GLib.GType ChildType() {
GLib.GType ret = new GLib.GType(raw_ret); GLib.GType ret = new GLib.GType(raw_ret);
return ret; return ret;
} }
public class ContainerChild {
protected Container parent;
protected Widget child;
public ContainerChild (Container parent, Widget child)
{
this.parent = parent;
this.child = child;
}
public Container Parent {
get {
return parent;
}
}
public Widget Child {
get {
return child;
}
}
}
public virtual ContainerChild this [Widget w] {
get {
return new ContainerChild (this, w);
}
}

View File

@ -18,6 +18,7 @@ DISTCLEANFILES = $(ASSEMBLY).config AssemblyInfo.cs
sources = \ sources = \
Application.cs \ Application.cs \
ChildPropertyAttribute.cs \
ITreeNode.cs \ ITreeNode.cs \
NodeStore.cs \ NodeStore.cs \
ThreadNotify.cs \ ThreadNotify.cs \

View File

@ -3003,11 +3003,11 @@
<field cname="homogeneous" bits="1" type="guint"/> <field cname="homogeneous" bits="1" type="guint"/>
<property name="Spacing" cname="spacing" type="gint" readable="true" writeable="true"/> <property name="Spacing" cname="spacing" type="gint" readable="true" writeable="true"/>
<property name="Homogeneous" cname="homogeneous" type="gboolean" readable="true" writeable="true"/> <property name="Homogeneous" cname="homogeneous" type="gboolean" readable="true" writeable="true"/>
<childprop name="ChildExpand" cname="child_expand" type="gboolean" readable="true" writeable="true"/> <childprop name="Expand" cname="expand" type="gboolean" readable="true" writeable="true"/>
<childprop name="ChildFill" cname="child_fill" type="gboolean" readable="true" writeable="true"/> <childprop name="Fill" cname="fill" type="gboolean" readable="true" writeable="true"/>
<childprop name="ChildPadding" cname="child_padding" type="guint" readable="true" writeable="true"/> <childprop name="Padding" cname="padding" type="guint" readable="true" writeable="true"/>
<childprop name="ChildPackType" cname="child_pack_type" type="GtkPackType" readable="true" writeable="true"/> <childprop name="PackType" cname="pack_type" type="GtkPackType" readable="true" writeable="true"/>
<childprop name="ChildPosition" cname="child_position" type="gint" readable="true" writeable="true"/> <childprop name="Position" cname="position" type="gint" readable="true" writeable="true"/>
<method name="GetHomogeneous" cname="gtk_box_get_homogeneous"> <method name="GetHomogeneous" cname="gtk_box_get_homogeneous">
<return-type type="gboolean"/> <return-type type="gboolean"/>
</method> </method>
@ -3247,7 +3247,7 @@
<field cname="child_ipad_y" type="gint"/> <field cname="child_ipad_y" type="gint"/>
<field cname="layout_style" type="GtkButtonBoxStyle"/> <field cname="layout_style" type="GtkButtonBoxStyle"/>
<property name="LayoutStyle" cname="layout_style" type="GtkButtonBoxStyle" readable="true" writeable="true"/> <property name="LayoutStyle" cname="layout_style" type="GtkButtonBoxStyle" readable="true" writeable="true"/>
<childprop name="ChildSecondary" cname="child_secondary" type="gboolean" readable="true" writeable="true"/> <childprop name="Secondary" cname="secondary" type="gboolean" readable="true" writeable="true"/>
<method name="GetChildIpadding" cname="gtk_button_box_get_child_ipadding" deprecated="1"> <method name="GetChildIpadding" cname="gtk_button_box_get_child_ipadding" deprecated="1">
<return-type type="void"/> <return-type type="void"/>
<parameters> <parameters>
@ -5446,8 +5446,8 @@
</object> </object>
<object name="Fixed" cname="GtkFixed" parent="GtkContainer"> <object name="Fixed" cname="GtkFixed" parent="GtkContainer">
<field cname="children" type="GList*"/> <field cname="children" type="GList*"/>
<childprop name="ChildX" cname="child_x" type="gint" readable="true" writeable="true"/> <childprop name="X" cname="x" type="gint" readable="true" writeable="true"/>
<childprop name="ChildY" cname="child_y" type="gint" readable="true" writeable="true"/> <childprop name="Y" cname="y" type="gint" readable="true" writeable="true"/>
<method name="GetHasWindow" cname="gtk_fixed_get_has_window"> <method name="GetHasWindow" cname="gtk_fixed_get_has_window">
<return-type type="gboolean"/> <return-type type="gboolean"/>
</method> </method>
@ -6914,8 +6914,8 @@
<field cname="scroll_x" type="gint"/> <field cname="scroll_x" type="gint"/>
<field cname="scroll_y" type="gint"/> <field cname="scroll_y" type="gint"/>
<field cname="freeze_count" type="guint"/> <field cname="freeze_count" type="guint"/>
<childprop name="ChildX" cname="child_x" type="gint" readable="true" writeable="true"/> <childprop name="X" cname="x" type="gint" readable="true" writeable="true"/>
<childprop name="ChildY" cname="child_y" type="gint" readable="true" writeable="true"/> <childprop name="Y" cname="y" type="gint" readable="true" writeable="true"/>
<property name="Hadjustment" cname="hadjustment" type="GtkAdjustment" readable="true" writeable="true"/> <property name="Hadjustment" cname="hadjustment" type="GtkAdjustment" readable="true" writeable="true"/>
<property name="Vadjustment" cname="vadjustment" type="GtkAdjustment" readable="true" writeable="true"/> <property name="Vadjustment" cname="vadjustment" type="GtkAdjustment" readable="true" writeable="true"/>
<property name="Width" cname="width" type="guint" readable="true" writeable="true"/> <property name="Width" cname="width" type="guint" readable="true" writeable="true"/>
@ -7162,10 +7162,10 @@
<field cname="upper_arrow_prelight" bits="1" type="guint"/> <field cname="upper_arrow_prelight" bits="1" type="guint"/>
<field cname="lower_arrow_prelight" bits="1" type="guint"/> <field cname="lower_arrow_prelight" bits="1" type="guint"/>
<property name="TearoffTitle" cname="tearoff-title" type="gchar*" readable="true" writeable="true"/> <property name="TearoffTitle" cname="tearoff-title" type="gchar*" readable="true" writeable="true"/>
<childprop name="ChildLeftAttach" cname="child_left_attach" type="gint" readable="true" writeable="true"/> <childprop name="LeftAttach" cname="left_attach" type="gint" readable="true" writeable="true"/>
<childprop name="ChildRightAttach" cname="child_right_attach" type="gint" readable="true" writeable="true"/> <childprop name="RightAttach" cname="right_attach" type="gint" readable="true" writeable="true"/>
<childprop name="ChildTopAttach" cname="child_top_attach" type="gint" readable="true" writeable="true"/> <childprop name="TopAttach" cname="top_attach" type="gint" readable="true" writeable="true"/>
<childprop name="ChildBottomAttach" cname="child_bottom_attach" type="gint" readable="true" writeable="true"/> <childprop name="BottomAttach" cname="bottom_attach" type="gint" readable="true" writeable="true"/>
<method name="Attach" cname="gtk_menu_attach"> <method name="Attach" cname="gtk_menu_attach">
<return-type type="void"/> <return-type type="void"/>
<parameters> <parameters>
@ -7601,12 +7601,12 @@
<property name="Scrollable" cname="scrollable" type="gboolean" readable="true" writeable="true"/> <property name="Scrollable" cname="scrollable" type="gboolean" readable="true" writeable="true"/>
<property name="EnablePopup" cname="enable_popup" type="gboolean" readable="true" writeable="true"/> <property name="EnablePopup" cname="enable_popup" type="gboolean" readable="true" writeable="true"/>
<property name="Homogeneous" cname="homogeneous" type="gboolean" readable="true" writeable="true"/> <property name="Homogeneous" cname="homogeneous" type="gboolean" readable="true" writeable="true"/>
<childprop name="ChildTabLabel" cname="child_tab_label" type="gchar*" readable="true" writeable="true"/> <childprop name="TabLabel" cname="tab_label" type="gchar*" readable="true" writeable="true"/>
<childprop name="ChildMenuLabel" cname="child_menu_label" type="gchar*" readable="true" writeable="true"/> <childprop name="MenuLabel" cname="menu_label" type="gchar*" readable="true" writeable="true"/>
<childprop name="ChildPosition" cname="child_position" type="gint" readable="true" writeable="true"/> <childprop name="Position" cname="position" type="gint" readable="true" writeable="true"/>
<childprop name="ChildTabExpand" cname="child_tab_expand" type="gboolean" readable="true" writeable="true"/> <childprop name="TabExpand" cname="tab_expand" type="gboolean" readable="true" writeable="true"/>
<childprop name="ChildTabFill" cname="child_tab_fill" type="gboolean" readable="true" writeable="true"/> <childprop name="TabFill" cname="tab_fill" type="gboolean" readable="true" writeable="true"/>
<childprop name="ChildTabPack" cname="child_tab_pack" type="GtkPackType" readable="true" writeable="true"/> <childprop name="TabPack" cname="tab_pack" type="GtkPackType" readable="true" writeable="true"/>
<signal name="SwitchPage" cname="switch_page" when="LAST"> <signal name="SwitchPage" cname="switch_page" when="LAST">
<return-type type="void"/> <return-type type="void"/>
<parameters> <parameters>
@ -8087,8 +8087,8 @@
<property name="PositionSet" cname="position_set" type="gboolean" readable="true" writeable="true"/> <property name="PositionSet" cname="position_set" type="gboolean" readable="true" writeable="true"/>
<property name="MinPosition" cname="min_position" type="gint" readable="true"/> <property name="MinPosition" cname="min_position" type="gint" readable="true"/>
<property name="MaxPosition" cname="max_position" type="gint" readable="true"/> <property name="MaxPosition" cname="max_position" type="gint" readable="true"/>
<childprop name="ChildResize" cname="child_resize" type="gboolean" readable="true" writeable="true"/> <childprop name="Resize" cname="resize" type="gboolean" readable="true" writeable="true"/>
<childprop name="ChildShrink" cname="child_shrink" type="gboolean" readable="true" writeable="true"/> <childprop name="Shrink" cname="shrink" type="gboolean" readable="true" writeable="true"/>
<signal name="CycleChildFocus" cname="cycle_child_focus" when="LAST"> <signal name="CycleChildFocus" cname="cycle_child_focus" when="LAST">
<return-type type="gboolean"/> <return-type type="gboolean"/>
<parameters> <parameters>
@ -9648,14 +9648,14 @@
<property name="RowSpacing" cname="row_spacing" type="guint" readable="true" writeable="true"/> <property name="RowSpacing" cname="row_spacing" type="guint" readable="true" writeable="true"/>
<property name="ColumnSpacing" cname="column_spacing" type="guint" readable="true" writeable="true"/> <property name="ColumnSpacing" cname="column_spacing" type="guint" readable="true" writeable="true"/>
<property name="Homogeneous" cname="homogeneous" type="gboolean" readable="true" writeable="true"/> <property name="Homogeneous" cname="homogeneous" type="gboolean" readable="true" writeable="true"/>
<childprop name="ChildLeftAttach" cname="child_left_attach" type="guint" readable="true" writeable="true"/> <childprop name="LeftAttach" cname="left_attach" type="guint" readable="true" writeable="true"/>
<childprop name="ChildRightAttach" cname="child_right_attach" type="guint" readable="true" writeable="true"/> <childprop name="RightAttach" cname="right_attach" type="guint" readable="true" writeable="true"/>
<childprop name="ChildTopAttach" cname="child_top_attach" type="guint" readable="true" writeable="true"/> <childprop name="TopAttach" cname="top_attach" type="guint" readable="true" writeable="true"/>
<childprop name="ChildBottomAttach" cname="child_bottom_attach" type="guint" readable="true" writeable="true"/> <childprop name="BottomAttach" cname="bottom_attach" type="guint" readable="true" writeable="true"/>
<childprop name="ChildXOptions" cname="child_x_options" type="GtkAttachOptions" readable="true" writeable="true"/> <childprop name="XOptions" cname="x_options" type="GtkAttachOptions" readable="true" writeable="true"/>
<childprop name="ChildYOptions" cname="child_y_options" type="GtkAttachOptions" readable="true" writeable="true"/> <childprop name="YOptions" cname="y_options" type="GtkAttachOptions" readable="true" writeable="true"/>
<childprop name="ChildXPadding" cname="child_x_padding" type="guint" readable="true" writeable="true"/> <childprop name="XPadding" cname="x_padding" type="guint" readable="true" writeable="true"/>
<childprop name="ChildYPadding" cname="child_y_padding" type="guint" readable="true" writeable="true"/> <childprop name="YPadding" cname="y_padding" type="guint" readable="true" writeable="true"/>
<method name="Attach" cname="gtk_table_attach"> <method name="Attach" cname="gtk_table_attach">
<return-type type="void"/> <return-type type="void"/>
<parameters> <parameters>
@ -11074,8 +11074,8 @@
<property name="Orientation" cname="orientation" type="GtkOrientation" readable="true" writeable="true"/> <property name="Orientation" cname="orientation" type="GtkOrientation" readable="true" writeable="true"/>
<property name="ToolbarStyle" cname="toolbar_style" type="GtkToolbarStyle" readable="true" writeable="true"/> <property name="ToolbarStyle" cname="toolbar_style" type="GtkToolbarStyle" readable="true" writeable="true"/>
<property name="ShowArrow" cname="show_arrow" type="gboolean" readable="true" writeable="true"/> <property name="ShowArrow" cname="show_arrow" type="gboolean" readable="true" writeable="true"/>
<childprop name="ChildExpand" cname="child_expand" type="gboolean" readable="true" writeable="true"/> <childprop name="Expand" cname="expand" type="gboolean" readable="true" writeable="true"/>
<childprop name="ChildHomogeneous" cname="child_homogeneous" type="gboolean" readable="true" writeable="true"/> <childprop name="Homogeneous" cname="homogeneous" type="gboolean" readable="true" writeable="true"/>
<method name="AppendElement" cname="gtk_toolbar_append_element" deprecated="1"> <method name="AppendElement" cname="gtk_toolbar_append_element" deprecated="1">
<return-type type="GtkWidget*"/> <return-type type="GtkWidget*"/>
<parameters> <parameters>

View File

@ -789,9 +789,6 @@ sub addPropElem
} else { } else {
$name =~ s/\s*\"//g; $name =~ s/\s*\"//g;
} }
if ($is_child) {
$name = "child_$name";
}
$mode = $params[$#params]; $mode = $params[$#params];