pidgin
2.14.14
Toggle main menu visibility
Loading...
Searching...
No Matches
gtkdocklet.h
1
/*
2
* System tray icon (aka docklet) plugin for Purple
3
*
4
* Copyright (C) 2002-3 Robert McQueen <robot101@debian.org>
5
* Copyright (C) 2003 Herman Bloggs <hermanator12002@yahoo.com>
6
* Inspired by a similar plugin by:
7
* John (J5) Palmieri <johnp@martianrock.com>
8
*
9
* This program is free software; you can redistribute it and/or
10
* modify it under the terms of the GNU General Public License as
11
* published by the Free Software Foundation; either version 2 of the
12
* License, or (at your option) any later version.
13
*
14
* This program is distributed in the hope that it will be useful, but
15
* WITHOUT ANY WARRANTY; without even the implied warranty of
16
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17
* General Public License for more details.
18
*
19
* You should have received a copy of the GNU General Public License
20
* along with this program; if not, write to the Free Software
21
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
22
* 02111-1301, USA.
23
*/
24
25
#ifndef _GTKDOCKLET_H_
26
#define _GTKDOCKLET_H_
27
28
#include "
status.h
"
29
30
struct
docklet_ui_ops
31
{
32
void (*create)(void);
33
void (*destroy)(void);
34
void (*update_icon)(
PurpleStatusPrimitive
, gboolean, gboolean);
35
void (*blank_icon)(void);
36
void (*set_tooltip)(gchar *);
37
GtkMenuPositionFunc position_menu;
38
};
39
40
41
/* functions in gtkdocklet.c */
42
void
pidgin_docklet_update_icon(
void
);
43
void
pidgin_docklet_clicked(
int
);
44
void
pidgin_docklet_embedded(
void
);
45
void
pidgin_docklet_remove(
void
);
46
void
pidgin_docklet_set_ui_ops(
struct
docklet_ui_ops
*);
47
void
pidgin_docklet_unload(
void
);
48
void
pidgin_docklet_init(
void
);
49
void
pidgin_docklet_uninit(
void
);
50
void
*pidgin_docklet_get_handle(
void
);
51
52
/* function in gtkdocklet-{gtk,x11,win32}.c */
53
void
docklet_ui_init(
void
);
54
55
#endif
/* _GTKDOCKLET_H_ */
status.h
Status API.
PurpleStatusPrimitive
PurpleStatusPrimitive
A primitive defining the basic structure of a status type.
Definition
status.h:118
docklet_ui_ops
Definition
gtkdocklet.h:31
pidgin
gtkdocklet.h
Generated on
for pidgin by
1.17.0