enum
Gtk::License
Overview
The type of license for an application.
This enumeration can be expanded at later date.
Defined in:
lib/gi-crystal/src/auto/gtk-4.0/gtk.crEnum Members
-
Unknown =
0_u32
-
No license specified
-
Custom =
1_u32
-
A license text is going to be specified by the developer
-
Gpl20 =
2_u32
-
The GNU General Public License, version 2.0 or later
-
Gpl30 =
3_u32
-
The GNU General Public License, version 3.0 or later
-
Lgpl21 =
4_u32
-
The GNU Lesser General Public License, version 2.1 or later
-
Lgpl30 =
5_u32
-
The GNU Lesser General Public License, version 3.0 or later
-
Bsd =
6_u32
-
The BSD standard license
-
MitX11 =
7_u32
-
The MIT/X11 standard license
-
Artistic =
8_u32
-
The Artistic License, version 2.0
-
Gpl20Only =
9_u32
-
The GNU General Public License, version 2.0 only
-
Gpl30Only =
10_u32
-
The GNU General Public License, version 3.0 only
-
Lgpl21Only =
11_u32
-
The GNU Lesser General Public License, version 2.1 only
-
Lgpl30Only =
12_u32
-
The GNU Lesser General Public License, version 3.0 only
-
Agpl30 =
13_u32
-
The GNU Affero General Public License, version 3.0 or later
-
Agpl30Only =
14_u32
-
The GNU Affero General Public License, version 3.0 only
-
Bsd3 =
15_u32
-
The 3-clause BSD licence
-
Apache20 =
16_u32
-
The Apache License, version 2.0
-
Mpl20 =
17_u32
-
The Mozilla Public License, version 2.0
Class Method Summary
-
.g_type : UInt64
Returns the type id (GType) registered in GLib type system.
Instance Method Summary
-
#agpl30?
Returns
true
if this enum value equalsAgpl30
-
#agpl30_only?
Returns
true
if this enum value equalsAgpl30Only
-
#apache20?
Returns
true
if this enum value equalsApache20
-
#artistic?
Returns
true
if this enum value equalsArtistic
-
#bsd3?
Returns
true
if this enum value equalsBsd3
-
#bsd?
Returns
true
if this enum value equalsBsd
-
#custom?
Returns
true
if this enum value equalsCustom
-
#gpl20?
Returns
true
if this enum value equalsGpl20
-
#gpl20_only?
Returns
true
if this enum value equalsGpl20Only
-
#gpl30?
Returns
true
if this enum value equalsGpl30
-
#gpl30_only?
Returns
true
if this enum value equalsGpl30Only
-
#lgpl21?
Returns
true
if this enum value equalsLgpl21
-
#lgpl21_only?
Returns
true
if this enum value equalsLgpl21Only
-
#lgpl30?
Returns
true
if this enum value equalsLgpl30
-
#lgpl30_only?
Returns
true
if this enum value equalsLgpl30Only
-
#mit_x11?
Returns
true
if this enum value equalsMitX11
-
#mpl20?
Returns
true
if this enum value equalsMpl20
-
#unknown?
Returns
true
if this enum value equalsUnknown
Class methods inherited from struct Enum
g_type : UInt64
g_type
Class Method Detail
Returns the type id (GType) registered in GLib type system.