.NET wrapper for Gtk and other related libraries
Go to file
Bertrand Lorentz 5422daaabc Convert some source files to Unix line endings
No real code change in this commit.
2015-05-25 16:57:08 +02:00
atk csproj: Fix assembly names and include *.dll.config in output 2014-09-21 15:07:38 +02:00
audit Convert some source files to Unix line endings 2015-05-25 16:57:08 +02:00
cairo csproj: Fix assembly names and include *.dll.config in output 2014-09-21 15:07:38 +02:00
doc Convert some source files to Unix line endings 2015-05-25 16:57:08 +02:00
gdk csproj: Fix assembly names and include *.dll.config in output 2014-09-21 15:07:38 +02:00
generator Convert some source files to Unix line endings 2015-05-25 16:57:08 +02:00
gio gio: Use the GioNativeDll in all custom gio code 2015-05-10 17:50:23 +02:00
glib glib: Check for self-assignment of Opaque.Raw property 2014-09-21 16:13:31 +02:00
gtk gtk: Fix Builder xml definition loading 2014-09-21 15:49:10 +02:00
gtkdotnet gdk: Fix dll name and use a const for all DllImports in custom code 2014-05-04 17:30:26 +02:00
msi build: Require GLib 2.32 or above 2014-08-10 18:20:01 +02:00
pango csproj: Fix assembly names and include *.dll.config in output 2014-09-21 15:07:38 +02:00
parser Convert some source files to Unix line endings 2015-05-25 16:57:08 +02:00
sample build: Fix distcheck by adding VariantDemo.cs in the tarball 2014-08-10 19:59:45 +02:00
sources gdk: Fix dll name and use a const for all DllImports in custom code 2014-05-04 17:30:26 +02:00
.gitignore .gitignore: add autotools' compile 2014-05-29 17:34:22 +02:00
AssemblyInfo.cs.in Remove ClassInitializer attributes. 2011-02-09 10:05:40 -06:00
AUTHORS release: Update AUTHORS for 2.99.1 2013-09-22 15:41:11 +02:00
autogen.sh build: Make libtoolize quiet, it's not that interesting 2014-05-24 15:42:08 +02:00
ChangeLog.old Archive Changelog as Changelog.old 2012-10-14 16:10:05 +02:00
configure.ac build: Bump mono dependency to 3.2.8 2015-05-10 17:16:00 +02:00
COPYING Replaced COPYING with LGPL2-only license 2012-11-17 23:24:56 +01:00
gapi.xsd generator: Add support for fixed length arrays as method parameters 2014-04-21 17:23:32 +02:00
gtk-sharp.sln Add an audit.csproj to the MonoDevelop solution 2013-03-29 17:57:34 +01:00
gtk-sharp.snk Add gtk-sharp.snk 2004-06-08 17:32:50 +00:00
HACKING Update various bits of documentation in READMEs and HACKING 2012-10-14 15:22:47 +02:00
Makefile.am Update the Windows installer infrastructure for GTK+ 3 2014-05-24 17:30:18 +02:00
Makefile.include build: Fix opaquetest build on Windows 2014-05-24 17:25:39 +02:00
NEWS release: Fix indentation of NEWS 2014-06-06 15:48:07 +02:00
policy.config.in 2005-09-21 Mike Kestner <mkestner@novell.com> 2005-09-22 04:26:52 +00:00
README Simplify instructions about choosing the installation prefix 2013-11-02 15:33:31 +01:00
README.generator silly typo 2006-04-16 02:43:41 +00:00
TODO Update TODO 2012-10-14 15:11:43 +02:00

The Gtk# website can be found at: http://www.mono-project.com/GtkSharp

Gtk# is a .NET language binding for the GTK+ toolkit and assorted GNOME
libraries. Gtk# is free software, licensed under the GNU LGPL.

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

    Install the gtk-3 development headers first. On Debian, this can be done using:
    apt-get install libgtk-3-dev

    The 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=`pkg-config --variable=prefix mono`
        make
        make install

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


The gui-thread-check profiler module.
-------------------------------------

    Since version 3 of gtk# a profiler called "gui-thread-check" is included as
    part of the install for debugging purposes. (It's located in the subfolder
    gtk/gui-thread-check .)

    This profiler module can be used to check if a GTK# application is trying to
    invoke gtk or gdk methods from a thread which is not the main GUI thread.

    To use it, run your application with the command:

        mono --profile=gui-thread-check yourapp.exe

    If the profiler is properly installed, you'll see an output like this:

        *** Running with gui-thread-check ***
        *** GUI THREAD INITIALIZED: 2861676352

    While the application is running, if the profiler detects a non-gui thread
    invoking gtk methods, it will print a warning message together with a
    stack trace. For example:

        *** GTK CALL NOT IN GUI THREAD: Widget.gtk_widget_get_parent
           Widget.get_Parent
           SourceEditorWidget.SetLastActiveEditor
           SourceEditorWidget.get_TextEditor
           SourceEditorWidget.get_Document
           SourceEditorWidget.HandleParseInformationUpdaterWorkerThreadDoWork
           BackgroundWorker.OnDoWork
           BackgroundWorker.ProcessWorker


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
    #gtk# or #mono channels 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 Mono Hand Book:

        http://www.mono-project.com/Monkeyguide


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 #gtk# IRC channel (on irc.gnome.org).