Imported Upstream version 3.7.3
[platform/upstream/python-gobject.git] / gi / _gobject / constants.py
1 # -*- Mode: Python; py-indent-offset: 4 -*-
2 # pygobject - Python bindings for the GObject library
3 # Copyright (C) 2006-2007 Johan Dahlin
4 #
5 #   gobject/constants.py: GObject type constants
6 #
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.
11 #
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.
16 #
17 # You should have received a copy of the GNU Lesser General Public
18 # License along with this library; if not, write to the Free Software
19 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
20 # USA
21
22 from . import _gobject
23
24 TYPE_INVALID = _gobject.TYPE_INVALID
25 TYPE_NONE = _gobject.type_from_name('void')
26 TYPE_INTERFACE = _gobject.type_from_name('GInterface')
27 TYPE_CHAR = _gobject.type_from_name('gchar')
28 TYPE_UCHAR = _gobject.type_from_name('guchar')
29 TYPE_BOOLEAN = _gobject.type_from_name('gboolean')
30 TYPE_INT = _gobject.type_from_name('gint')
31 TYPE_UINT = _gobject.type_from_name('guint')
32 TYPE_LONG = _gobject.type_from_name('glong')
33 TYPE_ULONG = _gobject.type_from_name('gulong')
34 TYPE_INT64 = _gobject.type_from_name('gint64')
35 TYPE_UINT64 = _gobject.type_from_name('guint64')
36 TYPE_ENUM = _gobject.type_from_name('GEnum')
37 TYPE_FLAGS = _gobject.type_from_name('GFlags')
38 TYPE_FLOAT = _gobject.type_from_name('gfloat')
39 TYPE_DOUBLE = _gobject.type_from_name('gdouble')
40 TYPE_STRING = _gobject.type_from_name('gchararray')
41 TYPE_POINTER = _gobject.type_from_name('gpointer')
42 TYPE_BOXED = _gobject.type_from_name('GBoxed')
43 TYPE_PARAM = _gobject.type_from_name('GParam')
44 TYPE_OBJECT = _gobject.type_from_name('GObject')
45 TYPE_PYOBJECT = _gobject.type_from_name('PyObject')
46 TYPE_GTYPE = _gobject.type_from_name('GType')
47 TYPE_STRV = _gobject.type_from_name('GStrv')
48 TYPE_VARIANT = _gobject.type_from_name('GVariant')
49 TYPE_UNICHAR = TYPE_UINT