Module gears.object

Info:

  • Copyright: 2010 Uli Schlachter
  • Release: v3.5.6
  • Author: Uli Schlachter

Functions

add_signal (name) Add a signal to an object.
connect_signal (name, func) Connect to a signal
disconnect_signal (name, func) Disonnect to a signal
emit_signal (name, ...) Emit a signal


Functions

add_signal (name)
Add a signal to an object. All signals must be added before they can be used.

Parameters:

  • name The name of the new signal.
connect_signal (name, func)
Connect to a signal

Parameters:

  • name The name of the signal
  • func The callback to call when the signal is emitted
disconnect_signal (name, func)
Disonnect to a signal

Parameters:

  • name The name of the signal
  • func The callback that should be disconnected
emit_signal (name, ...)
Emit a signal

Parameters:

  • name The name of the signal
  • ... Extra arguments for the callback functions. Each connected function receives the object as first argument and then any extra arguments that are given to emit_signal()
generated by LDoc 1.4.3 Last updated 2015-12-04 17:41:17