pidgin 2.14.14dev
gtksavedstatuses.h
Go to the documentation of this file.
1
6/* pidgin
7 *
8 * Pidgin is the legal property of its developers, whose names are too numerous
9 * to list here. Please refer to the COPYRIGHT file distributed with this
10 * source distribution.
11 *
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 2 of the License, or
15 * (at your option) any later version.
16 *
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, write to the Free Software
24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
25 */
26#ifndef _PIDGINSAVEDSTATUSES_H_
27#define _PIDGINSAVEDSTATUSES_H_
28
29#include "savedstatuses.h"
30#include "status.h"
31
36
41
59void pidgin_status_editor_show(gboolean edit, PurpleSavedStatus *status);
60
69GtkWidget *pidgin_status_menu(PurpleSavedStatus *status, GCallback callback);
70
77
82
87
88#endif /* _PIDGINSAVEDSTATUSES_H_ */
void pidgin_status_window_show(void)
Shows the status window.
void pidgin_status_init(void)
Initializes the GTK+ status system.
void pidgin_status_window_hide(void)
Hides the status window.
void pidgin_status_editor_show(gboolean edit, PurpleSavedStatus *status)
Shows a status editor (used for adding a new saved status or editing an already existing saved status...
GtkWidget * pidgin_status_menu(PurpleSavedStatus *status, GCallback callback)
Creates a dropdown menu of saved statuses and calls a callback when one is selected.
void * pidgin_status_get_handle(void)
Returns the GTK+ status handle.
void pidgin_status_uninit(void)
Uninitializes the GTK+ status system.
Saved Status API.
struct _PurpleSavedStatus PurpleSavedStatus
Saved statuses don't really interact much with the rest of Purple.
Definition: savedstatuses.h:58
Status API.