Commit graph

558 commits

Author SHA1 Message Date
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 936e25b0c0 2003-03-05 Duncan Mak <duncan@ximian.com>
* TestCombo.cs: New file, to show basic usage of a ComboBox. It's
	missing some functionality, however. Currently, it's not possible
	to append to the list of strings in the pop-down.

svn path=/trunk/gtk-sharp/; revision=12252
2003-03-06 08:15:27 +00:00
Lee Mallabone eddfeb7c5f First draft of Statusbar and related docs.
svn path=/trunk/gtk-sharp/; revision=12223
2003-03-05 19:21:53 +00:00
Duncan Mak 9d2b95bcc6 2003-03-05 Duncan Mak <duncan@ximian.com>
* en/Gtk/Curve.xml
	* en/Gtk/DrawingArea.xml: More from Hector.

svn path=/trunk/gtk-sharp/; revision=12210
2003-03-05 07:39:20 +00:00
Miguel de Icaza 58abe26532 Add nice introductory texts
svn path=/trunk/gtk-sharp/; revision=12207
2003-03-05 07:12:35 +00:00
Miguel de Icaza d77646875c Add sample for the TreeView
svn path=/trunk/gtk-sharp/; revision=12198
2003-03-04 21:27:53 +00:00
Lee Mallabone a291648190 First draft of Paned docs, excluding events pending mailing list replies.
svn path=/trunk/gtk-sharp/; revision=12185
2003-03-04 18:08:23 +00:00
Miguel de Icaza 7e57b3b9a3 2003-03-03 Miguel de Icaza <miguel@ximian.com>
* gdk/Rectangle.custom: Add a Rectangle constructor that takes for
	arguments.

svn path=/trunk/gtk-sharp/; revision=12147
2003-03-03 17:43:22 +00:00
Miguel de Icaza d094f96b82 Add documentation for new constructor
svn path=/trunk/gtk-sharp/; revision=12146
2003-03-03 17:42:05 +00:00
Miguel de Icaza e547fa0e3f 2003-03-02 Miguel de Icaza <miguel@ximian.com>
* glib/Markup.cs: Add new file.

svn path=/trunk/gtk-sharp/; revision=12114
2003-03-03 01:42:26 +00:00
Lee Mallabone e0bb987aa5 First draft of documentation for SpinButton related things.
svn path=/trunk/gtk-sharp/; revision=12107
2003-03-02 21:16:32 +00:00
Peter Williams 0b1978da09 2003-03-01 Peter Williams <peterw@ximian.com>
* glue/Makefile.am (libgtksharpglue_la_LIBADD): Change this to
	BASE_DEPENDENCIES_LIBS

svn path=/trunk/gtk-sharp/; revision=12098
2003-03-01 23:04:36 +00:00
Mike Kestner 68f214f699 2003-03-01 Mike Kestner <mkestner@speakeasy.net>
* api/gdk-api.xml : make Color.Parse retval a gboolean. Also change
	some libname override rules to use win32 dllnames.
	* sources/Gdk.metadata : rules for above.

svn path=/trunk/gtk-sharp/; revision=12095
2003-03-01 22:18:09 +00:00
Peter Williams 151982eb62 Sigh, *actually* fix the markup this time.
svn path=/trunk/gtk-sharp/; revision=12094
2003-03-01 22:08:28 +00:00
Peter Williams b1b4ae0c3a 2003-03-01 Peter Williams <peterw@ximian.com>
* en/Gdk/GC.xml: Minor markup / grammar fixes.

svn path=/trunk/gtk-sharp/; revision=12093
2003-03-01 22:06:46 +00:00
Lee Mallabone b03f983252 Some corrections for bad 'langword' usage.
svn path=/trunk/gtk-sharp/; revision=12074
2003-02-28 23:26:20 +00:00
Miguel de Icaza ce4014e8b5 2003-02-28 Miguel de Icaza <miguel@ximian.com>
* glue/widget.c (gtksharp_gtk_widget_get_window): Fix.  Return the
	window, not the address of the window pointer.

svn path=/trunk/gtk-sharp/; revision=12073
2003-02-28 22:52:28 +00:00
Miguel de Icaza e77d9ff981 More updates
svn path=/trunk/gtk-sharp/; revision=12072
2003-02-28 20:51:45 +00:00
Miguel de Icaza 07262b2e6e Also add samples (and documentation while am doing this) to Color, as it is again, not obvious how to use it
svn path=/trunk/gtk-sharp/; revision=12071
2003-02-28 20:45:23 +00:00
Miguel de Icaza b00846dea2 Add examples to Foreground/Background, because they are far from obvious
svn path=/trunk/gtk-sharp/; revision=12070
2003-02-28 20:29:20 +00:00
Lee Mallabone b68831eb6c Merge in documents from bug #38940 by Hector, and doc Frame.xml myself.
svn path=/trunk/gtk-sharp/; revision=12068
2003-02-28 19:26:53 +00:00
Gonzalo Paniagua Javier 4465050e40 2003-02-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* generator/SignalHandler.cs: the generated Dispose method now calls
	base.Dispose and always disconnects the handler. Thanks to
	Petr Danecek <danecek@ucl.cas.cz>.

svn path=/trunk/gtk-sharp/; revision=12060
2003-02-28 10:55:59 +00:00
Gonzalo Paniagua Javier 5fa688fb04 2003-02-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* api/gdk-api.xml:
	* sources/Gdk.metadata: hide GdkColormap.AllocColor.

	* gdk/Colormap.custom: AllocColor is here.

	* gconf/tools/schemagen.cs: XmlDocument.Load (string) takes an Uri.

svn path=/trunk/gtk-sharp/; revision=12055
2003-02-28 07:41:59 +00:00
Miguel de Icaza ae21ffa9f2 2003-02-28 Miguel de Icaza <miguel@ximian.com>
* gdk/Color.custom: Added constructors from System.Drawing.Color
	and from rgb byte tuples.

	* gdk/Colormap.custom: Add new .custom file for the AllocColor
	call.

svn path=/trunk/gtk-sharp/; revision=12054
2003-02-28 07:28:06 +00:00
Miguel de Icaza 8e53154449 Update color docs with my new custom files
svn path=/trunk/gtk-sharp/; revision=12053
2003-02-28 07:10:53 +00:00
Miguel de Icaza f28a0d72b8 2003-02-27 Miguel de Icaza <miguel@ximian.com>
* gdk/Drawable.custom: Added nice overload for DrawRectangle.

Plus older ChangeLog entries that I had not commited

svn path=/trunk/gtk-sharp/; revision=12052
2003-02-28 04:54:01 +00:00
Miguel de Icaza f0c80c2430 update docs
svn path=/trunk/gtk-sharp/; revision=12051
2003-02-28 04:50:24 +00:00
Martin Willemoes Hansen c29a363d54 * en/Gtk/TreeModel.xml: Fixed GetValue method signature
svn path=/trunk/gtk-sharp/; revision=12043
2003-02-27 20:41:19 +00:00
Mike Kestner 11a68cfecf 2003-02-26 Charles Iliya Krempeaux <charles@reptile.ca>
* gtk/TextBuffer.custom : Added method, named
 	  "GetIterAtOffset" to wrap C API procedure
 	  "gtk_text_buffer_get_iter_at_offset" in a
 	  more expected way.

svn path=/trunk/gtk-sharp/; revision=12022
2003-02-27 05:41:32 +00:00
Mike Kestner d5ec2ba7cb 2003-02-26 Charles Iliya Krempeaux <charles@reptile.ca>
* configure.in : Added support for Rsvg.NET -- librsvg
 	  .NET bindings.  (Made a check for the library.  And
 	  made it so "rsvg/Makefile" would be generated.  Also
 	  made it so it will display if rsvg-sharp.dll will
 	  be generated or not.)
 	* makefile :  Added support for Rsvg.NET -- librsvg
           .NET bindings.  (Added an entry for Rsvg.NET.)
        * sources/gtk-sharp.sources : Added an entry for
 	  Rsvg.NET -- librsvg .NET bindings.
        * rsvg/ : Created "rsvg/" directory.  (To hold stuff
 	  for Rsvg.NET.)
        * rsvg/Tool.cs : Created Rsvg.Tool class to hold
 	  various procedures (which were not automatically
 	  wrapped).
 	* rsvg/Makefile.in : Created "rsvg/Makefile.in".
 	* api/Makefile.in : Added and entry for Rsvg.NET.

svn path=/trunk/gtk-sharp/; revision=12020
2003-02-27 05:16:47 +00:00
Gonzalo Paniagua Javier 4a6b18ee0f 2003-02-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* generator/Parser.cs: use XmlDocument.Load (Stream). The one using
	(String) expects an uri.

	* generator/Signal.cs: always remove the delegate from the signal
	callback (prior to this, the last handler was not being removed).
	Dispose the callback (ie, disconnect from the signal) when there are
	no registered delegates to handle it.

	* generator/SignalHandler.cs: added 2 new fields to hold the instance
	and the handler ID. The finalization is now done in Dispose and
	disconnects the signal handler when no delegate will handle the signal.
	Changed gobject-2.0 to libgobject-2.0-0.dll.

	* glib/SignalCallback.cs: implemented IDisposable interface.

svn path=/trunk/gtk-sharp/; revision=11976
2003-02-26 02:16:38 +00:00
Lee Mallabone f674efc1e8 Add full docs for some classes, first draft for File & Color Selection.
svn path=/trunk/gtk-sharp/; revision=11958
2003-02-25 14:22:39 +00:00
Duncan Mak 935bcf45a7 * en/Gtk/WrapMode.xml: From Hector.
* en/Gtk/ButtonsType.xml:
* en/Gtk/MessageType.xml: Can't sleep, wrote (cut-n-pasted) some
documentation for some enums.

svn path=/trunk/gtk-sharp/; revision=11946
2003-02-25 09:15:04 +00:00
Lee Mallabone 0656b6f495 Add documentation to Font selectors.
svn path=/trunk/gtk-sharp/; revision=11944
2003-02-25 08:27:52 +00:00
Kevin Breit 2535823e9a 2003-02-24 Kevin Breit <mrproper@ximian.com>
* en/Gtk/ArrowType.xml: Fixed a tag mismatch error that caused it to break compile.

svn path=/trunk/gtk-sharp/; revision=11942
2003-02-25 04:34:25 +00:00
Duncan Mak 5f16ad9464 Make the path generic again, I forgot to revert the
last patch after Gonzalo checked in a temporary fix to Uri.cs.

svn path=/trunk/gtk-sharp/; revision=11941
2003-02-25 04:29:32 +00:00
Kevin Breit 9ca9b4a738 2003-02-24 Kevin Breit <mrproper@ximian.com>
* en/Gtk/ArrowType.xml: Removed the "To be added" from the remarks sections.

	* en/Gtk/Arrow.xml: Fixed up a few things in the documentation.

svn path=/trunk/gtk-sharp/; revision=11940
2003-02-25 04:19:38 +00:00
Mike Kestner 38750dcd9a 2003-02-24 Mike Kestner <mkestner@speakeasy.net>
* sample/TreeViewDemo.cs : fix Type ambiguities

svn path=/trunk/gtk-sharp/; revision=11924
2003-02-24 08:04:42 +00:00
Mike Kestner 1f43eeef6b 2003-02-24 Mike Kestner <mkestner@speakeasy.net>
* sample/Subclass.cs : rework the GType code.

svn path=/trunk/gtk-sharp/; revision=11923
2003-02-24 07:56:32 +00:00
Mike Kestner 0e5ab4bdea 2003-02-24 Mike Kestner <mkestner@speakeasy.net>
* generator/Parameters.cs : fix some ref/out bugs

svn path=/trunk/gtk-sharp/; revision=11922
2003-02-24 07:36:30 +00:00
Mike Kestner 470c852770 oops forgot a cvs add
svn path=/trunk/gtk-sharp/; revision=11921
2003-02-24 06:44:54 +00:00
Mike Kestner 95fc33f785 2003-02-24 Mike Kestner <mkestner@speakeasy.net>
* generator/ObjectGen.cs : gen GLib.Value ctor, not uint
	* glib/Object.cs : use GLib.Type in RegisterGType and
	  make the g_object_new ctor use GLib.Type.
	* glib/Type.cs : new thin wrapper for GValue type
	* glib/*.cs : s/Type/System.Type

svn path=/trunk/gtk-sharp/; revision=11920
2003-02-24 06:39:30 +00:00
Mike Kestner 0a60bc2916 2003-02-23 Mike Kestner <mkestner@speakeasy.net>
* generator/GenBase.cs : quote the custom filenames in
	#file directives.

svn path=/trunk/gtk-sharp/; revision=11918
2003-02-24 05:20:04 +00:00
Mike Kestner 554450a33a 2003-02-23 Mike Kestner <mkestner@speakeasy.net>
* generator/CallbackGen.cs : suppress len params from
	  string/len pairs.
	* generator/Parameters.cs : begin the refactoring to use
	  Parameter class. Suppress len params from string/len pairs.
	*/*.custom : remove all overrides of string/len pairs
	*/*.cs : ditto.  Thanks to Alp Toker for the foundation
	  patch that this change was built upon.

svn path=/trunk/gtk-sharp/; revision=11913
2003-02-24 03:13:08 +00:00
Duncan Mak 2f10faa83d Re-add to the repository after accidentally deleting them. Sorry, it's late.
svn path=/trunk/gtk-sharp/; revision=11863
2003-02-23 09:17:59 +00:00
Duncan Mak 32fbdccdcd Messed up and accidentally removed files, pressed the wrong key, fixing now
svn path=/trunk/gtk-sharp/; revision=11862
2003-02-23 09:15:59 +00:00
Duncan Mak 67579ea128 * makefile: the docs target is dangerous, remove it by
default. Also, remove the -f flag, so even if we do run it, it
won't overwrite files, by default.

* en/Gtk/AccelGroup.xml: From Raphael Schmid
<raphael.schmid@gmx.de>, with edits.

svn path=/trunk/gtk-sharp/; revision=11861
2003-02-23 09:11:59 +00:00
Duncan Mak 27f0e8b758 * en/Gtk/DirectionType.xml:
* en/Gtk/SelectionMode.xml: More from Hector.

svn path=/trunk/gtk-sharp/; revision=11860
2003-02-23 08:44:11 +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 1f227a628f * en/Gtk/MovementStep.xml:
* en/Gtk/ResizeMode.xml:
* en/Gtk/StateType.xml:
* en/Gtk/ToolbarStyle.xml: More from Hector, the Mexican
documentation phenomenon!

svn path=/trunk/gtk-sharp/; revision=11850
2003-02-22 22:32:28 +00:00