.NET wrapper for Gtk and other related libraries
fb1256d2f3
* parser/Gnome.metadata, Gtk.metadata: More conflict fixes. * parser/build.pl: Fully qualify all lib names. (Gtk+ packages are now LFS-compliant in Debian...) * parser/gapi2xml.pl: Fix for whitespace in fields, defines, and docs. * generator/BoxedGen.cs: Remove extraneous CallByName definition, add "override" keyword to FromNative. (Generate): Generate methods after fields. * generator/ClassBase.cs: Change CallByName, FromNative to virtual. (.ctor): Ignore "hidden" nodes. Set container on signal. (GenSignals, GenMethods): Add "implementor" argument for interface use. (Get(Method|Signal|Property)Recursively): Rework to correctly recurse interfaces. (Implements): Added. * generator/Ctor.cs (Initialize): Move clash initialization completely out of Generate, so we can check for collisions. * generator/Method.cs (GenerateDeclCommon): Check for duplicates, for "new" keyword. (Generate): Add "implementor" argument. * generator/ObjectGen.cs (Generate): Initialize ctor clashes on this and all parents, before generating. (Ctors, InitializeCtors): Added. * generator/Signal.cs: Store the container_type, check for collisions. * generator/StructGen.cs: Add "override" keyword to overriden methods. * gtk/FileSelection.custom (ActionArea): Add "new" keyword. svn path=/trunk/gtk-sharp/; revision=5782 |
||
---|---|---|
atk | ||
codegen | ||
doc | ||
gdk | ||
generator | ||
glib | ||
glue | ||
gnome | ||
gtk | ||
pango | ||
parser | ||
sample | ||
sources | ||
todo | ||
.cvsignore | ||
autogen.sh | ||
ChangeLog | ||
configure.in | ||
HACKING | ||
makefile | ||
makefile.win32 | ||
README |
The Gtk# homepage can be found at gtk-sharp.sourceforge.net. Gtk# is a C# binding for the Gtk+ toolkit (www.gtk.org). 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 Gtk#: -------------- To compile Gtk# on Win32 using the .Net framework compiler and libraries, in the top level directory, type: make -f makefile.win32 Currently, the glue library is not built on win32, and it is not possible to run Gtk# on the .Net runtime. The linux build is the traditional: configure make make install 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: ----------- A mailing list for Gtk# discussion (gtk-sharp-list@ximian.com) is available. Subscription and archives are available at lists.ximian.com. The list requires subscription in order to post.