Class gobject
Defined in: jsgtk_merge_for_doc.js.
Constructor Attributes | Constructor Name and Description |
---|---|
gobject()
|
Method Attributes | Method Name and Description |
---|---|
<static> |
gobject.signalLookup(name, type)
find the specified the signal that is associated to the object type
|
<static> |
gobject.signalNew(signalName, type)
The gobject.signalNew() registers specified object type to a specified signal_name
|
Method Detail
<static>
{iteger}
gobject.signalLookup(name, type)
find the specified the signal that is associated to the object type
- Parameters:
- {string} name
- : the name of a signal
- {object} type
- : object type
- Returns:
- {iteger} or {null} : the integer id of a signal supported by type or 0.
<static>
{integer}
gobject.signalNew(signalName, type)
The gobject.signalNew() registers specified object type to a specified signal_name
- Parameters:
- {string} signalName
- : a string containing the name of the signal
- {object} type
- : the object type that the signal is associated with
- Returns:
- {integer} signalId :a unique integer signal ID