pidgin 2.14.14dev
gtksmiley.h
Go to the documentation of this file.
1
7/* pidgin
8 *
9 * Pidgin is the legal property of its developers, whose names are too numerous
10 * to list here. Please refer to the COPYRIGHT file distributed with this
11 * source distribution.
12 *
13 * This program is free software; you can redistribute it and/or modify
14 * it under the terms of the GNU General Public License as published by
15 * the Free Software Foundation; either version 2 of the License, or
16 * (at your option) any later version.
17 *
18 * This program is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
22 *
23 * You should have received a copy of the GNU General Public License
24 * along with this program; if not, write to the Free Software
25 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
26 */
27
28#ifndef PIDGIN_GTKSMILEY_H
29#define PIDGIN_GTKSMILEY_H
30
31#include "smiley.h"
32
33typedef struct _PidginSmiley PidginSmiley;
34
42
49
54
59
66
67/******************************************************************************
68 * Smiley Manager
69 *****************************************************************************/
74
85PidginSmiley *pidgin_smiley_edit(GtkWidget *widget, PurpleSmiley *smiley);
86
93void pidgin_smiley_editor_set_shortcut(PidginSmiley *editor, const gchar *shortcut);
94
101void pidgin_smiley_editor_set_image(PidginSmiley *editor, GdkPixbuf *image);
102
112void pidgin_smiley_editor_set_data(PidginSmiley *editor, gpointer data, gsize datasize);
113
114#endif /* PIDGIN_GTKSMILEY_H */
GSList * pidgin_smileys_get_all(void)
Returns a GSList with the GtkIMHtmlSmiley of each custom smiley.
void pidgin_smiley_add_to_list(PurpleSmiley *smiley)
Add a PurpleSmiley to the GtkIMHtmlSmiley's list to be able to use it in pidgin.
void pidgin_smiley_editor_set_data(PidginSmiley *editor, gpointer data, gsize datasize)
Sets the image data in a smiley add dialog.
void pidgin_smileys_init(void)
Load the GtkIMHtml list.
void pidgin_smiley_manager_show(void)
Displays the Smiley Manager Window.
void pidgin_smiley_editor_set_shortcut(PidginSmiley *editor, const gchar *shortcut)
Set the shortcut in a smiley add dialog.
void pidgin_smiley_editor_set_image(PidginSmiley *editor, GdkPixbuf *image)
Set the image in a smiley add dialog.
void pidgin_smileys_uninit(void)
Uninit the GtkIMHtml list.
void pidgin_smiley_del_from_list(PurpleSmiley *smiley)
Delete a PurpleSmiley from the GtkIMHtmlSmiley's list.
PidginSmiley * pidgin_smiley_edit(GtkWidget *widget, PurpleSmiley *smiley)
Shows an editor for a smiley.
Smiley API.
struct _PurpleSmiley PurpleSmiley
A custom smiley.
Definition: smiley.h:44