Skip to content

Commit 6106d46

Browse files
committed
Merge branch 'topic/glade-deprecation' into 'master'
Document a Glade deprecation disclaimer Closes #15 See merge request eng/ide/gtkada!33
2 parents 054a067 + 246b495 commit 6106d46

File tree

3 files changed

+20
-12
lines changed

3 files changed

+20
-12
lines changed

docs/gtkada_ug/getting_started.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ How to build and install GtkAda
1717
This section explains how to build and install GtkAda on your machine.
1818

1919
On Windows systems, we provide an automatic installer that installs GtkAda
20-
along with dependent components like gtk+ libraries and `Glade`.
20+
along with dependent components like gtk+ libraries.
2121

2222
On Unix systems, just follow the instructions listed in the
2323
:file:`README-gtkada-<release>.txt` file. Note that the :file:`doinstall.sh` script

docs/gtkada_ug/glade.rst

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,27 @@
11
.. _Support_for_Glade,_the_Gtk_GUI_builder:
22

3-
**************************************
4-
Support for Glade, the Gtk GUI builder
5-
**************************************
3+
****************************************************************
4+
Support for Glade, the Gtk GUI builder (planned for deprecation)
5+
****************************************************************
6+
7+
Deprecation
8+
===========
9+
10+
GtkAda 26 will be the last release that includes Glade; Glade will be removed
11+
from GtkAda starting with the 27.0 release.
12+
13+
`Glade <https://glade.gnome.org/>`_ is no longer maintained in the wider GNOME
14+
community, as per the release notes of the last stable release 3.40.0. Using
15+
Glade to produce XML GtkBuilder UI definitions is discouraged.
16+
17+
However the XML GtkBuilder UI definitions format itself is still a supported
18+
artifact of the `Gtk.Builder <https://docs.gtk.org/gtk3/class.Builder.html>`_
19+
API and a valid means of interaction with the `Gtkada.Builder` package.
620

721
Introduction
822
============
923

10-
GtkAda now comes with support for the GUI builder Glade-3. Glade-3 provides a
24+
GtkAda comes with support for the GUI builder Glade-3. Glade-3 provides a
1125
graphical interface for designing windows and dialogs. The interface
1226
description is saved in an XML file which can be loaded at run-time by your
1327
GtkAda application. With this approach, there is no need to write or generate

docs/gtkada_ug/intro.rst

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@ callbacks area), and object-oriented programming. As opposed to common
2121
knowledge, it requires *less* type casting than with in C. Its efficiency is
2222
about the same as the C library through the use of inline subprograms.
2323

24-
GtkAda comes with a complete integration to the graphical interface builder
25-
`Glade`. This makes it even easier to develop interfaces, since you just have to
26-
click to create a description of the window and all the dialogs. Ada code can
27-
simply import that description to bring the windows to life.
2824

2925
Under some platforms, GtkAda also provides a bridge to use OpenGL, with which
3026
you can create graphical applications that display 3D graphics, and display
@@ -33,14 +29,12 @@ document OpenGL at all, see any book on OpenGL, or the specification that came
3329
with your OpenGL library, for more information.
3430

3531
The following Internet sites will always contain the latest public packages for
36-
`GtkAda`, `gtk+`, `Glade` and `Cairo`
32+
`GtkAda`, `gtk+` and `Cairo`
3733

3834
* `https://github.com/AdaCore/gtkada <https://github.com/AdaCore/gtkada>`_
3935

4036
* `http://www.gtk.org/ <http://www.gtk.org/>`_
4137

42-
* `http://glade.gnome.org/ <http://glade.gnome.org/>`_
43-
4438
* `http://www.cairographics.org/ <http://www.cairographics.org/>`_
4539

4640
This toolkit was tested on the following systems:

0 commit comments

Comments
 (0)