2012-10-14 13:22:47 +00:00
The Gtk# website can be found at: http://www.mono-project.com/GtkSharp
2001-12-07 16:34:30 +00:00
2003-02-14 01:09:43 +00:00
Gtk# is a .NET language binding for the GTK+ toolkit and assorted GNOME
2012-10-14 13:22:47 +00:00
libraries. Gtk# is free software, licensed under the GNU LGPL.
2001-09-16 23:15:56 +00:00
2003-02-14 01:09:43 +00:00
Building & Installing Gtk#:
---------------------------
2002-02-08 23:56:27 +00:00
2017-09-26 01:49:24 +00:00
[![Join the chat at https://gitter.im/GLibSharp/GtkSharp ](https://badges.gitter.im/GLibSharp/GtkSharp.svg )](https://gitter.im/GLibSharp/GtkSharp?utm_source=badge& utm_medium=badge& utm_campaign=pr-badge& utm_content=badge)
2012-10-14 13:22:47 +00:00
Install the gtk-3 development headers first. On Debian, this can be done using:
apt-get install libgtk-3-dev
2011-11-16 12:37:00 +00:00
2017-09-06 01:30:14 +00:00
We are using [meson ](http://mesonbuild.com/ ) as a build system, you can build with
2003-02-14 01:09:43 +00:00
2017-09-06 01:30:14 +00:00
meson build/
ninja -C build/
2002-05-02 21:57:41 +00:00
2012-11-04 00:42:01 +00:00
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
2003-03-16 07:03:45 +00:00
Discussion & Support:
---------------------
2001-09-16 23:15:56 +00:00
2003-02-14 01:09:43 +00:00
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.
2003-03-16 07:03:45 +00:00
Messages are posted on this mailing list by sending them to:
2003-02-14 01:09:43 +00:00
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
2012-10-14 13:22:47 +00:00
#gtk # or #mono channels on the irc.gnome.org IRC server.
2003-02-14 01:09:43 +00:00
2003-03-16 07:03:45 +00:00
People looking for general help with C# should visit the
#c # channel on irc.freenode.net IRC server.
2003-02-14 01:09:43 +00:00
Developers:
-----------
For developers wishing to "get started" with Gtk#, they are encouraged
2003-04-26 04:52:06 +00:00
to read the Mono Hand Book:
2003-02-14 01:09:43 +00:00
2017-01-20 12:10:48 +00:00
http://www.mono-project.com/docs/gui/gtksharp/
2003-03-16 07:03:45 +00:00
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#
2012-10-14 13:22:47 +00:00
mailing list. And to visit the #gtk # IRC channel (on irc.gnome.org).