Constants¶
Details¶
- GObject.GBoxed = None¶
- GObject.GObjectWeakRef = None¶
- GObject.GParamSpec = None¶
- GObject.GPointer = None¶
- GObject.G_MAXDOUBLE = 1.7976931348623157e+308¶
- GObject.G_MAXFLOAT = 3.4028234663852886e+38¶
- GObject.G_MAXINT = 2147483647¶
- GObject.G_MAXINT16 = 32767¶
- GObject.G_MAXINT32 = 2147483647¶
- GObject.G_MAXINT64 = 9223372036854775807¶
- GObject.G_MAXINT8 = 127¶
- GObject.G_MAXLONG = 9223372036854775807¶
- GObject.G_MAXOFFSET = 9223372036854775807¶
- GObject.G_MAXSHORT = 32767¶
- GObject.G_MAXSIZE = 18446744073709551615¶
- GObject.G_MAXSSIZE = 9223372036854775807¶
- GObject.G_MAXUINT = 4294967295¶
- GObject.G_MAXUINT16 = 65535¶
- GObject.G_MAXUINT32 = 4294967295¶
- GObject.G_MAXUINT64 = 18446744073709551615¶
- GObject.G_MAXUINT8 = 255¶
- GObject.G_MAXULONG = 18446744073709551615¶
- GObject.G_MAXUSHORT = 65535¶
- GObject.G_MINDOUBLE = 2.2250738585072014e-308¶
- GObject.G_MINFLOAT = 1.1754943508222875e-38¶
- GObject.G_MININT = -2147483648¶
- GObject.G_MININT16 = -32768¶
- GObject.G_MININT32 = -2147483648¶
- GObject.G_MININT64 = -9223372036854775808¶
- GObject.G_MININT8 = -128¶
- GObject.G_MINLONG = -9223372036854775808¶
- GObject.G_MINOFFSET = -9223372036854775808¶
- GObject.G_MINSHORT = -32768¶
- GObject.G_MINSSIZE = -9223372036854775808¶
- GObject.IO_ERR = <flags ERR of type IOCondition>¶
- GObject.IO_FLAG_APPEND = <flags APPEND | MASK | GET_MASK | SET_MASK of type IOFlags>¶
- GObject.IO_FLAG_GET_MASK = <flags APPEND | NONBLOCK | IS_READABLE | IS_WRITABLE | IS_WRITEABLE | IS_SEEKABLE | MASK | GET_MASK | SET_MASK of type IOFlags>¶
- GObject.IO_FLAG_IS_READABLE = <flags IS_READABLE | MASK | GET_MASK of type IOFlags>¶
- GObject.IO_FLAG_IS_SEEKABLE = <flags IS_SEEKABLE | MASK | GET_MASK of type IOFlags>¶
- GObject.IO_FLAG_IS_WRITEABLE = <flags IS_WRITABLE | IS_WRITEABLE | MASK | GET_MASK of type IOFlags>¶
- GObject.IO_FLAG_MASK = <flags APPEND | NONBLOCK | IS_READABLE | IS_WRITABLE | IS_WRITEABLE | IS_SEEKABLE | MASK | GET_MASK | SET_MASK of type IOFlags>¶
- GObject.IO_FLAG_NONBLOCK = <flags NONBLOCK | MASK | GET_MASK | SET_MASK of type IOFlags>¶
- GObject.IO_FLAG_SET_MASK = <flags APPEND | NONBLOCK | MASK | GET_MASK | SET_MASK of type IOFlags>¶
- GObject.IO_HUP = <flags HUP of type IOCondition>¶
- GObject.IO_IN = <flags IN of type IOCondition>¶
- GObject.IO_NVAL = <flags NVAL of type IOCondition>¶
- GObject.IO_OUT = <flags OUT of type IOCondition>¶
- GObject.IO_PRI = <flags PRI of type IOCondition>¶
- GObject.IO_STATUS_AGAIN = <enum AGAIN of type IOStatus>¶
- GObject.IO_STATUS_EOF = <enum EOF of type IOStatus>¶
- GObject.IO_STATUS_ERROR = <enum ERROR of type IOStatus>¶
- GObject.IO_STATUS_NORMAL = <enum NORMAL of type IOStatus>¶
- GObject.OPTION_ERROR_BAD_VALUE = <enum BAD_VALUE of type OptionError>¶
- GObject.OPTION_ERROR_FAILED = <enum FAILED of type OptionError>¶
- GObject.OPTION_ERROR_UNKNOWN_OPTION = <enum UNKNOWN_OPTION of type OptionError>¶
- GObject.OPTION_FLAG_FILENAME = <flags FILENAME of type OptionFlags>¶
- GObject.OPTION_FLAG_HIDDEN = <flags HIDDEN of type OptionFlags>¶
- GObject.OPTION_FLAG_IN_MAIN = <flags IN_MAIN of type OptionFlags>¶
- GObject.OPTION_FLAG_NOALIAS = <flags NOALIAS of type OptionFlags>¶
- GObject.OPTION_FLAG_NO_ARG = <flags NO_ARG of type OptionFlags>¶
- GObject.OPTION_FLAG_OPTIONAL_ARG = <flags OPTIONAL_ARG of type OptionFlags>¶
- GObject.OPTION_FLAG_REVERSE = <flags REVERSE of type OptionFlags>¶
- GObject.OPTION_REMAINING = ''¶
- GObject.PARAM_CONSTRUCT = <flags CONSTRUCT of type ParamFlags>¶
- GObject.PARAM_CONSTRUCT_ONLY = <flags CONSTRUCT_ONLY of type ParamFlags>¶
- GObject.PARAM_LAX_VALIDATION = <flags LAX_VALIDATION of type ParamFlags>¶
- GObject.PARAM_MASK = 255¶
Mask containing the bits of GObject.ParamSpec.flags which are reserved for GLib.
- GObject.PARAM_READABLE = <flags READABLE | READWRITE of type ParamFlags>¶
- GObject.PARAM_READWRITE = <flags READABLE | WRITABLE | READWRITE of type ParamFlags>¶
- GObject.PARAM_STATIC_STRINGS = 224¶
GObject.ParamFlags
value alias forGObject.ParamFlags.STATIC_NAME
|GObject.ParamFlags.STATIC_NICK
|GObject.ParamFlags.STATIC_BLURB
.It is recommended to use this for all properties by default, as it allows for internal performance improvements in
GObject.Object
.It is very rare that a property would have a dynamically constructed name, nickname or blurb.
New in version 2.13.0.
- GObject.PARAM_USER_SHIFT = 8¶
Minimum shift count to be used for user defined flags, to be stored in GObject.ParamSpec.flags. The maximum allowed is 10.
- GObject.PARAM_WRITABLE = <flags WRITABLE | READWRITE of type ParamFlags>¶
- GObject.PRIORITY_DEFAULT = 0¶
- GObject.PRIORITY_DEFAULT_IDLE = 200¶
- GObject.PRIORITY_HIGH = -100¶
- GObject.PRIORITY_HIGH_IDLE = 100¶
- GObject.PRIORITY_LOW = 300¶
- GObject.SIGNAL_ACTION = <flags ACTION of type SignalFlags>¶
- GObject.SIGNAL_DETAILED = <flags DETAILED of type SignalFlags>¶
- GObject.SIGNAL_FLAGS_MASK = 511¶
A mask for all
GObject.SignalFlags
bits.
- GObject.SIGNAL_MATCH_MASK = 63¶
A mask for all
GObject.SignalMatchType
bits.
- GObject.SIGNAL_NO_HOOKS = <flags NO_HOOKS of type SignalFlags>¶
- GObject.SIGNAL_NO_RECURSE = <flags NO_RECURSE of type SignalFlags>¶
- GObject.SIGNAL_RUN_CLEANUP = <flags RUN_CLEANUP of type SignalFlags>¶
- GObject.SIGNAL_RUN_FIRST = <flags RUN_FIRST of type SignalFlags>¶
- GObject.SIGNAL_RUN_LAST = <flags RUN_LAST of type SignalFlags>¶
- GObject.SPAWN_CHILD_INHERITS_STDIN = <flags CHILD_INHERITS_STDIN of type SpawnFlags>¶
- GObject.SPAWN_DO_NOT_REAP_CHILD = <flags DO_NOT_REAP_CHILD of type SpawnFlags>¶
- GObject.SPAWN_FILE_AND_ARGV_ZERO = <flags FILE_AND_ARGV_ZERO of type SpawnFlags>¶
- GObject.SPAWN_LEAVE_DESCRIPTORS_OPEN = <flags LEAVE_DESCRIPTORS_OPEN of type SpawnFlags>¶
- GObject.SPAWN_SEARCH_PATH = <flags SEARCH_PATH of type SpawnFlags>¶
- GObject.SPAWN_STDERR_TO_DEV_NULL = <flags STDERR_TO_DEV_NULL of type SpawnFlags>¶
- GObject.SPAWN_STDOUT_TO_DEV_NULL = <flags STDOUT_TO_DEV_NULL of type SpawnFlags>¶
- GObject.TYPE_BOOLEAN = <GType gboolean>¶
- GObject.TYPE_BOXED = <GType GBoxed>¶
- GObject.TYPE_CHAR = <GType gchar>¶
- GObject.TYPE_DOUBLE = <GType gdouble>¶
- GObject.TYPE_ENUM = <GType GEnum>¶
- GObject.TYPE_FLAGS = <GType GFlags>¶
- GObject.TYPE_FLAG_RESERVED_ID_BIT = 1¶
A bit in the type number that’s supposed to be left untouched.
- GObject.TYPE_FLOAT = <GType gfloat>¶
- GObject.TYPE_FUNDAMENTAL_MAX = 1020¶
An integer constant that represents the number of identifiers reserved for types that are assigned at compile-time.
- GObject.TYPE_FUNDAMENTAL_SHIFT = 2¶
Shift value used in converting numbers to type IDs.
- GObject.TYPE_GSTRING = <GType invalid>¶
- GObject.TYPE_GTYPE = <GType GType>¶
- GObject.TYPE_INT = <GType gint>¶
- GObject.TYPE_INT64 = <GType gint64>¶
- GObject.TYPE_INTERFACE = <GType GInterface>¶
- GObject.TYPE_INVALID = <GType invalid>¶
- GObject.TYPE_LONG = <GType glong>¶
- GObject.TYPE_NONE = <GType void>¶
- GObject.TYPE_OBJECT = <GType GObject>¶
- GObject.TYPE_PARAM = <GType GParam>¶
- GObject.TYPE_POINTER = <GType gpointer>¶
- GObject.TYPE_PYOBJECT = <GType invalid>¶
- GObject.TYPE_RESERVED_BSE_FIRST = 32¶
First fundamental type number to create a new fundamental type id with G_TYPE_MAKE_FUNDAMENTAL() reserved for BSE.
- GObject.TYPE_RESERVED_BSE_LAST = 48¶
Last fundamental type number reserved for BSE.
- GObject.TYPE_RESERVED_GLIB_FIRST = 22¶
First fundamental type number to create a new fundamental type id with G_TYPE_MAKE_FUNDAMENTAL() reserved for GLib.
- GObject.TYPE_RESERVED_GLIB_LAST = 31¶
Last fundamental type number reserved for GLib.
- GObject.TYPE_RESERVED_USER_FIRST = 49¶
First available fundamental type number to create new fundamental type id with G_TYPE_MAKE_FUNDAMENTAL().
- GObject.TYPE_STRING = <GType gchararray>¶
- GObject.TYPE_STRV = <GType GStrv>¶
- GObject.TYPE_UCHAR = <GType guchar>¶
- GObject.TYPE_UINT = <GType guint>¶
- GObject.TYPE_UINT64 = <GType guint64>¶
- GObject.TYPE_ULONG = <GType gulong>¶
- GObject.TYPE_UNICHAR = <GType guint>¶
- GObject.TYPE_VALUE = <GType GValue>¶
- GObject.TYPE_VARIANT = <GType GVariant>¶
- GObject.VALUE_COLLECT_FORMAT_MAX_LENGTH = 8¶
The maximal number of
GObject.TypeCValues
which can be collected for a singleGObject.Value
.
- GObject.VALUE_INTERNED_STRING = 268435456¶
For string values, indicates that the string contained is canonical and will exist for the duration of the process. See
GObject.Value.set_interned_string
().New in version 2.66.
- GObject.VALUE_NOCOPY_CONTENTS = 134217728¶
If passed to G_VALUE_COLLECT(), allocated data won’t be copied but used verbatim. This does not affect ref-counted types like objects. This does not affect usage of
GObject.Value.copy
(), the data will be copied if it is not ref-counted.
- GObject.Warning = None¶
- GObject.features = {'generic-c-marshaller': True}¶
- GObject.glib_version = (2, 80, 4)¶
- GObject.pygobject_version = (0, 0, 12)¶