.NET wrapper for Gtk and other related libraries
bda62ac3b7
* glib/Value.cs : Tried adding CallingConvention.Cdecl to all the DllImports, but still couldn't get reliable Propery setting without periodic NullReference exceptions. When all else fails, drop back and punt. * glib/Object.cs : Rewrote Set|GetProperty methods. Now they use g_object_get|set and don't rely on GValues. The int, bool, and string prop types are now working reliably. * gtk/Window.cs : Update all Properties to use new GLib.Object signatures. * sample/HelloWorld.cs : added some more property usage for testing purposes. svn path=/trunk/gtk-sharp/; revision=1048 |
||
---|---|---|
gdk | ||
glib | ||
gtk | ||
sample | ||
.cvsignore | ||
ChangeLog | ||
HACKING | ||
makefile | ||
README |
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. The "Hello World" application in the sample directory has been executed on Win32 using the Gtk and associated binaries provided by the Gimp Win32 porting project. Links to these binaries can be found on the Gtk Homepage.