GTK3 Interface

From Lazarus wiki
Jump to navigationJump to search
GTK+ logo.svg

This article applies to GTK+ Widgetsets only.

See also: Multiplatform Programming Guide


Started as of Lazarus 1.1 r41811

MINIMUM REQUIREMENTS

 IDE can be built and run against gtk3 under x11. Designer works, basic coding works. There are still a lot of TODO's and bugs of course.
 Current bindings (21.03.2025) are 3.22.
  • glib2 2.34
  • cairo 1.10
  • pango 1.30
  • libgtk-3-dev to build and link IDE

CURRENT STATE

  • 01.03.2026 - I'm using Lazarus IDE (anchor docking + docked form editor) compiled against gtk3. So, we have pretty nice progress. There's still a lot of todo's and bugs to be fixed, but it works on x11 and wayland w/o significant problems, also crashes are pretty rare now (basically because some kind of dialogs not implemented).Plan is that gtk3 will be default widgetset for Lazarus 5.0.
  • 08.06.2026 - It just works on x11 and wayland.
  • 02.07.2026 Gtk3 is the default linux widgetset in lazarus trunk !