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
33 typedef struct _PidginSmiley PidginSmiley;
34
41 void pidgin_smiley_add_to_list(PurpleSmiley *smiley);
42
48 void pidgin_smiley_del_from_list(PurpleSmiley *smiley);
49
53 void pidgin_smileys_init(void);
54
58 void pidgin_smileys_uninit(void);
59
65 GSList *pidgin_smileys_get_all(void);
66
67 /******************************************************************************
68 * Smiley Manager
69 *****************************************************************************/
73 void pidgin_smiley_manager_show(void);
74
85 PidginSmiley *pidgin_smiley_edit(GtkWidget *widget, PurpleSmiley *smiley);
86
93 void pidgin_smiley_editor_set_shortcut(PidginSmiley *editor, const gchar *shortcut);
94
101 void pidgin_smiley_editor_set_image(PidginSmiley *editor, GdkPixbuf *image);
102
112 void pidgin_smiley_editor_set_data(PidginSmiley *editor, gpointer data, gsize datasize);
113
114 #endif /* PIDGIN_GTKSMILEY_H */
pidgin_smiley_del_from_list
void pidgin_smiley_del_from_list(PurpleSmiley *smiley)
Delete a PurpleSmiley from the GtkIMHtmlSmiley&#39;s list.
PurpleSmiley
struct _PurpleSmiley PurpleSmiley
A custom smiley.
Definition: smiley.h:44
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.
pidgin_smiley_edit
PidginSmiley * pidgin_smiley_edit(GtkWidget *widget, PurpleSmiley *smiley)
Shows an editor for a smiley.
pidgin_smiley_add_to_list
void pidgin_smiley_add_to_list(PurpleSmiley *smiley)
Add a PurpleSmiley to the GtkIMHtmlSmiley&#39;s list to be able to use it in pidgin.
pidgin_smiley_editor_set_shortcut
void pidgin_smiley_editor_set_shortcut(PidginSmiley *editor, const gchar *shortcut)
Set the shortcut in a smiley add dialog.
pidgin_smiley_manager_show
void pidgin_smiley_manager_show(void)
Displays the Smiley Manager Window.
pidgin_smiley_editor_set_image
void pidgin_smiley_editor_set_image(PidginSmiley *editor, GdkPixbuf *image)
Set the image in a smiley add dialog.
smiley.h
Smiley API.
pidgin_smileys_init
void pidgin_smileys_init(void)
Load the GtkIMHtml list.
pidgin_smileys_uninit
void pidgin_smileys_uninit(void)
Uninit the GtkIMHtml list.
pidgin_smileys_get_all
GSList * pidgin_smileys_get_all(void)
Returns a GSList with the GtkIMHtmlSmiley of each custom smiley.