gtksound.h File Reference

GTK+ Sound API. More...

#include "sound.h"

Include dependency graph for gtksound.h:

Go to the source code of this file.

Functions

GTK+ Sound API
const char * pidgin_sound_get_event_option (PurpleSoundEventID event)
 Get the prefs option for an event.
const char * pidgin_sound_get_event_label (PurpleSoundEventID event)
 Get the label for an event.
PurpleSoundUiOpspidgin_sound_get_ui_ops (void)
 Gets GTK+ sound UI ops.
void * pidgin_sound_get_handle (void)
 Get the handle for the GTK+ sound system.
gboolean pidgin_sound_is_customized (void)
 Returns true Pidgin is using customized sounds.


Detailed Description

GTK+ Sound API.

Definition in file gtksound.h.


Function Documentation

const char* pidgin_sound_get_event_label ( PurpleSoundEventID  event  ) 

Get the label for an event.

Parameters:
event The event.
Returns:
The label.

const char* pidgin_sound_get_event_option ( PurpleSoundEventID  event  ) 

Get the prefs option for an event.

Parameters:
event The event.
Returns:
The option.

void* pidgin_sound_get_handle ( void   ) 

Get the handle for the GTK+ sound system.

Returns:
The handle to the sound system

PurpleSoundUiOps* pidgin_sound_get_ui_ops ( void   ) 

Gets GTK+ sound UI ops.

Returns:
The UI operations structure.

gboolean pidgin_sound_is_customized ( void   ) 

Returns true Pidgin is using customized sounds.

Returns:
TRUE if non default sounds are used.
Since:
2.6.0