Class

GIRepositorySignalInfo

unstable since: 2.80

Description

final class GIRepository.SignalInfo : GObject.TypeInstance
{
  /* No available fields */
}

GISignalInfo represents a signal.

It’s a sub-struct of GICallableInfo and contains a set of flags and a class closure.

See GICallableInfo for information on how to retrieve arguments and other metadata from the signal.

Available since: 2.80

Instance methods

gi_signal_info_get_class_closure

Obtain the class closure for this signal if one is set.

unstable since: 2.80

gi_signal_info_get_flags

Obtain the flags for this signal info.

unstable since: 2.80

gi_signal_info_true_stops_emit

Obtain if the returning TRUE in the signal handler will stop the emission of the signal.

unstable since: 2.80

Methods inherited from GICallableInfo (14)
gi_callable_info_can_throw_gerror

Whether the callable can throw a GError

unstable since: 2.80

gi_callable_info_get_arg

Obtain information about a particular argument of this callable.

unstable since: 2.80

gi_callable_info_get_caller_owns

See whether the caller owns the return value of this callable.

unstable since: 2.80

gi_callable_info_get_instance_ownership_transfer

Obtains the ownership transfer for the instance argument.

unstable since: 2.80

gi_callable_info_get_n_args

Obtain the number of arguments (both ‘in’ and ‘out’) for this callable.

unstable since: 2.80

gi_callable_info_get_return_attribute

Retrieve an arbitrary attribute associated with the return value.

unstable since: 2.80

gi_callable_info_get_return_type

Obtain the return type of a callable item as a GITypeInfo.

unstable since: 2.80

gi_callable_info_invoke

Invoke the given GICallableInfo by calling the given function pointer.

unstable since: 2.80

gi_callable_info_is_method

Determines if the callable info is a method.

unstable since: 2.80

gi_callable_info_iterate_return_attributes

Iterate over all attributes associated with the return value.

unstable since: 2.80

gi_callable_info_load_arg

Obtain information about a particular argument of this callable; this function is a variant of gi_callable_info_get_arg() designed for stack allocation.

unstable since: 2.80

gi_callable_info_load_return_type

Obtain information about a return value of callable; this function is a variant of gi_callable_info_get_return_type() designed for stack allocation.

unstable since: 2.80

gi_callable_info_may_return_null

See if a callable could return NULL.

unstable since: 2.80

gi_callable_info_skip_return

See if a callable’s return value is only useful in C.

unstable since: 2.80

Methods inherited from GIBaseInfo (11)
gi_base_info_clear

Clears memory allocated internally by a stack-allocated GIBaseInfo.

unstable since: 2.80

gi_base_info_equal

Compare two GIBaseInfos.

unstable since: 2.80

gi_base_info_get_attribute

Retrieve an arbitrary attribute associated with this node.

unstable since: 2.80

gi_base_info_get_container

Obtain the container of the info.

unstable since: 2.80

gi_base_info_get_name

Obtain the name of the info.

unstable since: 2.80

gi_base_info_get_namespace

Obtain the namespace of info.

unstable since: 2.80

gi_base_info_get_typelib

Obtain the typelib this info belongs to.

unstable since: 2.80

gi_base_info_is_deprecated

Obtain whether the info is represents a metadata which is deprecated.

unstable since: 2.80

gi_base_info_iterate_attributes

Iterate over all attributes associated with this node.

unstable since: 2.80

gi_base_info_ref

Increases the reference count of info.

unstable since: 2.80

gi_base_info_unref

Decreases the reference count of info. When its reference count drops to 0, the info is freed.

unstable since: 2.80