Commit graph

35 commits

Author SHA1 Message Date
Dan Winship c47f1eb8d8 * gtk/Container.custom (ChildType): fix this to just call
gtk_container_child_type().

	* gtk/glue/container.c (gtksharp_container_base_child_type): kill

svn path=/trunk/gtk-sharp/; revision=41330
2005-03-01 18:02:16 +00:00
Shane Landrum 9a099d3865 2005-01-03 Shane Landrum <epicene@pobox.com>
* en/Gtk/DrawGdkArgs.xml
	* en/Gtk/ContainerChild.xml
	* en/Gtk/DestroyNotify.xml
	* en/Gtk/Draw.xml
	* en/Gtk/CellViewMenuItem.xml
	* en/Gtk/CellView.xml
	* en/Gtk/Callback.xml
	* en/Gtk/Container.xml: Added docs.


svn path=/trunk/gtk-sharp/; revision=38275
2005-01-03 14:32:42 +00:00
Shane Landrum 0df8781e8b 2005-01-02 Shane Landrum <epicene@pobox.com>
* en/Gtk/ComboBox.xml: Doc edits.
	* en/Gtk/ContainerChild.xml
	* en/Gtk/Drag.xml
	* en/Gtk/Draw.xml
	* en/Gtk/CellViewMenuItem.xml
	* en/Gtk/DisconnectProxyArgs.xml
	* en/Gtk/CellView.xml
	* en/Gtk/Container.xml: added docs.


svn path=/trunk/gtk-sharp/; revision=38259
2005-01-03 03:28:16 +00:00
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
Dan Winship acdb2f73da * gtk/glue/container.c (gtksharp_container_get_focus_child): New
glue method to get container->focus_child

        * gtk/Gtk.metadata: hide SetFocusChild

        * gtk/Container.custom (FocusChild): implement with both getter
        and setter

        * en/Gtk/Container.xml (FocusChild): Has a getter now too.
        (Added): Clarify that this only means "Gtk.Container.Add was
        called", and doesn't get fired when you call Gtk.Box.PackStart,
        etc

svn path=/trunk/gtk-sharp/; revision=36143
2004-11-15 17:47:16 +00:00
Dan Winship cb30686a86 * en/Gtk/Box.xml:
* en/Gtk/ButtonBox.xml:
	* en/Gtk/Container.xml:
	* en/Gtk/Fixed.xml:
	* en/Gtk/Layout.xml:
	* en/Gtk/Menu.xml:
	* en/Gtk/Notebook.xml:
	* en/Gtk/Paned.xml:
	* en/Gtk/Table.xml:
	* en/Gtk/Toolbar.xml: document container child properties

svn path=/trunk/gtk-sharp/; revision=35833
2004-11-08 15:03:02 +00:00
Mike Kestner 60b7406317 updater run for 2.4 api.
svn path=/trunk/gtk-sharp/; revision=35742
2004-11-05 21:25:40 +00:00
Shane Landrum e4b716e18c 2004-09-13 Shane Landrum <epicene@pobox.com>
* en/Gtk/Accelerator.xml
	* en/Gtk/Arg.xml
	* en/Gtk/CallbackInvoker.xml
	* en/Gtk/CellRendererState.xml
	* en/Gtk/ColorSelectionButton.xml
	* en/Gtk/Combo.xml
	* en/Gtk/Container.xml
	* en/Gtk/Decorated.xml
	* en/Gtk/Dialog.xml
	* en/Gtk/Drag.xml
	* en/Gtk/FSButton.xml
	* en/Gtk/FileSelection.xml
	* en/Gtk/Function.xml
	* en/Gtk/Gc.xml
	* en/Gtk/Grab.xml
	* en/Gtk/HandleBox.xml
	* en/Gtk/Input.xml
	* en/Gtk/InputDialog.xml
	* en/Gtk/Widget.xml
	* en/Gtk/Window.xml: Miscellaneous class docs.

svn path=/trunk/gtk-sharp/; revision=33798
2004-09-13 05:48:17 +00:00
Shane Landrum 7fabb0cf4c 2004-09-06 Shane Landrum <epicene@pobox.com>
* en/Gtk/HTML.xml
	* en/Gtk/HTMLCommandType.xml
	* en/Gtk/HTMLCursorSkipType.xml : Docs related to HTML widgets.
	* en/Gtk/Button.xml
	* en/Gtk/Widget.xml
	* en/Gtk/Style.xml
	* en/Gtk/Container.xml : Docs for major components.

svn path=/trunk/gtk-sharp/; revision=33411
2004-09-06 14:47:48 +00:00
Shane Landrum fa3e9a5e70 2004-08-27 Shane Landrum <epicene@pobox.com>
* en/Gtk/WindowKeysForeachFunc.xml
	* en/Gtk/Accessibility.xml
	* en/Gtk/CallbackMarshal.xml
	* en/Gtk/ColorSelectionChangePaletteFunc.xml
	* en/Gtk/ColorSelectionDialog.xml
	* en/Gtk/Container.xml
	* en/Gtk/DestroyNotify.xml
	* en/Gtk/IconSet.xml
	* en/Gtk/ScrollAdjustmentsSetArgs.xml
	* en/Gtk/ScrollType.xml
	* en/Gtk/MoveFocusArgs.xml : Miscellaneous docs.
	* en/Gtk/RB*.xml : Internal classes. Do not use.
	* en/Gtk/Style*.xml : Began documenting style-related classes.

svn path=/trunk/gtk-sharp/; revision=32959
2004-08-28 01:45:27 +00:00
Mike Kestner 704726109a 2004-06-21 Mike Kestner <mkestner@ximian.com>
* en/*/*.xml : document ctor(GType) members via script-fu. 476 TBAs.

svn path=/trunk/gtk-sharp/; revision=30068
2004-06-21 20:33:11 +00:00
Mike Kestner 2b6efdc91c 2004-06-21 Mike Kestner <mkestner@ximian.com>
* en/*/*.xml : document GType props via script-fu. 620 TBAs killed.

svn path=/trunk/gtk-sharp/; revision=30066
2004-06-21 20:14:42 +00:00
Mike Kestner 2b20e653c6 2004-06-15 Mike Kestner <mkestner@ximian.com>
* en/*/*.xml : generated summary and remarks for all the On* virtual
	default handler methods. 700 more To be addeds gone.

svn path=/trunk/gtk-sharp/; revision=29603
2004-06-15 15:41:25 +00:00
Todd Berman 9f492c794b 2004-06-11 Todd Berman <tberman@sevenl.net>
* gtk/Container.custom:
        * gtk/CellRenderer.custom:
        * gnome/CanvasItem.custom: mark Override* private.
        * doc/en/*/*.xml: update to remove Override* methods.

svn path=/trunk/gtk-sharp/; revision=29394
2004-06-12 00:18:05 +00:00
Mike Kestner 0372a77462 2004-06-11 Mike Kestner <mkestner@ximian.com>
* doc/en/*/*.xml : update to remove Override* methods.
	* generator/Signal.cs : make the Override* methods private.  They
	should not ever be called manually and it saves about 800 "do not
	call this method" doc entries.

svn path=/trunk/gtk-sharp/; revision=29388
2004-06-11 22:41:01 +00:00
Todd Berman e525e9bd55 2004-06-10 Todd Berman <tberman@sevenl.net>
* gtk/Container.custom: add C# glue for virtualizing ChildType ()
        * gtk/glue/container.c: add C glue for virtualizing ChildType ()
        * gtk/Gtk.metadata: hide Container.ChildType ()
        * gtk/Widget.custom: Add ClearFlag, and SetFlag convenience methods.
        Also add various IsFlag bool properties for checking for flags.
        * gtk/glue/widget.c: Fix setting flags.
        * doc/*: updated Widget docs.

svn path=/trunk/gtk-sharp/; revision=29217
2004-06-10 18:37:05 +00:00
Todd Berman 9698c4d2f9 2004-06-07 Todd Berman <tberman@sevenl.net>
* gtk/Widget.custom: expose some easy bool properties for checking
        certain WidgetFlags. Make Allocation a settable property.
        * gtk/glue/widget.c: bit of glue to make Allocation settable.
        * gdk/Window.custom: expose UserData as a usable IntPtr property.
        * gdk/Gdk.metadata: hide old GetUserData/SetUserData methods.
        * doc/*: ran the updater.

svn path=/trunk/gtk-sharp/; revision=28974
2004-06-07 17:14:35 +00:00
Mike Kestner 070eb3cc64 2004-06-01 Mike Kestner <mkestner@ximian.com>
* en/*/*.xml : run updater to add new protected ctor () 's.

svn path=/trunk/gtk-sharp/; revision=28646
2004-06-01 18:05:26 +00:00
Mike Kestner 581dbea8ec 2004-05-27 Mike Kestner <mkestner@ximian.com>
* en/* : run updater

svn path=/trunk/gtk-sharp/; revision=28301
2004-05-27 19:02:19 +00:00
Hector E. Gomez Morales 5d8e9c5dd3 2004-03-05 Hector Gomez M <hectorgm@ciencias.unam.mx>
* en/* : Created TODO files for every namespace (except *Sharp namespaces).

2004-02-29  Hector Gomez M  <hectorgm@ciencias.unam.mx>
	* Changelog: Corrected bogus year dates.
	* en/Gtk/TODO: updated TODO list.
	* en/Atk/EditableText.xml
	* en/Atk/Free.xml
	* en/Atk/NoOpObject.xml
	* en/Atk/Object.xml
	* en/Atk/StateSet.xml
	* en/Gnome/CanvasProxy.xml
	* en/Gnome/CanvasRichText.xml
	* en/Gnome/Config.xml
	* en/Gnome/DateEdit.xml
	* en/Gnome/Entry.xml
	* en/Gnome/FileEntry.xml
	* en/Gnome/Font.xml
	* en/Gnome/FontFamily.xml
	* en/Gnome/GlyphList.xml
	* en/Gnome/IconList.xml
	* en/Gnome/IconTheme.xml
	* en/Gnome/Pgl.xml
	* en/Gtk/Combo.xml
	* en/Gtk/ListStore.xml
	* en/Gtk/RadioMenuItem.xml
	* en/Gtk/StockItem.xml
	* en/Gtk/StockManager.xml
	* en/Gtk/TextBuffer.xml
	* en/Gtk/TextIter.xml
	* en/Gtk/TextView.xml
	* en/Gtk/TooltipsData.xml
	* en/Gtk/TreeModelSort.xml
	* en/Gtk/TreeStore.xml
	* en/Gtk/TreeView.xml
	* en/Gtk/Widget.xml
	* en/Gtk/Window.xml: Restored and/or removed various nodes.
	* en/Gtk/Accel.xml: Removed deprecated GroupsFromObject Method.
	* en/Gtk/Application: Removed deprecated CurrentEvent Property.
	* en/Gtk/Container.xml: FocusChain and Children update.
	* en/Gtk/DeleteEventArgs.xml: Removed deprecated Event Property.
	* en/Gtk/DestroyEventArgs.xml: Removed deprecated Event Property.
	* en/Gtk/MenuItem.xml: ToggleSizeRequest update.
	* en/Gtk/IMContext.xml: Removed deprecated GetPreeditString Method.
	* en/Gtk/IMContextSimple.xml: Removed deprecated AddTable Method.
	* en/Gtk/Init.xml: Removed deprecated AbiCheck Method
	* en/Gtk/MapEventArgs.xml: Removed deprecated Event Property.
	* en/Gtk/MenuItem.xml: Removed deprecated ToggleSizeRequest Method.
	* en/Gtk/NoExposeEventArgs.xml: Removed deprecated Event Property.
	* en/Gtk/SelectionData.xml: Removed deprecated Set Method.
	* en/Gtk/TextChildAnchor.xml: Widget update.
	* en/Gtk/TreeIter.xml: Stamp update.
	* en/Gtk/TreeModel.xml: EmitRowsReordered update.
	* en/Gtk/TreeRowReference.xml: Removed deprecated Reordered Method.
	* en/Gtk/TreeSelection.xml: Removed deprecated GetSelectedRows Method.
	* en/Gtk/TreeViewColumn.xml: Removed deprecated CellRenders Property.
	* en/Gtk/UnmapEventArgs.xml: Removed deprecated Event Property.

svn path=/trunk/gtk-sharp/; revision=23736
2004-03-05 13:40:13 +00:00
Mike Kestner 80a32deaa6 2003-02-25 Mike Kestner <mkestner@ximian.com>
* Pango/*.xml : run updater and kill stubbed deprecates
	* Atk/*.xml : run updater and kill stubbed deprecates
	* Gdk/*.xml : run updater and kill stubbed deprecates
	* Gtk/*.xml : run updater and kill stubbed deprecates

svn path=/trunk/gtk-sharp/; revision=23492
2004-02-26 18:46:28 +00:00
Mike Kestner d066f892af 2003-02-25 Mike Kestner <mkestner@ximian.com>
* All: update events to new handler namespaces.

svn path=/trunk/gtk-sharp/; revision=23475
2004-02-25 23:39:06 +00:00
John Luke ec87d5d92d 2003-12-22 John Luke <jluke@cfl.rr.com>
* en/GLib/GType.xml:
	* en/GLib/DefaultSignalHandlerAttribute.xml: added
	* */*/.xml: run updater

svn path=/trunk/gtk-sharp/; revision=21469
2003-12-24 01:35:30 +00:00
John Luke 0b12cb5378 run the updater
svn path=/trunk/gtk-sharp/; revision=19429
2003-10-28 00:48:23 +00:00
John Luke 0a5c79b320 2003-10-13 John Luke <jluke@cfl.rr.com>
* en/*/*.xml: fix finalize signature (override not virtual)

svn path=/trunk/gtk-sharp/; revision=18998
2003-10-13 22:55:58 +00:00
John Luke cc1f6e10f2 run the updater, add docs for Art, Gda, and GnomeDb
(includes Gnome.Print)

svn path=/trunk/gtk-sharp/; revision=18154
2003-09-17 21:56:59 +00:00
Joshua Tauberer 9d0a50175b Updated GtkSharp docs for monodoc's needs
svn path=/trunk/gtk-sharp/; revision=16463
2003-07-21 00:13:00 +00:00
Duncan Mak ada2962e92 2003-07-17 Duncan Mak <duncan@ximian.com>
* Added new documentation files for the new classes, and fixed the
	off-by-one enum member name bug that was introduced in the previous
	commit.

svn path=/trunk/gtk-sharp/; revision=16325
2003-07-17 06:38:40 +00:00
John Luke 35079d1f3d fix method signatures
svn path=/trunk/gtk-sharp/; revision=15914
2003-07-04 05:11:46 +00:00
John Luke 1aabed9f63 add first draft
svn path=/trunk/gtk-sharp/; revision=15911
2003-07-04 02:09:49 +00:00
Duncan Mak 99fc829a10 2003-03-08 Duncan Mak <duncan@ximian.com>
* en/*/*.xml: Removed all the Deprecated nodes now.

svn path=/trunk/gtk-sharp/; revision=12345
2003-03-08 06:28:15 +00:00
Duncan Mak efa9acf122 2003-03-06 Duncan Mak <duncan@ximian.com>
* en/*/*.xml: Updated all the docs to match the new API. All the nodes
	that no longer have a corresponding member in the type are now
	marked as deprecated. We'll have to wait for Miguel to implement
	this in the browser to stop displaying them.

	All gtype constructors have been regenerated, because of the
	'uint' to 'GLib.Type' change. However, this patch will preserve
	(well, it was regenerated) the customized text for those GType
	constructors.

	A lot of the 'Finalized' methods are also now marked as
	deprecated, because the classes implement 'Dispose' instead. This
	is a possible place for customized scripts to generate template
	documentation, similar to the GType property and GType constructors.

svn path=/trunk/gtk-sharp/; revision=12270
2003-03-07 01:30:00 +00:00
Duncan Mak f3966a2a4c 2003-02-23 Duncan Mak <duncan@ximian.com>
* en/*/*.xml: a Big patch. This adds code-generated documentation
	for internal constructors, the GType property and the Finalized method.

svn path=/trunk/gtk-sharp/; revision=11858
2003-02-23 07:26:30 +00:00
Duncan Mak 7661dafe09 2003-02-14 Duncan Mak <duncan@ximian.com>
* en/*: Updated the docs and added a new Maintainer attribute, also
	fixed the generator to produce 'ref/out' modifiers for parameters.

svn path=/trunk/gtk-sharp/; revision=11599
2003-02-15 03:08:25 +00:00
Duncan Mak 52f747583f Gtk docs
svn path=/trunk/gtk-sharp/; revision=11508
2003-02-12 02:00:12 +00:00