gtksmiley.h File Reference
GTK+ Custom Smiley API.
More...
#include "smiley.h"
Go to the source code of this file.
Detailed Description
GTK+ Custom Smiley API.
- Since:
- 2.5.0
Definition in file gtksmiley.h.
Function Documentation
Add a PurpleSmiley to the GtkIMHtmlSmiley's list to be able to use it in pidgin.
- Parameters:
-
| smiley | The smiley to be added. |
Delete a PurpleSmiley from the GtkIMHtmlSmiley's list.
- Parameters:
-
| smiley | The smiley to be deleted. |
PidginSmiley* pidgin_smiley_edit |
( |
GtkWidget * |
widget, |
|
|
PurpleSmiley * |
smiley | |
|
) |
| | |
void pidgin_smiley_editor_set_data |
( |
PidginSmiley * |
editor, |
|
|
gpointer * |
data, |
|
|
gsize |
datasize | |
|
) |
| | |
Sets the image data in a smiley add dialog.
- Parameters:
-
| editor | A smiley editor dialog |
| data | A pointer to smiley's data |
| datasize | The size of smiley's data |
- Since:
- 2.6.0
void pidgin_smiley_editor_set_image |
( |
PidginSmiley * |
editor, |
|
|
GdkPixbuf * |
image | |
|
) |
| | |
Set the image in a smiley add dialog.
- Parameters:
-
| editor | A smiley editor dialog |
| image | A GdkPixbuf image |
void pidgin_smiley_editor_set_shortcut |
( |
PidginSmiley * |
editor, |
|
|
const gchar * |
shortcut | |
|
) |
| | |
Set the shortcut in a smiley add dialog.
- Parameters:
-
| editor | A smiley editor dialog (created by pidgin_smiley_edit) |
| shortcut | The shortcut to set |
GSList* pidgin_smileys_get_all |
( |
void |
|
) |
|
Returns a GSList with the GtkIMHtmlSmiley of each custom smiley.
- Note:
- The return value of this function must not be modified or freed.
- Returns:
- A GtkIMHmlSmiley list