Add gitlab CI tests
[pygobject.git] / gi / _constants.py
blob2153f90ac68389a201fb1cc31dcf300ac104097c
1 # -*- Mode: Python; py-indent-offset: 4 -*-
2 # pygobject - Python bindings for the GObject library
3 # Copyright (C) 2006-2007 Johan Dahlin
5 # gi/_constants.py: GObject type constants
7 # This library is free software; you can redistribute it and/or
8 # modify it under the terms of the GNU Lesser General Public
9 # License as published by the Free Software Foundation; either
10 # version 2.1 of the License, or (at your option) any later version.
12 # This library is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 # Lesser General Public License for more details.
17 # You should have received a copy of the GNU Lesser General Public
18 # License along with this library; if not, see <http://www.gnu.org/licenses/>.
20 from . import _gi
22 TYPE_INVALID = _gi.TYPE_INVALID
23 TYPE_NONE = _gi.type_from_name('void')
24 TYPE_INTERFACE = _gi.type_from_name('GInterface')
25 TYPE_CHAR = _gi.type_from_name('gchar')
26 TYPE_UCHAR = _gi.type_from_name('guchar')
27 TYPE_BOOLEAN = _gi.type_from_name('gboolean')
28 TYPE_INT = _gi.type_from_name('gint')
29 TYPE_UINT = _gi.type_from_name('guint')
30 TYPE_LONG = _gi.type_from_name('glong')
31 TYPE_ULONG = _gi.type_from_name('gulong')
32 TYPE_INT64 = _gi.type_from_name('gint64')
33 TYPE_UINT64 = _gi.type_from_name('guint64')
34 TYPE_ENUM = _gi.type_from_name('GEnum')
35 TYPE_FLAGS = _gi.type_from_name('GFlags')
36 TYPE_FLOAT = _gi.type_from_name('gfloat')
37 TYPE_DOUBLE = _gi.type_from_name('gdouble')
38 TYPE_STRING = _gi.type_from_name('gchararray')
39 TYPE_POINTER = _gi.type_from_name('gpointer')
40 TYPE_BOXED = _gi.type_from_name('GBoxed')
41 TYPE_PARAM = _gi.type_from_name('GParam')
42 TYPE_OBJECT = _gi.type_from_name('GObject')
43 TYPE_PYOBJECT = _gi.type_from_name('PyObject')
44 TYPE_GTYPE = _gi.type_from_name('GType')
45 TYPE_STRV = _gi.type_from_name('GStrv')
46 TYPE_VARIANT = _gi.type_from_name('GVariant')
47 TYPE_UNICHAR = TYPE_UINT