Modules | Files | Inheritance Tree | Inheritance Graph | Name Index
module GNOME::Speech
interface SpeechEvent
Files: GNOME_Speech.idl
GNOME-Speech-SpeechEvent-inheritance GNOME-Speech-Recognition-ResultEvent.html GNOME-Speech-Synthesis-SpeakableEvent.html GNOME-Speech-Recognition-GrammarEvent.html GNOME-Speech-AudioEvent.html GNOME-Speech-EngineEvent.html GNOME-Speech-SpeechObject.html Bonobo-Unknown.html

The root event class for all speech events. All events from a speech engine (recognizer or synthesizer) are synchronized with the GTK+ event queue. This allows an application to mix speech and GTK+ events without being concerned with multi-threading problems.


Operations Summary:
 voidinit(in SpeechObject source)
 voidinitWithId(in SpeechObject source, in long id)
 longgetId()
 SpeechObjectgetSource()
 stringparamString()
 stringtoString()

Operations Inherited from Bonobo::Unknown
ref, unref, queryInterface

Operation Details:
 void init(in SpeechObject source)

Initialises a SpeechEvent with a specified source.

Parameters:
source - the object that issued the event. Must must be non-null.


 void initWithId(in SpeechObject source, in long id)

Initialises a SpeechEvent with a given source and identifier.

Parameters:
source - the object that issued the event.
id - the identifier for the event type.


 long getId()

Get the event identifier.

Return:
the event identifier. Id values are defined for each sub-class of #SpeechEvent.


 SpeechObject getSource()

Get the object on which the event initially occurred.

Return:
The object on which the event initially occurred.


 string paramString()

Returns a parameter string identifying this event. This method is useful for event-logging and for debugging.

Return:
a string identifying the event.


 string toString()

Returns a printable string representation of this event. Useful for event-logging and debugging.

Return:
A string representation of this event.