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 
35 void pidgin_status_window_show(void);
36 
40 void pidgin_status_window_hide(void);
41 
59 void pidgin_status_editor_show(gboolean edit, PurpleSavedStatus *status);
60 
69 GtkWidget *pidgin_status_menu(PurpleSavedStatus *status, GCallback callback);
70 
76 void *pidgin_status_get_handle(void);
77 
81 void pidgin_status_init(void);
82 
86 void pidgin_status_uninit(void);
87 
88 #endif /* _PIDGINSAVEDSTATUSES_H_ */
void pidgin_status_init(void)
Initializes the GTK+ status system.
GtkWidget * pidgin_status_menu(PurpleSavedStatus *status, GCallback callback)
Creates a dropdown menu of saved statuses and calls a callback when one is selected.
Saved Status API.
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...
void * pidgin_status_get_handle(void)
Returns the GTK+ status handle.
void pidgin_status_window_show(void)
Shows the status window.
struct _PurpleSavedStatus PurpleSavedStatus
Saved statuses don't really interact much with the rest of Purple.
Definition: savedstatuses.h:58
Status APIA brief explanation of the status API:
void pidgin_status_window_hide(void)
Hides the status window.
void pidgin_status_uninit(void)
Uninitializes the GTK+ status system.