• Go to page content
  • Go to main menu
  • Go to the search field
GNOME.org
GNOME: The Free Software Desktop Project
  • About
  • Users
  • Administrators
  • Developers
Prev   Home GTK+ Reference Manual Next

Part IV. Migrating from Previous Versions of GTK+

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

Migration Checklist
Implement GtkWidget::popup_menu
Use GdkEventExpose.region
Test for modifier keys correctly
Use named icons
Migrating from GTK+ 2.x to GTK+ 3
Preparation in GTK+ 2.x
Do not include individual headers
Do not use deprecated symbols
Use accessor functions instead of direct access
Replace GDK_<keyname> with GDK_KEY_<keyname>
Use cairo for drawing
Changes that need to be done at the time of the switch
Replace GdkRegion by cairo_region_t
GtkProgressBar orientation
Prevent mixed linkage
Install GTK+ modules in the right place

Generated by GTK-Doc V1.15
 
 
  • The GNOME Project
    • About Us
    • Get Involved
    • Teams
    • The GNOME Foundation
    • Support GNOME
    • Contact
  • Resources
    • Documentation
    • Wiki
    • Mailing Lists
    • IRC Channels
    • Bug Tracker
    • Development Code
    • Build Tool
  • News
    • Latest Release
    • Planet GNOME
    • Development News
    • Twitter
  • This website is available in many languages
    • Switch Language
Copyright © 2005‒2014 The GNOME Project

Optimised for standards. Hosted by Red Hat.