Commit Graph

370 Commits

Author SHA1 Message Date
Lee Mallabone
95a81a7706 Add a custom constructor to Entry, and fix API bugs with Widget and Frame.
svn path=/trunk/gtk-sharp/; revision=13021
2003-04-02 08:26:36 +00:00
Lee Mallabone
b68542269f Add a default zero-arg constructor for Gtk.Viewport.
svn path=/trunk/gtk-sharp/; revision=12869
2003-03-27 19:15:04 +00:00
Lee Mallabone
438b788722 Fix crashes in TreeView.ScrollToCell.
svn path=/trunk/gtk-sharp/; revision=12830
2003-03-25 19:05:40 +00:00
Martin Baulig
860cab4b30 2003-03-25 Martin Baulig <martin@ximian.com>
* gtk/Application.cs (CurrentEvent): Made this property static.

svn path=/trunk/gtk-sharp/; revision=12823
2003-03-25 16:57:05 +00:00
Gonzalo Paniagua Javier
a43c7cc88b 2003-03-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* sample/rsvg/Makefile.in: don't build the sample app. everytime.

svn path=/trunk/gtk-sharp/; revision=12800
2003-03-25 00:58:50 +00:00
Gonzalo Paniagua Javier
7ab055de16 2003-03-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* api/gtk-api.xml: changed DisplayOptions by SetDisplayOptions.
	* sources/Gtk.metadata: added rename hint for DisplayOptions. Moved
	GtkHTMLStream hints to 'misc' area (they were in 'rename' area).

	* gtk/Calendar.custom: added a .net style GetDate override.
	* sample/CalendarApp.cs: updated to new methods in the Calendar API.

svn path=/trunk/gtk-sharp/; revision=12799
2003-03-25 00:47:13 +00:00
Martin Baulig
73ae9d533f 2003-03-23 Martin Baulig <martin@ximian.com>
* glib/Object.cs (Dispose): Call `Objects.Remove (_obj)' here
	instead of in PerformQueuedUnrefs().

svn path=/trunk/gtk-sharp/; revision=12764
2003-03-23 18:05:36 +00:00
Gonzalo Paniagua Javier
a02e962425 2003-03-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* sample/Fifteen.cs: work-around for bug 106145 in gnome bugzilla.
	* sample/DbClient/client.cs: updated to make it compile again.

svn path=/trunk/gtk-sharp/; revision=12752
2003-03-22 17:48:43 +00:00
Gonzalo Paniagua Javier
d7a08db9f6 2003-03-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* glue/adjustment.c:
	* glue/canvaspoints.c:
	* glue/clipboard.c:
	* glue/colorseldialog.c:
	* glue/combo.c:
	* glue/dialog.c:
	* glue/error.c:
	* glue/event.c:
	* glue/fileselection.c:
	* glue/list.c:
	* glue/object.c:
	* glue/paned.c:
	* glue/program.c:
	* glue/slist.c:
	* glue/style.c:
	* glue/type.c:
	* glue/value.c:
	* glue/widget.c: removed almost all the warnings.

svn path=/trunk/gtk-sharp/; revision=12751
2003-03-22 17:37:43 +00:00
Lee Mallabone
6dacec484b Add a sample showing a Calendar and build it on linux by default.
svn path=/trunk/gtk-sharp/; revision=12749
2003-03-22 16:37:03 +00:00
Charles Iliya Krempeaux
e0a61c2197 2003-03-13 Charles Iliya Krempeaux <charles@reptile.ca>
* README : Did some spelling and grammar corrections.
	  Fixed indentation problem.  And added some more info.
	* HACKING: Added info for people getting started with
	  hacking Gtk#.

svn path=/trunk/gtk-sharp/; revision=12583
2003-03-16 07:03:45 +00:00
Duncan Mak
c1444f3883 Fix the Text property. Patch from Mathias
Hasselmann <mathias.hasselmann@gmx.de>.

svn path=/trunk/gtk-sharp/; revision=12564
2003-03-15 22:19:47 +00:00
Miguel de Icaza
215133d780 2003-03-15 Miguel de Icaza <miguel@ximian.com>
* sample: Update samples to new Glade.Widget.

	* glade/WidgetAttribute.cs: Moved the old GladeWidgetattribute
	here.   Now its called `Glade.WidgetAttribute'.

	* glade/GladeWidgetAttribute.cs: Removed

	* glib/Idle.cs: Do not allow Idle class to be instantiated.

svn path=/trunk/gtk-sharp/; revision=12554
2003-03-15 21:02:25 +00:00
Miguel de Icaza
1c5b25f9a1 2003-03-11 Miguel de Icaza <miguel@ximian.com>
* gtk/Application.cs (CurrentEvent): Property implementing the
	suggestion from Paolo.

	* glib/Object.cs (Dispose): Destructor might be invoked in a
	thread, queue the object for destruction using the Gtk idle
	handler.   We perform the real destruction of the object in the
	same thread as the Gtk+ main thread.

svn path=/trunk/gtk-sharp/; revision=12551
2003-03-15 20:49:37 +00:00
Charles Iliya Krempeaux
94f05965a8 2003-03-14 Charles Iliya Krempeaux <charles@reptile.ca>
* sources/makefile : Added a "distclean" rule, so
	  that typing it will remove any source code directories,
	  and their contents.  (This works by just deleting all
	  the subdirectories.  Except for "CVS" of course.)

svn path=/trunk/gtk-sharp/; revision=12546
2003-03-15 19:09:53 +00:00
Charles Iliya Krempeaux
9b0fec6fb3 2003-03-14 Charles Iliya Krempeaux <charles@reptile.ca>
* sample/Makefile.in : Modified it to make it so "make clean"
	  will clean the "sample/rsvg" directory too.  And made it so
	  a "make distclean" will do a distclean to the "sample/rsvg"
	  too.
	* sample/rsvg/Makefile.in : Added the "distclean" rule to
	  it.

svn path=/trunk/gtk-sharp/; revision=12545
2003-03-15 18:52:24 +00:00
Rodrigo Moya
b2cdb3a585 2003-03-14 Rodrigo Moya <rodrigo@ximian.com>
* configure.in:
	* sources/makefile:
	* sources/gtk-sharp.sources: updated for libgda/libgnomedb 0.11.

	* sources/Gda.metadata: hide GdaBatch class.

svn path=/trunk/gtk-sharp/; revision=12509
2003-03-14 11:45:19 +00:00
Charles Iliya Krempeaux
882425cc53 2003-02-27 Charles Iliya Krempeaux <charles@reptile.ca>
* sample/rsvg : Created place to put sample program
	  that uses Rsvg#.
	* sample/Makefile.in : Edited it to make it "make"
	  the stuff in "sample/rsvg".
	* sample/rsvg/Makefile.in : Added it to "make" the
	  Rsvg# sample program.
	* sample/rsvg/svghelloworld.cs : Added it.  It's
	  the sample Rsvg# program.
	* sample/rsvg/sample.svg : Added it.  It's a
	  sample SVG file that the program displays.
	* configure.in : Modified it so it will create
	  sample/rsvg/Makefile from sample/rsvg/Makefile.in.

svn path=/trunk/gtk-sharp/; revision=12504
2003-03-14 07:31:51 +00:00
Duncan Mak
a3d22ce2c2 * gdk/Pixbuf.custom: Add a nice version of Gdk.Pixbuf.Pixels that
return a 'byte *'.

* sources/Gdk.metadata:
* api/gdk-api.xml: Hide Gdk.Pixbuf.Pixels.

svn path=/trunk/gtk-sharp/; revision=12491
2003-03-14 03:04:15 +00:00
Charles Iliya Krempeaux
b08b51132f 2003-03-01 Charles Iliya Krempeaux <charles@reptile.ca>
* sources/README : Updated it to include mention of GStreamer
	  and librsvg.  Also mentioned being able to use
	  "make get-source-code" to get the source code too.
	  Then added alot of content.

svn path=/trunk/gtk-sharp/; revision=12490
2003-03-14 01:41:12 +00:00
Charles Iliya Krempeaux
5ebd8d64a7 2003-02-27 Charles Iliya Krempeaux <charles@reptile.ca>
* sources/makefile : Updated the "make get-source-code"
	  functionality to create the Symbolic Links and get
	  gtkhtml from CVS, as specified by "sources/READDME".

svn path=/trunk/gtk-sharp/; revision=12489
2003-03-14 01:07:39 +00:00
Miguel de Icaza
cf022facd6 2003-03-10 Miguel de Icaza <miguel@ximian.com>
* gtk/Application.cs: Do not allow instances of Application to be
	created.

	(InitCheck): new method, wraps gtk_init_check.

	Removed inline docs from here.  Put them on the documentation
	file.

svn path=/trunk/gtk-sharp/; revision=12418
2003-03-11 02:26:25 +00:00
Miguel de Icaza
032a660b72 2003-03-08 Miguel de Icaza <miguel@ximian.com>
* glib/Idle.cs: Add private constructor.
2003-03-08  Miguel de Icaza  <miguel@ximian.com>

	* en/GLib/IdleHandler.xml: Documeted.

	* en/GLib/List.xml: Documented.

	* en/GLib/Idle.xml: Documented.

svn path=/trunk/gtk-sharp/; revision=12369
2003-03-09 07:58:52 +00:00
Mike Kestner
1258d9b176 2003-03-06 Mike Kestner <mkestner@speakeasy.net>
* rsvg/Makefile.in : some -L -r magic

svn path=/trunk/gtk-sharp/; revision=12291
2003-03-07 05:15:22 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
Duncan Mak
8e10c2d7ff * TestFileSelection.cs: Update to reflect FileSelection changes.
* sources/Gtk.metadata: Add GetLayoutOffsets to the rule for out params.

* gtk/FileSelection.custom (Button): Rename to FSButton, so that
we won't wipe out our original Gtk.Button docs.

svn path=/trunk/gtk-sharp/; revision=11761
2003-02-20 04:03:15 +00:00
Mike Kestner
ccd555425e 2003-02-19 Mike Kestner <mkestner@speakeasy.net>
* generator/GenBase.cs : mark #line 1 for .customs
	* generator/SignalHandler.cs : fix for GObj retvals

svn path=/trunk/gtk-sharp/; revision=11714
2003-02-19 06:23:36 +00:00