Commit graph

542 commits

Author SHA1 Message Date
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
Mike Kestner 4bf0846a5f 2003-02-22 Mike Kestner <mkestner@speakeasy.net>
* sources/makefile : patch from Charles Krempeaux to add
	get-source-code target which wgets tarballs.

svn path=/trunk/gtk-sharp/; revision=11842
2003-02-22 19:19:15 +00:00
Duncan Mak 2071f16dec * en/Gtk/HSeparator.xml: Hector Gomez.
* en/Gtk/DeleteType.xml:  Kevin Breit, with edits.

svn path=/trunk/gtk-sharp/; revision=11827
2003-02-22 07:39:00 +00:00
Mike Kestner c0b574a686 2003-02-21 Mike Kestner <mkestner@speakeasy.net>
* mapdllnames.pl : a little whitespace action
	* api/*-api.xml : move to win32 dllnames
	* */makefile.win32 : remove the mapdllnames step
	* */*.cs : move to win32 dllnames
	* */*.custom : move to win32 dllnames
	* sources/gtk-sharp.sources : move to win32 dllnames

svn path=/trunk/gtk-sharp/; revision=11823
2003-02-22 04:34:56 +00:00
Kevin Breit 951d74accb 2003-02-21 Kevin Breit <mrproper@ximian.com>
* en/Gtk/Arrow.xml: Fixed a small error where a . was missing at the end of a sentence.

svn path=/trunk/gtk-sharp/; revision=11821
2003-02-22 02:47:23 +00:00
Duncan Mak f73c939fd1 * en/Gtk/Arrow.xml: Kevin Breit, <mrproper@ximian.com>.
svn path=/trunk/gtk-sharp/; revision=11818
2003-02-21 23:20:50 +00:00
Duncan Mak 641a3191a1 * en/Gtk/Misc.xml: Raphael J. Schmid, <raphael@arrivingarrow.net>.
* en/Gtk/CornerType.xml: Kevin Breit, <mrproper@ximian.com>.

* en/Gtk/AccelLabel.xml: Hector E. Gomez Morales <hgomez_36@flashmail.com>.

* en/Gtk/AccelFlags.xml: Hector E. Gomez Morales <hgomez_36@flashmail.com>.

svn path=/trunk/gtk-sharp/; revision=11816
2003-02-21 22:52:43 +00:00
Duncan Mak 388ec2d564 Fix a missing <para> tag.
svn path=/trunk/gtk-sharp/; revision=11807
2003-02-21 18:59:43 +00:00
Lee Mallabone e38298641d Correct the maintainer attribute to be consistent.
svn path=/trunk/gtk-sharp/; revision=11806
2003-02-21 18:59:11 +00:00
Lee Mallabone e22306558d Set mono-doc-maintainer correctly
svn path=/trunk/gtk-sharp/; revision=11805
2003-02-21 18:51:17 +00:00
Mike Kestner d743db9340 2003-02-21 Mike Kestner <mkestner@speakeasy.net>
* api/*-api.xml : remove stray enum get_type methods.
	* parser/gapi2xml.pl : ignore get_type methods on enums.

svn path=/trunk/gtk-sharp/; revision=11796
2003-02-21 05:54:32 +00:00
Mike Kestner 90913930a7 oops, mark the Set method, not Get.
svn path=/trunk/gtk-sharp/; revision=11791
2003-02-21 03:44:42 +00:00
Mike Kestner 82cc097ef4 2003-02-20 Mike Kestner <mkestner@speakeasy.net>
* api/gtk-api.xml : hide the Arrow::Set method.
	* sources/Gtk.metadata : metadata for above.

svn path=/trunk/gtk-sharp/; revision=11790
2003-02-21 03:33:42 +00:00
Lee Mallabone 56cc116358 Add documentation, based a little on the C API docs.
svn path=/trunk/gtk-sharp/; revision=11784
2003-02-20 20:55:24 +00:00
Duncan Mak 2a82ba7d27 CheckButton documentation from Kevin Breit <mrproper@ximian.com>
svn path=/trunk/gtk-sharp/; revision=11782
2003-02-20 19:25:37 +00:00
Mike Kestner 367de43b68 2003-02-19 Mike Kestner <mkestner@speakeasy.net>
* generator/Parameters.cs (Initialize): construct a GLib.Value
	for out params.

svn path=/trunk/gtk-sharp/; revision=11768
2003-02-20 06:17:23 +00:00
Mike Kestner 284ab36d8b 2003-02-19 Mike Kestner <mkestner@speakeasy.net>
* api/gtk-api.xml : mark TreeModel::GetValue value param out
	suggested by Lee Mallabone <gnome@phonicmonkey.net>
	* sources/Gtk.metadata : metadata for above
	* sources/README : update the gnomedb/gda version reqs

svn path=/trunk/gtk-sharp/; revision=11766
2003-02-20 05:31:14 +00:00