An AboutDialog example using Gtk.ApplicationWindow and Menu (the "about" is displayed if "About" in the menu is selected).
In line 15 the signal "activate"
is connected to the callback function about_cb()
using widget.connect(signal, callback function)
. See for a more detailed explanation.
In this sample we used the following:
GtkAboutDialog
GtkApplicationWindow
GMenu
GtkApplication