@c -*-texinfo-*-
@c This is part of the GNU G-Golf Reference Manual.
@c Copyright (C) 2019 Free Software Foundation, Inc.
@c See the file g-golf.texi for copying conditions.


@defindex fi


@node Signal Info
@subsection Signal Info

G-Golf Signal Info low level API.@*
GISignalInfo — Struct representing a signal.


@subheading Procedures

@indentedblock
@table @code
@item @ref{g-signal-info-get-flags}
@end table
@end indentedblock


@subheading Description

@code{GISignalInfo} represents a signal. It's a sub-struct of
@code{GICallableInfo} and contains a set of flags and a class closure.

See also @ref{Callable Info} for information on how to retreive
arguments and other metadata from the signal.


@subheading Struct Hierarchy

@indentedblock
GIBaseInfoInfo         	                     @*
@ @ +--- GICallableInfo	                     @*
@ @ @ @ @ @ @ @ @ @ @ +--- GIFunctionInfo    @*
@ @ @ @ @ @ @ @ @ @ @ +--- GISignalInfo      @*
@ @ @ @ @ @ @ @ @ @ @ +--- GIVFuncInfo
@end indentedblock


@subheading Procedures

Note: in this section, the @var{info} argument is [must be] a pointer to
a @code{GISignalInfo}.


@anchor{g-signal-info-get-flags}
@deffn Procedure g-signal-info-get-flags info

Returns a list of @ref{%g-signal-flags}.

Obtain the flags for this signal info. See @ref{%g-signal-flags} for
more information about posible flag values.
@end deffn
