.NET wrapper for Gtk and other related libraries
967e3e9c5a
* generator/ClassBase.cs: Change hasDefaultConstructor to protected, adjust now that it is an attr and not a subnode. Also add virtual property AssignToName (for ctors). * generator/Ctor.cs: Add property ForceStatic. (Generate): Optimize return code a bit for the static case. * generator/Method.cs: Assign to a "raw_ret" pointer before calling FromNativeReturn. * generator/Parameters.cs: Change "out ref" to "out", not "ref". * generator/Property.cs: Fix to work correctly with all object and struct types (mostly just some if-cases added). * generator/SignalHandler.cs: Remove args_type and argfields (unused). (Generate): Initialize struct if necessary. * generator/StructBase.cs: Massive reworking to support methods, ctors, etc. * generator/SymbolTable.cs: Add GdkAtom and gconstpointer simple types. * glib/Boxed.cs: Accept both IntPtr and object ctors. Add access for both. * glib/Opaque.cs: Fix copy/pasted copyright notice, remove data and event fields. Fix docs. * glib/Value.cs: Work correctly with boxed properties. * gnome/Modules.cs: Use new struct ctors. * gnome/Program.custom: Remove Get, this is being generated now. * parser/Gdk.metadata: Fix the drawable classes to inherit correctly. * parser/Metadata.pm: Change per-class attributes to actually be attributes. * parser/Gtk.metadata: Add a dummy attribute value for disabledefaultctor. * parser/gapi2xml.pl: Add hacks for the (broken) Drawable and Bitmap typedefs. * sample/test/TestColorSelection.cs: Display color string in hex format, update to use IsNull instead of == null, and size dialog to look pretty. * sample/Size.cs: Added. svn path=/trunk/gtk-sharp/; revision=6264 |
||
---|---|---|
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.