gtkSignalGetInfo {RGtk2} | R Documentation |
DEPRECATED!! (compatibility wrappers for RGtk 1!)
This returns information about the Gtk signal of interest, giving details such as the number and type of parameters that are passed to a signal handler function registered for an event associated with this signal; the type of the return value expected from the handler; the class for which it is defined; the flags indicating how and when handlers for this signal are invoked when an event occurs;
gtkSignalGetInfo(sig)
sig |
an object of class |
This uses the C-level reflectance mechanism provided by Gtk to obtain information about a particular signal registered via the class mechanism. This information is then converted to an S object.
A list with 6 elements
signal |
the |
parameters |
a named list of parameter types that
are passed to a callback/signal handler for this signal.
Each element is a |
returnType |
the |
isUserSignal |
a logical value indicating whether this is a user-defined signal or built-in signal |
runFlags |
a value giving information about how and when
the handlers are invoked in response to this signal.
This is a single value made up of OR'ing values from
the |
objectType |
an object of class |
Duncan Temple Lang <duncan@research.bell-labs.com>
Information on the package is available from http://www.omegahat.org/RGtk.
Information on Gtk is available from http://www.gtk.org.
gtkTypeGetSignals
getSignalInfo
if (gtkInit()) { gtkButton() sigs <- gtkTypeGetSignals("GtkButton") gtkSignalGetInfo(sigs[["clicked"]]) }