Porting SWT for GTK+ 3 - What, Why and How

Session Type: 
Standard Talk [25 minutes]

On UNIX/Linux based platforms, SWT (Standard Widget Toolkit) currently supports the GTK+ 2.x
release stream as its underlying native widget toolkit. Modern distributions have however,
started adopting the GTK+ 3.x release stream which brings in many improvements viz. use of Cairo
vector graphics library throughout, upgraded input device handling with XInput2, CSS based theme
APIs, experimental Wayland and HTML 5 backends, and support for touch devices, apart from a bunch
of new fun and useful widgets as well. In order to take full advantage of these new features and to
ensure that Eclipse continues to thrive on modern Linux environments, SWT needs to be ported to work
with the GTK+ 3.x libraries.

This session will provide an overview of developments in the SWT world which will facilitate this
transition from GTK+ 2 to GTK+ 3, highlighting the general principles that need to be considered
during the creation of an SWT port. It will also discuss the major challenges and issues that need
to be resolved and the roadmaps and plans for accomplishing this major upgrade of Eclipse/SWT on
UNIX/Linux platforms. There will be a brief demonstration of the features for which support is
currently available.

This talk is recommended if you're interested in developing Eclipse-based or stand-alone SWT
applications which can effectively utilize the GUI interfaces on modern Linux platforms, or
even if you're keen on understanding how to port SWT for a new platform.

Schedule info



Eclipse Technology
Experience level: 

Copyright © 2012 The Eclipse Foundation. All Rights Reserved.