gtksmiley.h
Go to the documentation of this file.
/* pidgin
*
* Pidgin is the legal property of its developers, whose names are too numerous
* to list here. Please refer to the COPYRIGHT file distributed with this
* source distribution.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
*/
#ifndef PIDGIN_GTKSMILEY_H
#define PIDGIN_GTKSMILEY_H
#include "smiley.h"
typedef struct _PidginSmiley PidginSmiley;
void pidgin_smiley_add_to_list(PurpleSmiley *smiley);
void pidgin_smiley_del_from_list(PurpleSmiley *smiley);
void pidgin_smileys_init(void);
void pidgin_smileys_uninit(void);
GSList *pidgin_smileys_get_all(void);
/******************************************************************************
* Smiley Manager
*****************************************************************************/
void pidgin_smiley_manager_show(void);
PidginSmiley *pidgin_smiley_edit(GtkWidget *widget, PurpleSmiley *smiley);
void pidgin_smiley_editor_set_shortcut(PidginSmiley *editor, const gchar *shortcut);
void pidgin_smiley_editor_set_image(PidginSmiley *editor, GdkPixbuf *image);
void pidgin_smiley_editor_set_data(PidginSmiley *editor, gpointer data, gsize datasize);
#endif /* PIDGIN_GTKSMILEY_H */
pidgin_smiley_editor_set_image
void pidgin_smiley_editor_set_image(PidginSmiley *editor, GdkPixbuf *image)
Set the image in a smiley add dialog.
pidgin_smiley_edit
PidginSmiley * pidgin_smiley_edit(GtkWidget *widget, PurpleSmiley *smiley)
Shows an editor for a smiley.
PurpleSmiley
struct _PurpleSmiley PurpleSmiley
A custom smiley.
Definition: smiley.h:44
pidgin_smileys_get_all
GSList * pidgin_smileys_get_all(void)
Returns a GSList with the GtkIMHtmlSmiley of each custom smiley.
pidgin_smiley_del_from_list
void pidgin_smiley_del_from_list(PurpleSmiley *smiley)
Delete a PurpleSmiley from the GtkIMHtmlSmiley's list.
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_smileys_uninit
void pidgin_smileys_uninit(void)
Uninit the GtkIMHtml list.
pidgin_smiley_add_to_list
void pidgin_smiley_add_to_list(PurpleSmiley *smiley)
Add a PurpleSmiley to the GtkIMHtmlSmiley's list to be able to use it in pidgin.
pidgin_smileys_init
void pidgin_smileys_init(void)
Load the GtkIMHtml list.
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.
smiley.h
pidgin_smiley_manager_show
void pidgin_smiley_manager_show(void)
Displays the Smiley Manager Window.