mono/xwt — pull request #332 by sevoku (2014-05-15 12:05:57+00:00)
Title: [GTK] add initial Gtk3 support

This pull request adds initial Gtk3 support and a Gtk3 test app (Gtk3Test).

(It is a follow up of #322, but with a separate branch in my repository)

To use the Gtk3 backend compile the Xwt.Gtk3 project and initialize Xwt with ToolkitType.Gtk3.

The new Xwt.Gtk3 project reuses all Xwt.Gtk sources, which have been modified for Gtk3 support (using conditional compiling by the XWT_GTK3 symbol set in Xwt.Gtk3).

The most important changes from Gtk2 to Gtk3 are based on the new sizing model (height-by-width, widh-by-height) eliminating the SizeRequested handlers/overrides.

In the Gtk3Test app almost everything is working like with Gtk2 except of:
* PopoverBackend (TODO!)
* ~~ComboBoxes with icon (samples app)~~: fixed by sevoku/xwt@78f999fb0a74b88abb50b949fc36bb8a2b9b8922

I have tested everything on my development system with Ubuntu 14.04 with following versions:

Mono: 3.2.8+dfsg-4ubuntu1
Gtk3: 3.12.0-0ubuntu1-trusty0 (Gnome staging PPA)
gtk-sharp: 2.99.2-2ubuntu1

but it should work with all Gtk3 versions on Linux. TODO: Windows and Mac.