GTK+ Custom Smiley API.
More...
Go to the source code of this file.
GTK+ Custom Smiley API.
- Since
- 2.5.0
Definition in file gtksmiley.h.
◆ PidginSmiley
| typedef struct _PidginSmiley PidginSmiley |
◆ pidgin_smiley_add_to_list()
Add a PurpleSmiley to the GtkIMHtmlSmiley's list to be able to use it in pidgin.
- Parameters
-
| smiley | The smiley to be added. |
◆ pidgin_smiley_del_from_list()
Delete a PurpleSmiley from the GtkIMHtmlSmiley's list.
- Parameters
-
| smiley | The smiley to be deleted. |
◆ pidgin_smiley_edit()
| PidginSmiley * pidgin_smiley_edit |
( |
GtkWidget * |
widget, |
|
|
PurpleSmiley * |
smiley |
|
) |
| |
◆ pidgin_smiley_editor_set_data()
| 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
◆ pidgin_smiley_editor_set_image()
| 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 |
◆ pidgin_smiley_editor_set_shortcut()
| 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 |
◆ pidgin_smileys_get_all()
| 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