This part describes what you need to change in programs use older versions of GTK+ so that they can use the new features. It also mentions how to convert applications using widgets found in the libgnomeui library to use their counterparts in GTK+.
Table of Contents
- Migrating from GTK+ 2.x to GTK+ 3
- Preparation in GTK+ 2.x
- Changes that need to be done at the time of the switch
- Replace size_request by get_preferred_width/height
- Replace GdkRegion by cairo_region_t
- Replace GdkPixmap by cairo surfaces
- Replace GdkColormap by GdkVisual
- GdkDrawable is gone
- Event filtering
- Backend-specific code
- GtkPlug and GtkSocket
- The GtkWidget::draw signal
- GtkProgressBar orientation
- Check your expand and fill flags
- Scrolling changes
- GtkObject is gone
- GtkEntryCompletion signal parameters
- Resize grips
- Prevent mixed linkage
- Install GTK+ modules in the right place
- Theming changes
- Migrating from libunique to GApplication or GtkApplication
- Migrating from EggSMClient to GtkApplication
- Migrating from other containers to GtkGrid
- Migration Details Checklist
- Migrating from one GTK+ 3 release to another