gobject Constants — the built-in constants of the gobject module
GObject IO Condition Constants GObject Param Flag Constants GObject Priority Constants GObject Signal Flag Constants GObject Spawn Flag Constants GObject Built-in Type Constants GObject Version Constants
The IO Condition constants are a set of bit-flags that specify a condition to watch for on an event source.
| There is data to read |
| Data can be written (without blocking). |
| There is urgent data to read. |
| Error condition. |
| Hung up (the connection has been broken, usually for pipes and sockets). |
| Invalid request. The file descriptor is not open. |
The Param Flag constants are a set of bit-flags that specify certain aspects of parameters that can be configured.
| The parameter is readable |
| The parameter is writable |
| The parameter will be set upon object construction |
| The parameter will only be set upon object construction |
| Upon parameter conversion strict validation is not required |
The Priority constants specify
| Use this for high priority event sources. |
| Use this for default priority event sources. This
priority is used when adding timeout functions with the gobject.timeout_add () |
| Use this for high priority idle functions. For example, gobject.PRIORITY_HIGH_IDLE + 10 is used for resizing operations; and, gobject.PRIORITY_HIGH_IDLE + 20, for redrawing operations. (This is done to ensure that any pending resizes are processed before any pending redraws, so that widgets are not redrawn twice unnecessarily.) |
| Use this for default priority idle functions. This
priority is used when adding idle functions with the gobject.idle_add () |
| Use this for very low priority background tasks. |
The Signal Flag constants are a set of bit-flags that specify a
signal's behavior. The overall signal description outlines how especially
the RUN
flags control the stages of a signal
emission.
| Invoke the object method handler in the first emission stage. |
| Invoke the object method handler in the third emission stage. |
| Invoke the object method handler in the last emission stage. |
| Signals being emitted for an object while currently being in emission for this very object will not be emitted recursively, but instead cause the first emission to be restarted. |
| This signal supports "::detail" appendices to the signal name upon handler connections and emissions. |
| Action signals are signals that may freely be emitted
on alive objects from user code via the gobject.emit () |
| No emissions hooks are supported for this signal. |
The Spawn Flag constants are a set of bit-flags that can be
passed to the gobject.spawn_async
()
| the parent's open file descriptors will be inherited by
the child; otherwise all descriptors except stdin/stdout/stderr will be
closed before calling exec () in the child. |
| the child will not be automatically reaped; you must
call waitpid () or handle SIGCHLD
yourself, or the child will become a zombie. |
| argv [0] need not be an absolute
path, it will be looked for in the user's PATH . |
| the child's standard output will be discarded, instead of going to the same location as the parent's standard output. |
| the child's standard error will be discarded. |
| the child will inherit the parent's standard input (by default, the child's standard input is attached to /dev/null). |
| the first element of argv is the
file to execute, while the remaining elements are the actual argument vector
to pass to the file. Normally gobject.spawn_async ()argv [0] as the file to execute, and passes all
of argv to the child. |
The Built-in Type constants specify the pre-defined types used by gobject.
| An invalid type, used as error return value in some functions. |
| A fundamental type indicating no type. |
| The fundamental type from which all interfaces are derived. |
| The fundamental type corresponding to a character. This maps to a string in Python. |
| The fundamental type corresponding to an unsigned character. This maps to a string in Python. |
| The fundamental type corresponding to a True or False value. This maps to an integer in Python. |
| The fundamental type corresponding to an integer. This maps to an integer in Python. |
| he fundamental type corresponding to an unsigned integer. This maps to an integer in Python. |
| The fundamental type corresponding to a long integer. This maps to an integer in Python. |
| The fundamental type corresponding to an unsigned integer. This maps to an integer in Python. |
| The fundamental type corresponding to an long long integer. This maps to a long integer in Python. |
| The fundamental type corresponding to an unsigned long long integer. This maps to a long integer in Python. |
| The fundamental type corresponding to an enumeration type. This maps to an integer in Python. |
| The fundamental type corresponding to a flag type. This maps to an integer in Python. |
| The fundamental type corresponding to a floating point number. This maps to a float in Python. |
| The fundamental type corresponding to a double floating point number. This maps to a float in Python. |
| The fundamental type corresponding to a string. |
| The fundamental type corresponding to a pointer to an anonymous type. This has no corresponding Python type. |
| The fundamental type corresponding to a boxed object type. |
| The fundamental type corresponding to a GParamSpec type. |
| The fundamental type corresponding to a GObject type. |
| The fundamental type corresponding to a Python Object type. |