Package: gtk
Class gtk:about-dialog
Superclassesgtk:window, gtk:widget, gobject:initially-unowned, gtk:accessible, gtk:buildable, gtk:constraint-target, gtk:native, gtk:root, gtk:shortcut-manager, gobject:object, common-lisp:standard-object, common-lisp:t Documented Subclasses
None
Direct SlotsDetails The gtk:about-dialog widget offers a simple way to display
information about a program like its logo, name, copyright, website and
license.
It is also possible to give credits to the authors, documenters, translators
and artists who have worked on the program. The about dialog is typically
opened when the user selects the About option from the Help menu. All parts
of the about dialog are optional. ![]() The about dialog often contain links and email addresses. The about dialog displays these as clickable links. By default, it calls the gtk:file-launcher-launch function when a user clicks one. The behaviour can be overridden with the "activate-link" signal. To specify a person with an email address, use a string like "Edgar Allan Poe <edgar@poe.com>". To specify a website with a title, use a string like "GTK team https://www.gtk.org". To make constructing an about dialog as convenient as possible, you can use the gtk:show-about-dialog function which constructs and shows an about dialog and keeps it around so that it can be shown again. Note that GTK sets a default title of "About %s" on the about dialog window where %s is replaced by the name of the application, but in order to ensure proper translation of the title, applications should set the title property explicitly when constructing a gtk:about-dialog widget, as shown in the following example: (gtk:show-about-dialog nil :program-name "ExampleCode" :logo example-logo :title "About ExampleCode") CSS nodesSignal DetailsThe "activate-link" signallambda (dialog uri) :run-last
| Returned bySlot Access FunctionsInherited Slot Access FunctionsSee also |
2024-11-29