Commit graph

975 commits

Author SHA1 Message Date
Gonzalo Paniagua Javier 0d5cea38d4 *** empty log message ***
svn path=/trunk/gtk-sharp/; revision=13238
2003-04-06 09:21:40 +00:00
Gonzalo Paniagua Javier 3821938764 2003-04-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* generator/CallbackGen.cs: the new generated wrappers have:
		-(optional) Field of the same type returned by the callback.
		-A call to RemoveIfNotAlive at the beginning. It returns true,
		return the dummy field.
		-Added an object to the ctor signature and pass it to the base
		class.

	* generator/Ctor.cs: added a Params property.

	* generator/Method.cs: set Static property in Parameters if the method
	is static.

	* generator/Parameters.cs: added Static property. The call creation of
	the delegate wrapper (if applicable) uses the new signature. Pass a null
	as object is the method is static.

	* generator/StructBase.cs: set Static for the parameters of the ctors.

	* glib/DelegateWrapper.cs: the ctor takes an object (the one creating
	the wrapper or null) and creates a weak reference to it. Store it in
	a static Hashtable (this way the wrapper itself is not garbage
	collected).
	(RemoveIfNotAlive): called from the native delegate callbacks. If the
	target of the weak reference has been garbage collected, removes itself
	from the hashtable to let the GC dispose this instance and returns true.

	* gdk/Pixbuf.custom:
	* gtk/Clipboard.custom:
	* gtk/GtkSharp.GtkClipboardClearFuncNative.cs:
	* gtk/GtkSharp.GtkClipboardGetFuncNative.cs:
	* glade/XML.custom: changed delegate wrappers to match the new
	signature.

svn path=/trunk/gtk-sharp/; revision=13237
2003-04-06 09:21:15 +00:00
Duncan Mak f7495647c1 Add first draft of Label docs.
svn path=/trunk/gtk-sharp/; revision=13176
2003-04-04 23:13:02 +00:00
Lee Mallabone 591c9eca8f Apply a modified version of a patch from Artemis <artemis@yandex.ru>, to fix and clean DrawPolygon and DrawLines in Gdk.Drawable.
svn path=/trunk/gtk-sharp/; revision=13133
2003-04-04 07:24:02 +00:00
Charles Iliya Krempeaux 03ebb1fcb3 2003-04-02 Charles Iliya Krempeaux <charles@reptile.ca>
* generator/SignalHandler.cs : Added Patch submitted by
	  Mark Crichton <crichton@gimp.org>, to get GtkMozEmbed
	  bindings working.

svn path=/trunk/gtk-sharp/; revision=13043
2003-04-02 22:29:26 +00:00
Lee Mallabone 62494b387b Add an example to Viewport docs.
svn path=/trunk/gtk-sharp/; revision=13022
2003-04-02 08:30:07 +00:00
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 8f7e0a2cbd Second draft of Calendar docs. First one may have got messed up.
svn path=/trunk/gtk-sharp/; revision=12880
2003-03-28 08:46:25 +00:00
Lee Mallabone 0e53feb354 First draft of Viewport docs.
svn path=/trunk/gtk-sharp/; revision=12876
2003-03-27 21:19:43 +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
Duncan Mak fa8aea036c Some files missing from the last commit.
svn path=/trunk/gtk-sharp/; revision=12842
2003-03-26 00:54:24 +00:00
Duncan Mak b0b964c502 This text was accidentally overwritten.
svn path=/trunk/gtk-sharp/; revision=12841
2003-03-26 00:46:05 +00:00
Duncan Mak 94e4a805f8 Update docs reflect latest updater changes.
svn path=/trunk/gtk-sharp/; revision=12840
2003-03-26 00:38:24 +00:00
Duncan Mak 4002b3d9f1 new overwrite family of targets. Use these for
removing deprecated nodes, instead of just leaving them tagged
with an attribute.

svn path=/trunk/gtk-sharp/; revision=12839
2003-03-26 00:38:09 +00:00
Duncan Mak 1f4caa729e Put a space between type and [] for array declarations.
svn path=/trunk/gtk-sharp/; revision=12836
2003-03-25 23:49:54 +00:00
Lee Mallabone 053ce0b012 First draft Calendar docs.
svn path=/trunk/gtk-sharp/; revision=12832
2003-03-25 22:32:50 +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
Lee Mallabone 582723b68b Updated Ruler docs.
svn path=/trunk/gtk-sharp/; revision=12786
2003-03-24 18:12:01 +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
Lee Mallabone eed31b9cb6 HRuler docs.
svn path=/trunk/gtk-sharp/; revision=12753
2003-03-22 17:54:47 +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
Lee Mallabone f8c625b0f9 First draft of Adjustment docs.
svn path=/trunk/gtk-sharp/; revision=12734
2003-03-21 18:52:24 +00:00
Lee Mallabone b0b6e31e78 Simple docs for 2 enums.
svn path=/trunk/gtk-sharp/; revision=12720
2003-03-21 08:54:51 +00:00
Hector E. Gomez Morales c0c9297c79 Commited full docs of MenuShell and MenuDirectionType.
svn path=/trunk/gtk-sharp/; revision=12607
2003-03-17 05:07:54 +00:00
Hector E. Gomez Morales a6de3a7745 Full docs of Menushell and MenuDirectionType.
svn path=/trunk/gtk-sharp/; revision=12606
2003-03-17 05:04:39 +00:00
Duncan Mak 919841f25b fix the makefile
svn path=/trunk/gtk-sharp/; revision=12605
2003-03-17 01:13:48 +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 31a519a4cd * gtk/ColorSelectionDialog.custom: Rename the inner Button class
to be ColorSelectionButton to avoid a name clash in the doc generator.

* gtk/TextBuffer.custom: Fix the Text property. Patch from Mathias
Hasselmann <mathias.hasselmann@gmx.de>.

svn path=/trunk/gtk-sharp/; revision=12572
2003-03-16 00:08:18 +00:00
Duncan Mak 335ddb466a Update the docs for Gtk.Application. The changes from the last commit
were wrong.

There's a bug in the signature formation code. 'string []' is now
'String[]', which leads to deprecation of valid nodes. I'll be fixing that now.

svn path=/trunk/gtk-sharp/; revision=12571
2003-03-15 23:06:26 +00:00
Duncan Mak f7356a040e Remove GladeWidgetAttribute.xml
svn path=/trunk/gtk-sharp/; revision=12570
2003-03-15 23:00:21 +00:00
Duncan Mak a8ce5e560a Update docs for Gdk.Color and also Gtk.Application. The Makefile is
updated to always use the updater instead of the generator.

svn path=/trunk/gtk-sharp/; revision=12569
2003-03-15 22:58:57 +00:00
Duncan Mak 69d72bdf94 Add docs for the renamed WidgetAttribute.
svn path=/trunk/gtk-sharp/; revision=12568
2003-03-15 22:50:55 +00:00
Duncan Mak 6a0ba3d687 Update docs for Gtk.
svn path=/trunk/gtk-sharp/; revision=12567
2003-03-15 22:50:24 +00:00
Duncan Mak 519ca82a97 Update docs for Gdk.
svn path=/trunk/gtk-sharp/; revision=12566
2003-03-15 22:48:48 +00:00
Duncan Mak 3082a2d362 Update docs for GLib.
svn path=/trunk/gtk-sharp/; revision=12565
2003-03-15 22:45:31 +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
Lee Mallabone 9083728e6d First draft of Alignment and Bin docs.
svn path=/trunk/gtk-sharp/; revision=12522
2003-03-15 10:41:15 +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