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/>.
22 TYPE_INVALID
= _gi
.TYPE_INVALID
23 TYPE_NONE
= _gi
.GType
.from_name('void')
24 TYPE_INTERFACE
= _gi
.GType
.from_name('GInterface')
25 TYPE_CHAR
= _gi
.GType
.from_name('gchar')
26 TYPE_UCHAR
= _gi
.GType
.from_name('guchar')
27 TYPE_BOOLEAN
= _gi
.GType
.from_name('gboolean')
28 TYPE_INT
= _gi
.GType
.from_name('gint')
29 TYPE_UINT
= _gi
.GType
.from_name('guint')
30 TYPE_LONG
= _gi
.GType
.from_name('glong')
31 TYPE_ULONG
= _gi
.GType
.from_name('gulong')
32 TYPE_INT64
= _gi
.GType
.from_name('gint64')
33 TYPE_UINT64
= _gi
.GType
.from_name('guint64')
34 TYPE_ENUM
= _gi
.GType
.from_name('GEnum')
35 TYPE_FLAGS
= _gi
.GType
.from_name('GFlags')
36 TYPE_FLOAT
= _gi
.GType
.from_name('gfloat')
37 TYPE_DOUBLE
= _gi
.GType
.from_name('gdouble')
38 TYPE_STRING
= _gi
.GType
.from_name('gchararray')
39 TYPE_POINTER
= _gi
.GType
.from_name('gpointer')
40 TYPE_BOXED
= _gi
.GType
.from_name('GBoxed')
41 TYPE_PARAM
= _gi
.GType
.from_name('GParam')
42 TYPE_OBJECT
= _gi
.GType
.from_name('GObject')
43 TYPE_PYOBJECT
= _gi
.GType
.from_name('PyObject')
44 TYPE_GTYPE
= _gi
.GType
.from_name('GType')
45 TYPE_STRV
= _gi
.GType
.from_name('GStrv')
46 TYPE_VARIANT
= _gi
.GType
.from_name('GVariant')
47 TYPE_UNICHAR
= TYPE_UINT