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.cr

Enum 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

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


Instance Method Detail

def agpl30? #

def agpl30_only? #

def apache20? #

def artistic? #

def bsd3? #

def bsd? #

def custom? #

def gpl20? #

def gpl20_only? #

def gpl30? #

def gpl30_only? #

def lgpl21? #

def lgpl21_only? #

def lgpl30? #

def lgpl30_only? #

def mit_x11? #

def mpl20? #

def unknown? #