GtkSharp/generator
Dan Winship 9d04b4dd06 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
2004-11-18 20:31:22 +00:00
..
.cvsignore merge to HEAD of jeroen and friends' work on the 2-4 branch. HEAD 2004-10-29 20:33:07 +00:00
AliasGen.cs 2004-06-25 Mike Kestner <mkestner@ximian.com> 2004-06-25 16:35:15 +00:00
BoxedGen.cs merge to HEAD of jeroen and friends' work on the 2-4 branch. HEAD 2004-10-29 20:33:07 +00:00
ByRefGen.cs 2004-06-25 Mike Kestner <mkestner@ximian.com> 2004-06-25 16:35:15 +00:00
CallbackGen.cs 2004-06-25 Mike Kestner <mkestner@ximian.com> 2004-06-25 16:35:15 +00:00
ChildProperty.cs Redo child property handling; now we generate classes to hold 2004-11-18 20:31:22 +00:00
ClassBase.cs Redo child property handling; now we generate classes to hold 2004-11-18 20:31:22 +00:00
ClassGen.cs Fix the handful of LF-only lines in otherwise CRLF files, so that 2004-11-15 13:56:34 +00:00
CodeGenerator.cs 2004-06-25 Mike Kestner <mkestner@ximian.com> 2004-06-25 16:35:15 +00:00
ConstStringGen.cs 2004-06-25 Mike Kestner <mkestner@ximian.com> 2004-06-25 16:35:15 +00:00
Ctor.cs 2004-06-25 Mike Kestner <mkestner@ximian.com> 2004-06-25 16:35:15 +00:00
CustomMarshalerGen.cs 2004-06-25 Mike Kestner <mkestner@ximian.com> 2004-06-25 16:35:15 +00:00
DESIGN * generator/DESIGN: Document what the different classes do 2004-11-15 16:00:08 +00:00
EnumGen.cs 2004-06-25 Mike Kestner <mkestner@ximian.com> 2004-06-25 16:35:15 +00:00
Field.cs 2004-06-25 Mike Kestner <mkestner@ximian.com> 2004-06-25 16:35:15 +00:00
gapi2-codegen.in merge to HEAD of jeroen and friends' work on the 2-4 branch. HEAD 2004-10-29 20:33:07 +00:00
GenBase.cs 2004-06-25 Mike Kestner <mkestner@ximian.com> 2004-06-25 16:35:15 +00:00
GenerationInfo.cs 2004-06-25 Mike Kestner <mkestner@ximian.com> 2004-06-25 16:35:15 +00:00
GObjectGen.cs 2004-06-25 Mike Kestner <mkestner@ximian.com> 2004-06-25 16:35:15 +00:00
GStringGen.cs 2004-09-29 Mike Kestner <mkestner@ximian.com> 2004-09-29 18:00:38 +00:00
IGeneratable.cs 2004-06-25 Mike Kestner <mkestner@ximian.com> 2004-06-25 16:35:15 +00:00
ImportSignature.cs 2004-06-25 Mike Kestner <mkestner@ximian.com> 2004-06-25 16:35:15 +00:00
InterfaceGen.cs 2004-09-29 Mike Kestner <mkestner@ximian.com> 2004-09-29 18:00:38 +00:00
Makefile.am 2004-11-17 Mike Kestner <mkestner@novell.com> 2004-11-17 15:57:17 +00:00
makefile.win32 2003-10-10 Mike Kestner <mkestner@ximian.com> 2003-10-10 18:58:19 +00:00
ManagedCallString.cs 2004-06-25 Mike Kestner <mkestner@ximian.com> 2004-06-25 16:35:15 +00:00
ManualGen.cs 2004-06-25 Mike Kestner <mkestner@ximian.com> 2004-06-25 16:35:15 +00:00
Method.cs oops, miscommit 2004-11-17 16:06:59 +00:00
MethodBody.cs 2004-11-17 Mike Kestner <mkestner@novell.com> 2004-11-17 15:57:17 +00:00
ObjectGen.cs Redo child property handling; now we generate classes to hold 2004-11-18 20:31:22 +00:00
OpaqueGen.cs 2004-11-05 Tambet Ingo <tambet@ximian.com> 2004-11-05 07:18:14 +00:00
Parameters.cs 2004-06-25 Mike Kestner <mkestner@ximian.com> 2004-06-25 16:35:15 +00:00
Parser.cs Fix the handful of LF-only lines in otherwise CRLF files, so that 2004-11-15 13:56:34 +00:00
Property.cs Redo child property handling; now we generate classes to hold 2004-11-18 20:31:22 +00:00
ReturnValue.cs 2004-11-17 Mike Kestner <mkestner@novell.com> 2004-11-17 16:00:00 +00:00
Signal.cs 2004-11-17 Mike Kestner <mkestner@novell.com> 2004-11-17 15:57:17 +00:00
SignalHandler.cs 2004-11-17 Mike Kestner <mkestner@novell.com> 2004-11-17 15:57:17 +00:00
Signature.cs 2004-06-25 Mike Kestner <mkestner@ximian.com> 2004-06-25 16:35:15 +00:00
SimpleGen.cs 2004-06-25 Mike Kestner <mkestner@ximian.com> 2004-06-25 16:35:15 +00:00
Statistics.cs 2004-06-25 Mike Kestner <mkestner@ximian.com> 2004-06-25 16:35:15 +00:00
StringGen.cs 2004-06-25 Mike Kestner <mkestner@ximian.com> 2004-06-25 16:35:15 +00:00
StructBase.cs 2004-06-25 Mike Kestner <mkestner@ximian.com> 2004-06-25 16:35:15 +00:00
StructGen.cs 2004-06-25 Mike Kestner <mkestner@ximian.com> 2004-06-25 16:35:15 +00:00
SymbolTable.cs 2004-11-13 Duncan Mak <duncan@ximian.com> 2004-11-14 03:13:09 +00:00
TimeTGen.cs 2004-06-25 Mike Kestner <mkestner@ximian.com> 2004-06-25 16:35:15 +00:00
VMSignature.cs 2004-06-25 Mike Kestner <mkestner@ximian.com> 2004-06-25 16:35:15 +00:00