Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
[GTK] add initial Gtk3 support #322
Hi! This pull request adds initial Gtk3 support and a Gtk3 test app (Gtk3Test).
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:
I have tested everything on my development system with Ubuntu 14.04 (beta) with following versions:
but it should work with all Gtk3 versions on Linux. TODO: Windows and Mac.