Bug 540674: [GTK4] Adapt to new drawing model changes

This patch furthers the work on the drawing model changes in GTK4.

1) Remove instances of GdkEventExpose as this has been gone in GTK3
already.

2) Replace GDK drawing API with purely Cairo sourced drawing contexts
provided by draw/snapshot handlers or other such callbacks. This include
methods like Canvas.scroll().

3) Fixes the snapshot handling in SWT-GTK4 and propagates all snapshots
down the hierarchy to ensure things like Canvases drawing properly.

Change-Id: If96d1e0d33c97aeb5eed7bb6e5f478ee1785f30a
Signed-off-by: Eric Williams <ericwill@redhat.com>
19 files changed
tree: b9d69d1d746eaac4c049dc92974b94ece2854912
  1. bundles/
  2. examples/
  3. features/
  4. local-build/
  5. tests/
  6. .gitignore
  7. CONTRIBUTING
  8. LICENSE
  9. NOTICE
  10. pom.xml
  11. README.md
README.md

Contributing to SWT

Thanks for your interest in this project.

Developer resources:

See the following description for how to contribute a feature or a bug fix to SWT.

Information regarding source code management, builds, coding standards, and more and be found under the following link.

Contributor License Agreement:

Before your contribution can be accepted by the project, you need to create and electronically sign the Eclipse Foundation Contributor License Agreement (CLA).

Contact:

Contact the project developers via the project's “dev” list.

Search for bugs:

This project uses Bugzilla to track ongoing development and issues.

Create a new bug:

Be sure to search for existing bugs before you create another one. Remember that contributions are always welcome!