GObject.functions
boxed_copy
- boxed_copy(boxed_type:GType, src_boxed)
Runtime functions †
- can_throw_gerror
()
- documentation unavailable
- equal
(object, /)
- documentation unavailable
- get_arguments
()
- documentation unavailable
- get_attribute
(object, /)
- documentation unavailable
- get_caller_owns
()
- documentation unavailable
- get_container
()
- documentation unavailable
- get_flags
()
- documentation unavailable
- get_name
()
- documentation unavailable
- get_name_unescaped
()
- documentation unavailable
- get_namespace
()
- documentation unavailable
- get_property
()
- documentation unavailable
- get_return_attribute
(object, /)
- documentation unavailable
- get_return_type
()
- documentation unavailable
- get_symbol
()
- documentation unavailable
- get_type
()
- documentation unavailable
- get_vfunc
()
- documentation unavailable
- invoke
(bound native)
- documentation unavailable
- is_constructor
()
- documentation unavailable
- is_deprecated
()
- documentation unavailable
- is_method
()
- documentation unavailable
- may_return_null
()
- documentation unavailable
- skip_return
()
- documentation unavailable
boxed_free
- boxed_free(boxed_type:GType, boxed)
Runtime functions †
boxed_type_register_static
- boxed_type_register_static(name:str, boxed_copy:GObject.BoxedCopyFunc, boxed_free:GObject.BoxedFreeFunc) -> GType
Runtime functions †
cclosure_marshal_BOOLEAN__BOXED_BOXED
- cclosure_marshal_BOOLEAN__BOXED_BOXED(closure:GObject.Closure, return_value:GObject.Value, n_param_values:int, param_values:GObject.Value, invocation_hint=None, marshal_data=None)
Runtime functions †
cclosure_marshal_BOOLEAN__FLAGS
- cclosure_marshal_BOOLEAN__FLAGS(closure:GObject.Closure, return_value:GObject.Value, n_param_values:int, param_values:GObject.Value, invocation_hint=None, marshal_data=None)
Runtime functions †
cclosure_marshal_STRING__OBJECT_POINTER
- cclosure_marshal_STRING__OBJECT_POINTER(closure:GObject.Closure, return_value:GObject.Value, n_param_values:int, param_values:GObject.Value, invocation_hint=None, marshal_data=None)
Runtime functions †
cclosure_marshal_VOID__BOOLEAN
- cclosure_marshal_VOID__BOOLEAN(closure:GObject.Closure, return_value:GObject.Value, n_param_values:int, param_values:GObject.Value, invocation_hint=None, marshal_data=None)
Runtime functions †
cclosure_marshal_VOID__BOXED
- cclosure_marshal_VOID__BOXED(closure:GObject.Closure, return_value:GObject.Value, n_param_values:int, param_values:GObject.Value, invocation_hint=None, marshal_data=None)
Runtime functions †
cclosure_marshal_VOID__CHAR
- cclosure_marshal_VOID__CHAR(closure:GObject.Closure, return_value:GObject.Value, n_param_values:int, param_values:GObject.Value, invocation_hint=None, marshal_data=None)
Runtime functions †
cclosure_marshal_VOID__DOUBLE
- cclosure_marshal_VOID__DOUBLE(closure:GObject.Closure, return_value:GObject.Value, n_param_values:int, param_values:GObject.Value, invocation_hint=None, marshal_data=None)
Runtime functions †
cclosure_marshal_VOID__ENUM
- cclosure_marshal_VOID__ENUM(closure:GObject.Closure, return_value:GObject.Value, n_param_values:int, param_values:GObject.Value, invocation_hint=None, marshal_data=None)
Runtime functions †
cclosure_marshal_VOID__FLAGS
- cclosure_marshal_VOID__FLAGS(closure:GObject.Closure, return_value:GObject.Value, n_param_values:int, param_values:GObject.Value, invocation_hint=None, marshal_data=None)
Runtime functions †
cclosure_marshal_VOID__FLOAT
- cclosure_marshal_VOID__FLOAT(closure:GObject.Closure, return_value:GObject.Value, n_param_values:int, param_values:GObject.Value, invocation_hint=None, marshal_data=None)
Runtime functions †
cclosure_marshal_VOID__INT
- cclosure_marshal_VOID__INT(closure:GObject.Closure, return_value:GObject.Value, n_param_values:int, param_values:GObject.Value, invocation_hint=None, marshal_data=None)
Runtime functions †
cclosure_marshal_VOID__LONG
- cclosure_marshal_VOID__LONG(closure:GObject.Closure, return_value:GObject.Value, n_param_values:int, param_values:GObject.Value, invocation_hint=None, marshal_data=None)
Runtime functions †
cclosure_marshal_VOID__OBJECT
- cclosure_marshal_VOID__OBJECT(closure:GObject.Closure, return_value:GObject.Value, n_param_values:int, param_values:GObject.Value, invocation_hint=None, marshal_data=None)
Runtime functions †
cclosure_marshal_VOID__PARAM
- cclosure_marshal_VOID__PARAM(closure:GObject.Closure, return_value:GObject.Value, n_param_values:int, param_values:GObject.Value, invocation_hint=None, marshal_data=None)
Runtime functions †
cclosure_marshal_VOID__POINTER
- cclosure_marshal_VOID__POINTER(closure:GObject.Closure, return_value:GObject.Value, n_param_values:int, param_values:GObject.Value, invocation_hint=None, marshal_data=None)
Runtime functions †
cclosure_marshal_VOID__STRING
- cclosure_marshal_VOID__STRING(closure:GObject.Closure, return_value:GObject.Value, n_param_values:int, param_values:GObject.Value, invocation_hint=None, marshal_data=None)
Runtime functions †
cclosure_marshal_VOID__UCHAR
- cclosure_marshal_VOID__UCHAR(closure:GObject.Closure, return_value:GObject.Value, n_param_values:int, param_values:GObject.Value, invocation_hint=None, marshal_data=None)
Runtime functions †
cclosure_marshal_VOID__UINT
- cclosure_marshal_VOID__UINT(closure:GObject.Closure, return_value:GObject.Value, n_param_values:int, param_values:GObject.Value, invocation_hint=None, marshal_data=None)
Runtime functions †
cclosure_marshal_VOID__UINT_POINTER
- cclosure_marshal_VOID__UINT_POINTER(closure:GObject.Closure, return_value:GObject.Value, n_param_values:int, param_values:GObject.Value, invocation_hint=None, marshal_data=None)
Runtime functions †
cclosure_marshal_VOID__ULONG
- cclosure_marshal_VOID__ULONG(closure:GObject.Closure, return_value:GObject.Value, n_param_values:int, param_values:GObject.Value, invocation_hint=None, marshal_data=None)
Runtime functions †
cclosure_marshal_VOID__VARIANT
- cclosure_marshal_VOID__VARIANT(closure:GObject.Closure, return_value:GObject.Value, n_param_values:int, param_values:GObject.Value, invocation_hint=None, marshal_data=None)
Runtime functions †
cclosure_marshal_VOID__VOID
- cclosure_marshal_VOID__VOID(closure:GObject.Closure, return_value:GObject.Value, n_param_values:int, param_values:GObject.Value, invocation_hint=None, marshal_data=None)
Runtime functions †
cclosure_marshal_generic
- cclosure_marshal_generic(closure:GObject.Closure, return_gvalue:GObject.Value, n_param_values:int, param_values:GObject.Value, invocation_hint=None, marshal_data=None)
Runtime functions †
clear_signal_handler
- clear_signal_handler(handler_id_ptr:int, instance:GObject.Object)
Runtime functions †
enum_complete_type_info
- enum_complete_type_info(g_enum_type:GType, const_values:GObject.EnumValue) -> info:GObject.TypeInfo
Runtime functions †
enum_get_value
- enum_get_value(enum_class:GObject.EnumClass, value:int) -> GObject.EnumValue or None
Runtime functions †
enum_get_value_by_name
- enum_get_value_by_name(enum_class:GObject.EnumClass, name:str) -> GObject.EnumValue or None
Runtime functions †
enum_get_value_by_nick
- enum_get_value_by_nick(enum_class:GObject.EnumClass, nick:str) -> GObject.EnumValue or None
Runtime functions †
enum_register_static
- enum_register_static(name:str, const_static_values:list) -> GType
Runtime functions †
enum_to_string
- enum_to_string(g_enum_type:GType, value:int) -> str
Runtime functions †
flags_complete_type_info
- flags_complete_type_info(g_flags_type:GType, const_values:GObject.FlagsValue) -> info:GObject.TypeInfo
Runtime functions †
flags_get_first_value
- flags_get_first_value(flags_class:GObject.FlagsClass, value:int) -> GObject.FlagsValue or None
Runtime functions †
flags_get_value_by_name
- flags_get_value_by_name(flags_class:GObject.FlagsClass, name:str) -> GObject.FlagsValue or None
Runtime functions †
flags_get_value_by_nick
- flags_get_value_by_nick(flags_class:GObject.FlagsClass, nick:str) -> GObject.FlagsValue or None
Runtime functions †
flags_register_static
- flags_register_static(name:str, const_static_values:list) -> GType
Runtime functions †
flags_to_string
- flags_to_string(flags_type:GType, value:int) -> str
Runtime functions †
gtype_get_type
- gtype_get_type() -> GType
Runtime functions †
param_spec_boolean
- param_spec_boolean(name:str, nick:str=None, blurb:str=None, default_value:bool, flags:GObject.ParamFlags) -> GObject.ParamSpec
Runtime functions †
param_spec_boxed
- param_spec_boxed(name:str, nick:str=None, blurb:str=None, boxed_type:GType, flags:GObject.ParamFlags) -> GObject.ParamSpec
Runtime functions †
param_spec_char
- param_spec_char(name:str, nick:str=None, blurb:str=None, minimum:int, maximum:int, default_value:int, flags:GObject.ParamFlags) -> GObject.ParamSpec
Runtime functions †
param_spec_double
- param_spec_double(name:str, nick:str=None, blurb:str=None, minimum:float, maximum:float, default_value:float, flags:GObject.ParamFlags) -> GObject.ParamSpec
Runtime functions †
param_spec_enum
- param_spec_enum(name:str, nick:str=None, blurb:str=None, enum_type:GType, default_value:int, flags:GObject.ParamFlags) -> GObject.ParamSpec
Runtime functions †
param_spec_flags
- param_spec_flags(name:str, nick:str=None, blurb:str=None, flags_type:GType, default_value:int, flags:GObject.ParamFlags) -> GObject.ParamSpec
Runtime functions †
param_spec_float
- param_spec_float(name:str, nick:str=None, blurb:str=None, minimum:float, maximum:float, default_value:float, flags:GObject.ParamFlags) -> GObject.ParamSpec
Runtime functions †
param_spec_gtype
- param_spec_gtype(name:str, nick:str=None, blurb:str=None, is_a_type:GType, flags:GObject.ParamFlags) -> GObject.ParamSpec
Runtime functions †
param_spec_int
- param_spec_int(name:str, nick:str=None, blurb:str=None, minimum:int, maximum:int, default_value:int, flags:GObject.ParamFlags) -> GObject.ParamSpec
Runtime functions †
param_spec_int64
- param_spec_int64(name:str, nick:str=None, blurb:str=None, minimum:int, maximum:int, default_value:int, flags:GObject.ParamFlags) -> GObject.ParamSpec
Runtime functions †
param_spec_long
- param_spec_long(name:str, nick:str=None, blurb:str=None, minimum:int, maximum:int, default_value:int, flags:GObject.ParamFlags) -> GObject.ParamSpec
Runtime functions †
param_spec_object
- param_spec_object(name:str, nick:str=None, blurb:str=None, object_type:GType, flags:GObject.ParamFlags) -> GObject.ParamSpec
Runtime functions †
param_spec_param
- param_spec_param(name:str, nick:str=None, blurb:str=None, param_type:GType, flags:GObject.ParamFlags) -> GObject.ParamSpec
Runtime functions †
param_spec_pointer
- param_spec_pointer(name:str, nick:str=None, blurb:str=None, flags:GObject.ParamFlags) -> GObject.ParamSpec
Runtime functions †
param_spec_string
- param_spec_string(name:str, nick:str=None, blurb:str=None, default_value:str=None, flags:GObject.ParamFlags) -> GObject.ParamSpec
Runtime functions †
param_spec_uchar
- param_spec_uchar(name:str, nick:str=None, blurb:str=None, minimum:int, maximum:int, default_value:int, flags:GObject.ParamFlags) -> GObject.ParamSpec
Runtime functions †
param_spec_uint
- param_spec_uint(name:str, nick:str=None, blurb:str=None, minimum:int, maximum:int, default_value:int, flags:GObject.ParamFlags) -> GObject.ParamSpec
Runtime functions †
param_spec_uint64
- param_spec_uint64(name:str, nick:str=None, blurb:str=None, minimum:int, maximum:int, default_value:int, flags:GObject.ParamFlags) -> GObject.ParamSpec
Runtime functions †
param_spec_ulong
- param_spec_ulong(name:str, nick:str=None, blurb:str=None, minimum:int, maximum:int, default_value:int, flags:GObject.ParamFlags) -> GObject.ParamSpec
Runtime functions †
param_spec_unichar
- param_spec_unichar(name:str, nick:str=None, blurb:str=None, default_value:str, flags:GObject.ParamFlags) -> GObject.ParamSpec
Runtime functions †
param_spec_variant
- param_spec_variant(name:str, nick:str=None, blurb:str=None, type:GLib.VariantType, default_value:GLib.Variant=None, flags:GObject.ParamFlags) -> GObject.ParamSpec
Runtime functions †
param_type_register_static
- param_type_register_static(name:str, pspec_info:GObject.ParamSpecTypeInfo) -> GType
Runtime functions †
param_value_convert
- param_value_convert(pspec:GObject.ParamSpec, src_value:GObject.Value, dest_value:GObject.Value, strict_validation:bool) -> bool
Runtime functions †
param_value_defaults
- param_value_defaults(pspec:GObject.ParamSpec, value:GObject.Value) -> bool
Runtime functions †
param_value_is_valid
- param_value_is_valid(pspec:GObject.ParamSpec, value:GObject.Value) -> bool
Runtime functions †
param_value_set_default
- param_value_set_default(pspec:GObject.ParamSpec, value:GObject.Value)
Runtime functions †
param_value_validate
- param_value_validate(pspec:GObject.ParamSpec, value:GObject.Value) -> bool
Runtime functions †
param_values_cmp
- param_values_cmp(pspec:GObject.ParamSpec, value1:GObject.Value, value2:GObject.Value) -> int
Runtime functions †
pointer_type_register_static
- pointer_type_register_static(name:str) -> GType
Runtime functions †
signal_accumulator_first_wins
signal_accumulator_true_handled
signal_add_emission_hook
- signal_add_emission_hook(signal_id:int, detail:int, hook_func:GObject.SignalEmissionHook) -> int
Runtime functions †
signal_chain_from_overridden
- signal_chain_from_overridden(instance_and_params:list, return_value:GObject.Value)
Runtime functions †
signal_connect_closure
- signal_connect_closure(instance:GObject.Object, detailed_signal:str, closure:GObject.Closure, after:bool) -> int
Runtime functions †
signal_connect_closure_by_id
- signal_connect_closure_by_id(instance:GObject.Object, signal_id:int, detail:int, closure:GObject.Closure, after:bool) -> int
Runtime functions †
signal_emitv
- signal_emitv(instance_and_params:list, signal_id:int, detail:int, return_value:GObject.Value=) -> return_value:GObject.Value
Runtime functions †
signal_get_invocation_hint
- signal_get_invocation_hint(instance:GObject.Object) -> GObject.SignalInvocationHint or None
Runtime functions †
signal_handler_block
- Blocks the signal handler from being invoked until
handler_unblock() is called.
:param GObject.Object obj:
Object instance to block handlers for.
:param int handler_id:
Id of signal to block.
:returns:
A context manager which optionally can be used to
automatically unblock the handler:
.. code-block:: python
with GObject.signal_handler_block(obj, id):
pass
signal_handler_disconnect
- signal_handler_disconnect(instance:GObject.Object, handler_id:int)
Runtime functions †
signal_handler_find
- signal_handler_find(instance:GObject.Object, mask:GObject.SignalMatchType, signal_id:int, detail:int, closure:GObject.Closure=None, func=None, data=None) -> int
Runtime functions †
signal_handler_is_connected
- signal_handler_is_connected(instance:GObject.Object, handler_id:int) -> bool
Runtime functions †
signal_handler_unblock
- signal_handler_unblock(instance:GObject.Object, handler_id:int)
Runtime functions †
signal_handlers_block_matched
- signal_handlers_block_matched(instance:GObject.Object, mask:GObject.SignalMatchType, signal_id:int, detail:int, closure:GObject.Closure=None, func=None, data=None) -> int
Runtime functions †
signal_handlers_destroy
- signal_handlers_destroy(instance:GObject.Object)
Runtime functions †
signal_handlers_disconnect_matched
- signal_handlers_disconnect_matched(instance:GObject.Object, mask:GObject.SignalMatchType, signal_id:int, detail:int, closure:GObject.Closure=None, func=None, data=None) -> int
Runtime functions †
signal_handlers_unblock_matched
- signal_handlers_unblock_matched(instance:GObject.Object, mask:GObject.SignalMatchType, signal_id:int, detail:int, closure:GObject.Closure=None, func=None, data=None) -> int
Runtime functions †
signal_has_handler_pending
- signal_has_handler_pending(instance:GObject.Object, signal_id:int, detail:int, may_be_blocked:bool) -> bool
Runtime functions †
signal_is_valid_name
- signal_is_valid_name(name:str) -> bool
Runtime functions †
signal_list_ids
signal_lookup
signal_name
- signal_name(signal_id:int) -> str or None
Runtime functions †
signal_override_class_closure
- signal_override_class_closure(signal_id:int, instance_type:GType, class_closure:GObject.Closure)
Runtime functions †
signal_override_class_handler
- signal_override_class_handler(signal_name:str, instance_type:GType, class_handler:GObject.Callback)
Runtime functions †
signal_parse_name
- Parse a detailed signal name into (signal_id, detail).
:param str detailed_signal:
Signal name which can include detail.
For example: “notify:prop_name”
:returns:
Tuple of (signal_id, detail)
:raises ValueError:
If the given signal is unknown.
signal_query
signal_remove_emission_hook
- signal_remove_emission_hook(signal_id:int, hook_id:int)
Runtime functions †
signal_stop_emission
- signal_stop_emission(instance:GObject.Object, signal_id:int, detail:int)
Runtime functions †
signal_stop_emission_by_name
- signal_stop_emission_by_name(instance:GObject.Object, detailed_signal:str)
Runtime functions †
signal_type_cclosure_new
- signal_type_cclosure_new(itype:GType, struct_offset:int) -> GObject.Closure
Runtime functions †
source_set_closure
- source_set_closure(source:GLib.Source, closure:GObject.Closure)
Runtime functions †
source_set_dummy_callback
- source_set_dummy_callback(source:GLib.Source)
Runtime functions †
strdup_value_contents
- strdup_value_contents(value:GObject.Value) -> str
Runtime functions †
type_add_class_private
- type_add_class_private(class_type:GType, private_size:int)
Runtime functions †
type_add_instance_private
- type_add_instance_private(class_type:GType, private_size:int) -> int
Runtime functions †
type_add_interface_dynamic
- type_add_interface_dynamic(instance_type:GType, interface_type:GType, plugin:GObject.TypePlugin)
Runtime functions †
type_add_interface_static
- type_add_interface_static(instance_type:GType, interface_type:GType, info:GObject.InterfaceInfo)
Runtime functions †
type_check_class_is_a
- type_check_class_is_a(g_class:GObject.TypeClass, is_a_type:GType) -> bool
Runtime functions †
type_check_instance
- type_check_instance(instance:GObject.TypeInstance) -> bool
Runtime functions †
type_check_instance_is_a
- type_check_instance_is_a(instance:GObject.TypeInstance, iface_type:GType) -> bool
Runtime functions †
type_check_instance_is_fundamentally_a
- type_check_instance_is_fundamentally_a(instance:GObject.TypeInstance, fundamental_type:GType) -> bool
Runtime functions †
type_check_is_value_type
- type_check_is_value_type(type:GType) -> bool
Runtime functions †
type_check_value
- type_check_value(value:GObject.Value) -> bool
Runtime functions †
type_check_value_holds
- type_check_value_holds(value:GObject.Value, type:GType) -> bool
Runtime functions †
type_children
- type_children(type:GType) -> list
Runtime functions †
type_class_adjust_private_offset
- type_class_adjust_private_offset(g_class=None, private_size_or_offset:int)
Runtime functions †
type_class_get
- type_class_get(type:GType) -> GObject.TypeClass
Runtime functions †
type_class_peek
- type_class_peek(type:GType) -> GObject.TypeClass or None
Runtime functions †
type_class_peek_static
- type_class_peek_static(type:GType) -> GObject.TypeClass or None
Runtime functions †
type_class_ref
- type_class_ref(type:GType) -> GObject.TypeClass
Runtime functions †
type_default_interface_get
- type_default_interface_get(g_type:GType) -> GObject.TypeInterface
Runtime functions †
type_default_interface_peek
- type_default_interface_peek(g_type:GType) -> GObject.TypeInterface
Runtime functions †
type_default_interface_ref
- type_default_interface_ref(g_type:GType) -> GObject.TypeInterface
Runtime functions †
type_default_interface_unref
- type_default_interface_unref(g_iface:GObject.TypeInterface)
Runtime functions †
type_depth
- type_depth(type:GType) -> int
Runtime functions †
type_ensure
Runtime functions †
type_free_instance
- type_free_instance(instance:GObject.TypeInstance)
Runtime functions †
type_from_name
type_fundamental
- type_fundamental(type_id:GType) -> GType
Runtime functions †
type_fundamental_next
- type_fundamental_next() -> GType
Runtime functions †
type_get_instance_count
- type_get_instance_count(type:GType) -> int
Runtime functions †
type_get_plugin
- type_get_plugin(type:GType) -> GObject.TypePlugin
Runtime functions †
type_get_qdata
- type_get_qdata(type:GType, quark:int)
Runtime functions †
type_get_type_registration_serial
- type_get_type_registration_serial() -> int
Runtime functions †
type_init
Runtime functions †
type_init_with_debug_flags
- type_init_with_debug_flags(debug_flags:GObject.TypeDebugFlags)
Runtime functions †
type_interface_add_prerequisite
- type_interface_add_prerequisite(interface_type:GType, prerequisite_type:GType)
Runtime functions †
type_interface_get_plugin
- type_interface_get_plugin(instance_type:GType, interface_type:GType) -> GObject.TypePlugin
Runtime functions †
type_interface_instantiatable_prerequisite
- type_interface_instantiatable_prerequisite(interface_type:GType) -> GType
Runtime functions †
type_interface_peek
- type_interface_peek(instance_class:GObject.TypeClass, iface_type:GType) -> GObject.TypeInterface or None
Runtime functions †
type_interface_prerequisites
- type_interface_prerequisites(interface_type:GType) -> list
Runtime functions †
type_interfaces
- type_interfaces(type:GType) -> list
Runtime functions †
type_is_a
- type_is_a(type:GType, is_a_type:GType) -> bool
Runtime functions †
type_name
- type_name(type:GType) -> str or None
Runtime functions †
type_name_from_class
- type_name_from_class(g_class:GObject.TypeClass) -> str
Runtime functions †
type_name_from_instance
- type_name_from_instance(instance:GObject.TypeInstance) -> str
Runtime functions †
type_next_base
- type_next_base(leaf_type:GType, root_type:GType) -> GType
Runtime functions †
type_parent
type_qname
- type_qname(type:GType) -> int
Runtime functions †
type_query
- type_query(type:GType) -> query:GObject.TypeQuery
Runtime functions †
type_register_dynamic
- type_register_dynamic(parent_type:GType, type_name:str, plugin:GObject.TypePlugin, flags:GObject.TypeFlags) -> GType
Runtime functions †
type_register_fundamental
- type_register_fundamental(type_id:GType, type_name:str, info:GObject.TypeInfo, finfo:GObject.TypeFundamentalInfo, flags:GObject.TypeFlags) -> GType
Runtime functions †
type_register_static
- type_register_static(parent_type:GType, type_name:str, info:GObject.TypeInfo, flags:GObject.TypeFlags) -> GType
Runtime functions †
type_set_qdata
- type_set_qdata(type:GType, quark:int, data=None)
Runtime functions †
type_test_flags
- type_test_flags(type:GType, flags:int) -> bool
Runtime functions †
value_type_compatible
- value_type_compatible(src_type:GType, dest_type:GType) -> bool
Runtime functions †
- value_type_transformable(src_type:GType, dest_type:GType) -> bool
Runtime functions †
variant_get_gtype
- variant_get_gtype() -> GType
Runtime functions †