GtkD 2 vs GtkD 3

Brian Schott edited this page Mar 9, 2015 · 2 revisions

Here is a list of (breaking) changes between GtkD 2.x and GtkD 3.x:

Atk

  • The interfaces are now implement properly, and gtk.Widget implements it.

GObject

  • gobject.TypePlugin is now a interface.

GLib

  • Iconv functions are moved to a separate module: glib.Iconv.
  • glib.Glib renamed to glib.Version.
  • Deprecated module glib.Relation removed.
  • Deprecated module glib.StringCompletion removed.
  • Deprecated module glib.Tuples removed.

Gio

  • gio.File is now a interface.
  • gio.TlsBackend is now a interface.
  • gio.TlsClientConnection is now a interface.
  • gio.TlsFileDatabase is now a interface.
  • gio.TlsServerConnection is now a interface.
  • gio.GSettingsBackend removed because it's not present in the gir files.

Gdk

  • The X11 functions are now free functions to be used with UFCS.

Gtk

  • gtk.PageSetupUnixDialog removed because it's not present in the gir files.
  • gtk.PrintUnixDialog removed because it's not present in the gir files.
  • gtk.Printer removed because it's not present in the gir files.
  • gtk.PrintJob removed because it's not present in the gir files.

GdkGL

  • setGLCapability now has an lowercase l (setGlCapability).
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.