Gnome::Gtk4::T-aboutdialog
Table of Contents
Class initialization§
new§
Initialization of a type class is simple and only needed when the standalone functions are used.
method new ( )
Code
Enumerations§
GtkLicense§
The type of license for an application.
This enumeration can be expanded at later date.
- GTK_LICENSE_UNKNOWN; No license specified
- GTK_LICENSE_CUSTOM; A license text is going to be specified by the developer
- GTK_LICENSE_GPL_2_0; The GNU General Public License, version 2.0 or later
- GTK_LICENSE_GPL_3_0; The GNU General Public License, version 3.0 or later
- GTK_LICENSE_LGPL_2_1; The GNU Lesser General Public License, version 2.1 or later
- GTK_LICENSE_LGPL_3_0; The GNU Lesser General Public License, version 3.0 or later
- GTK_LICENSE_BSD; The BSD standard license
- GTK_LICENSE_MIT_X11; The MIT/X11 standard license
- GTK_LICENSE_ARTISTIC; The Artistic License, version 2.0
- GTK_LICENSE_GPL_2_0_ONLY; The GNU General Public License, version 2.0 only
- GTK_LICENSE_GPL_3_0_ONLY; The GNU General Public License, version 3.0 only
- GTK_LICENSE_LGPL_2_1_ONLY; The GNU Lesser General Public License, version 2.1 only
- GTK_LICENSE_LGPL_3_0_ONLY; The GNU Lesser General Public License, version 3.0 only
- GTK_LICENSE_AGPL_3_0; The GNU Affero General Public License, version 3.0 or later
- GTK_LICENSE_AGPL_3_0_ONLY; The GNU Affero General Public License, version 3.0 only
- GTK_LICENSE_BSD_3; The 3-clause BSD licence
- GTK_LICENSE_APACHE_2_0; The Apache License, version 2.0
- GTK_LICENSE_MPL_2_0; The Mozilla Public License, version 2.0
- GTK_LICENSE_0BSD; Zero-Clause BSD license
Standalone Functions§
show-about-dialog§
A convenience function for showing an application’s about dialog.
The constructed dialog is associated with the parent window and reused for future invocations of this function.
method show-about-dialog ( N-Object() $parent, Str $first-property-name, … )
Code
- $parent; the parent top-level window.
- $first-property-name; the name of the first property.
- …; …. Note that each argument must be specified as a type followed by its value!
About my projects, examples and tutorials