Gnome Library Reference Manual | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
msg : | |
level : | |
supinfo : |
The file should be of the format:
level section type params
Where 'level' indicates the message severity at which this trigger should be activated, 'section' is a colon-separated list indicating which part of the "message classification tree" this trigger will be activated for, 'type' is either "command" (run the command specified in 'params') or 'play' (play the esd sound sample named 'params').
infilename : | A file listing triggers to install in the currently running program. |
Returns : | 0 on success. 1 otherwise. |
Similar to gnome_triggers_readfile(), but gets the trigger information from the file 'nt' structure and the varargs, instead of from a file.
nt : | Information on the new trigger to be added. |
... : | the 'section' to add the trigger under (see gnome_triggers_readfile()) |
Similar to gnome_triggers_readfile(), but gets the trigger information from the file 'nt' structure and 'supinfo', instead of from a file.
nt : | Information on the new trigger to be added. |
supinfo : | the 'section' to add the trigger under (see gnome_triggers_readfile()) |
Notifies GNOME about an event happening, so GNOME can do cool things.
msg : | The human-readable message describing the event. (Can be NULL). |
level : | The level of severity of the event, or NULL. |
... : | The classification of the event. |
Notifies GNOME about an event happening, so GNOME can do cool things.
msg : | The human-readable message describing the event. (Can be NULL). |
level : | The level of severity of the event, or NULL. |
supinfo : | The classification of the event (NULL terminated array). |