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.


[View source]

Instance Method Detail

def agpl30? #

[View source]
def agpl30_only? #

[View source]
def apache20? #

[View source]
def artistic? #

[View source]
def bsd3? #

[View source]
def bsd? #

[View source]
def custom? #

[View source]
def gpl20? #

[View source]
def gpl20_only? #

[View source]
def gpl30? #

[View source]
def gpl30_only? #

[View source]
def lgpl21? #

[View source]
def lgpl21_only? #

[View source]
def lgpl30? #

[View source]
def lgpl30_only? #

[View source]
def mit_x11? #

[View source]
def mpl20? #

[View source]
def unknown? #

[View source]