.NET wrapper for Gtk and other related libraries
Go to file
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
api Apply a modified version of a patch from Artemis <artemis@yandex.ru>, to fix and clean DrawPolygon and DrawLines in Gdk.Drawable. 2003-04-04 07:24:02 +00:00
art 2002-12-22 Robert McQueen <robot101@debian.org> 2002-12-22 05:08:52 +00:00
atk 2003-02-21 Mike Kestner <mkestner@speakeasy.net> 2003-02-22 04:34:56 +00:00
doc Add first draft of Label docs. 2003-04-04 23:13:02 +00:00
gconf 2003-02-28 Gonzalo Paniagua Javier <gonzalo@ximian.com> 2003-02-28 07:41:59 +00:00
gda 2003-02-05 Rodrigo Moya <rodrigo@ximian.com> 2003-02-05 18:52:45 +00:00
gdk 2003-04-03 Gonzalo Paniagua Javier <gonzalo@ximian.com> 2003-04-06 09:21:15 +00:00
generator 2003-04-03 Gonzalo Paniagua Javier <gonzalo@ximian.com> 2003-04-06 09:21:15 +00:00
glade 2003-04-03 Gonzalo Paniagua Javier <gonzalo@ximian.com> 2003-04-06 09:21:15 +00:00
glib 2003-04-03 Gonzalo Paniagua Javier <gonzalo@ximian.com> 2003-04-06 09:21:15 +00:00
glue 2003-03-22 Gonzalo Paniagua Javier <gonzalo@ximian.com> 2003-03-22 17:37:43 +00:00
gnome * gnome/voidObjectAffineSVPintSignal.cs: 2003-02-12 01:44:35 +00:00
gnomedb 2003-02-05 Rodrigo Moya <rodrigo@ximian.com> 2003-02-05 18:52:45 +00:00
gnomeprint makefile.in 2003-02-08 02:04:29 +00:00
gnometutorial redirect to go-mono.org/tutorial/ 2002-12-27 13:47:25 +00:00
gst 2002-12-22 Robert McQueen <robot101@debian.org> 2002-12-22 05:08:52 +00:00
gtk 2003-04-03 Gonzalo Paniagua Javier <gonzalo@ximian.com> 2003-04-06 09:21:15 +00:00
pango 2003-02-23 Mike Kestner <mkestner@speakeasy.net> 2003-02-24 03:13:08 +00:00
parser 2003-02-21 Mike Kestner <mkestner@speakeasy.net> 2003-02-21 05:54:32 +00:00
rsvg 2003-03-06 Mike Kestner <mkestner@speakeasy.net> 2003-03-07 05:15:22 +00:00
sample 2003-03-25 Gonzalo Paniagua Javier <gonzalo@ximian.com> 2003-03-25 00:58:50 +00:00
sources Apply a modified version of a patch from Artemis <artemis@yandex.ru>, to fix and clean DrawPolygon and DrawLines in Gdk.Drawable. 2003-04-04 07:24:02 +00:00
.cvsignore 2002-04-25 Mike Kestner <mkestner@speakeasy.net> 2002-04-25 09:17:54 +00:00
autogen.sh 2002-11-06 Gonzalo Paniagua Javier <gonzalo@ximian.com> 2002-11-06 03:53:24 +00:00
ChangeLog Add first draft of Label docs. 2003-04-04 23:13:02 +00:00
configure.in 2003-03-14 Rodrigo Moya <rodrigo@ximian.com> 2003-03-14 11:45:19 +00:00
HACKING 2003-03-13 Charles Iliya Krempeaux <charles@reptile.ca> 2003-03-16 07:03:45 +00:00
makefile 2003-02-26 Charles Iliya Krempeaux <charles@reptile.ca> 2003-02-27 05:16:47 +00:00
makefile.win32 2002-10-26 Mike Kestner <mkestner@speakeasy.net> 2002-10-27 02:30:51 +00:00
mapdllnames.pl 2003-02-21 Mike Kestner <mkestner@speakeasy.net> 2003-02-22 04:34:56 +00:00
README 2003-03-13 Charles Iliya Krempeaux <charles@reptile.ca> 2003-03-16 07:03:45 +00:00
README.generator 2002-08-20 Rachel Hestilow <hestilow@ximian.com> 2002-08-20 20:02:53 +00:00

The Gtk# website can be found at: http://gtk-sharp.sourceforge.net/

Gtk# is a .NET language binding for the GTK+ toolkit and assorted GNOME
libraries.  Gtk# is free software, licensed under the GNU LGPL.  The target
is the 2.0 platform, and no plans are currently in place to backport to 1.2.

The effort essentially boils down to an exercise in PInvoke against the C
dynamic libraries.  It may end up being slow as hell, but we'll see when we get 
there and adjust accordingly.

Building & Installing Gtk#:
---------------------------

    To compile Gtk# on Win32 using the .NET framework compiler and libraries,
    in the top level directory, type:

        make -f makefile.win32

    The Linux build is the traditional:

        ./configure
        make
        make install

    You may want to consider using configure's prefix option to install
    Gtk# using the same prefix as Mono.  That way all of your .NET assemblies
    get placed in the same place, and you don't need to do any extra "configuring"
    to make it so mono (and mint) can find your assemblies.  In other words,
    doing something like:

        ./configure --prefix=/the/path/that/was/used/for/mono
        make
        make install

    (Of course, replace "/the/path/that/was/used/for/mono" with whatever path
    which was used for Mono.  This might have been "/usr", "/usr/local", or
    something similar.)

    If you are compiling from CVS, you will need libtool and the auto* tools
    and will need to replace the configure above with autogen.sh.


Discussion & Support:
---------------------

    A mailing list for Gtk# discussion is available.

    You can subscribe to the mailing list by visiting:

        http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

    And following the instructions (on that page) to subscribe.
    Messages are posted on this mailing list by sending them to:

        gtk-sharp-list@ximian.com

    (The mailing list requires you to subscribe in order to post
    messages.)

    An archive of this mailing list can be found at:

        http://lists.ximian.com/archives/public/gtk-sharp-list/

    Also, people can get help with and discuss Gtk# on IRC via the
    #mono channel on the irc.gnome.org IRC server.

    People looking for general help with C# should visit the
    #c# channel on irc.freenode.net IRC server.


Developers:
-----------

    For developers wishing to "get started" with Gtk#, they are encouraged
    to read the MonkeyGuide:

        http://www.go-mono.com/tutorial

    In the MonkeyGuide, Chapter 18 is on Gtk#.


Hackers:
--------

    For those who wish to help with the development of Gtk#, they should
    read the file named: HACKING.

    Also, anyone wishing to hack Gtk# is encouraged to join the Gtk#
    mailing list.  And to visit the #mono IRC channel (on irc.gnome.org).