annotate pidgin/gtkpounce.h @ 21300:abbf74f4732b

propagate from branch 'im.pidgin.pidgin' (head e3fd21e6dabb99e5604e8337380353fcbe1a7279) to branch 'im.pidgin.elb.make' (head 7422b9a549f752c05cc75f0c8e56fdd2bced034a)
author Stu Tomlinson <stu@nosnilmot.com>
date Sat, 10 Nov 2007 16:17:54 +0000
parents aabe638f56d9
children 998cf5d0b401 dccfd999ffe7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
1 /**
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
2 * @file gtkpounce.h GTK+ Buddy Pounce API
16193
247e421c4fa6 Rename the Doxygen group from gtkui to pidgin.
Richard Laager <rlaager@wiktel.com>
parents: 15871
diff changeset
3 * @ingroup pidgin
20074
6bf32c9e15a7 remove gpl boilerplate from doxygen docs
Sean Egan <seanegan@gmail.com>
parents: 19680
diff changeset
4 */
6bf32c9e15a7 remove gpl boilerplate from doxygen docs
Sean Egan <seanegan@gmail.com>
parents: 19680
diff changeset
5
6bf32c9e15a7 remove gpl boilerplate from doxygen docs
Sean Egan <seanegan@gmail.com>
parents: 19680
diff changeset
6 /* pidgin
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
7 *
15511
760ef6d78d2d headers to pidgin
Sean Egan <seanegan@gmail.com>
parents: 15501
diff changeset
8 * Pidgin is the legal property of its developers, whose names are too numerous
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
9 * to list here. Please refer to the COPYRIGHT file distributed with this
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
10 * source distribution.
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
11 *
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
12 * This program is free software; you can redistribute it and/or modify
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
13 * it under the terms of the GNU General Public License as published by
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
14 * the Free Software Foundation; either version 2 of the License, or
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
15 * (at your option) any later version.
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
16 *
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
17 * This program is distributed in the hope that it will be useful,
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
20 * GNU General Public License for more details.
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
21 *
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
22 * You should have received a copy of the GNU General Public License
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
23 * along with this program; if not, write to the Free Software
19680
44b4e8bd759b The FSF changed its address a while ago; our files were out of date.
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 16193
diff changeset
24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
25 */
15501
d75099d2567e gaim_gtk to pidgin. I hope
Sean Egan <seanegan@gmail.com>
parents: 15374
diff changeset
26 #ifndef _PIDGINPOUNCE_H_
d75099d2567e gaim_gtk to pidgin. I hope
Sean Egan <seanegan@gmail.com>
parents: 15374
diff changeset
27 #define _PIDGINPOUNCE_H_
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
28
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
29 #include "pounce.h"
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
30
21234
aabe638f56d9 Wrap the newly deprecated functions with #ifndef PURPLE_DISABLE_DEPRECATED.
Richard Laager <rlaager@wiktel.com>
parents: 21229
diff changeset
31 #ifndef PURPLE_DISABLE_DEPRECATED
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
32 /**
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
33 * Displays a New Buddy Pounce or Edit Buddy Pounce dialog.
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
34 *
21228
cc8bdfb16ddf Document the window transient_for changes. Refs #2617
Richard Laager <rlaager@wiktel.com>
parents: 20619
diff changeset
35 * @param account The optional account to use.
cc8bdfb16ddf Document the window transient_for changes. Refs #2617
Richard Laager <rlaager@wiktel.com>
parents: 20619
diff changeset
36 * @param name The optional name to pounce on.
cc8bdfb16ddf Document the window transient_for changes. Refs #2617
Richard Laager <rlaager@wiktel.com>
parents: 20619
diff changeset
37 * @param cur_pounce The current buddy pounce, if editing an existing one.
cc8bdfb16ddf Document the window transient_for changes. Refs #2617
Richard Laager <rlaager@wiktel.com>
parents: 20619
diff changeset
38 *
cc8bdfb16ddf Document the window transient_for changes. Refs #2617
Richard Laager <rlaager@wiktel.com>
parents: 20619
diff changeset
39 * @deprecated Use pidgin_pounce_editor_show_with_parent() instead.
cc8bdfb16ddf Document the window transient_for changes. Refs #2617
Richard Laager <rlaager@wiktel.com>
parents: 20619
diff changeset
40 */
cc8bdfb16ddf Document the window transient_for changes. Refs #2617
Richard Laager <rlaager@wiktel.com>
parents: 20619
diff changeset
41 void pidgin_pounce_editor_show(PurpleAccount *account, const char *name,
cc8bdfb16ddf Document the window transient_for changes. Refs #2617
Richard Laager <rlaager@wiktel.com>
parents: 20619
diff changeset
42 PurplePounce *cur_pounce);
21234
aabe638f56d9 Wrap the newly deprecated functions with #ifndef PURPLE_DISABLE_DEPRECATED.
Richard Laager <rlaager@wiktel.com>
parents: 21229
diff changeset
43 #endif
21228
cc8bdfb16ddf Document the window transient_for changes. Refs #2617
Richard Laager <rlaager@wiktel.com>
parents: 20619
diff changeset
44
cc8bdfb16ddf Document the window transient_for changes. Refs #2617
Richard Laager <rlaager@wiktel.com>
parents: 20619
diff changeset
45 /**
cc8bdfb16ddf Document the window transient_for changes. Refs #2617
Richard Laager <rlaager@wiktel.com>
parents: 20619
diff changeset
46 * Displays a New Buddy Pounce or Edit Buddy Pounce dialog.
cc8bdfb16ddf Document the window transient_for changes. Refs #2617
Richard Laager <rlaager@wiktel.com>
parents: 20619
diff changeset
47 *
20619
b93d1ad9cf02 Doing pounces
Gabriel Schulhof <nix@go-nix.ca>
parents: 20597
diff changeset
48 * @param parent The parent window.
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
49 * @param account The optional account to use.
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
50 * @param name The optional name to pounce on.
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
51 * @param cur_pounce The current buddy pounce, if editing an existing one.
21228
cc8bdfb16ddf Document the window transient_for changes. Refs #2617
Richard Laager <rlaager@wiktel.com>
parents: 20619
diff changeset
52 *
cc8bdfb16ddf Document the window transient_for changes. Refs #2617
Richard Laager <rlaager@wiktel.com>
parents: 20619
diff changeset
53 * @since 2.3.0
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
54 */
20619
b93d1ad9cf02 Doing pounces
Gabriel Schulhof <nix@go-nix.ca>
parents: 20597
diff changeset
55 void pidgin_pounce_editor_show_with_parent(GtkWindow *parent, PurpleAccount *account, const char *name,
b93d1ad9cf02 Doing pounces
Gabriel Schulhof <nix@go-nix.ca>
parents: 20597
diff changeset
56 PurplePounce *cur_pounce);
b93d1ad9cf02 Doing pounces
Gabriel Schulhof <nix@go-nix.ca>
parents: 20597
diff changeset
57
21234
aabe638f56d9 Wrap the newly deprecated functions with #ifndef PURPLE_DISABLE_DEPRECATED.
Richard Laager <rlaager@wiktel.com>
parents: 21229
diff changeset
58 #ifndef PURPLE_DISABLE_DEPRECATED
20619
b93d1ad9cf02 Doing pounces
Gabriel Schulhof <nix@go-nix.ca>
parents: 20597
diff changeset
59 /**
21228
cc8bdfb16ddf Document the window transient_for changes. Refs #2617
Richard Laager <rlaager@wiktel.com>
parents: 20619
diff changeset
60 * Shows the pounces manager window.
cc8bdfb16ddf Document the window transient_for changes. Refs #2617
Richard Laager <rlaager@wiktel.com>
parents: 20619
diff changeset
61 *
cc8bdfb16ddf Document the window transient_for changes. Refs #2617
Richard Laager <rlaager@wiktel.com>
parents: 20619
diff changeset
62 * @deprecated Use pidgin_pounces_manager_show_with_parent() instead.
20619
b93d1ad9cf02 Doing pounces
Gabriel Schulhof <nix@go-nix.ca>
parents: 20597
diff changeset
63 */
21228
cc8bdfb16ddf Document the window transient_for changes. Refs #2617
Richard Laager <rlaager@wiktel.com>
parents: 20619
diff changeset
64 void pidgin_pounces_manager_show(void);
21234
aabe638f56d9 Wrap the newly deprecated functions with #ifndef PURPLE_DISABLE_DEPRECATED.
Richard Laager <rlaager@wiktel.com>
parents: 21229
diff changeset
65 #endif
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
66
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
67 /**
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
68 * Shows the pounces manager window.
21228
cc8bdfb16ddf Document the window transient_for changes. Refs #2617
Richard Laager <rlaager@wiktel.com>
parents: 20619
diff changeset
69 *
cc8bdfb16ddf Document the window transient_for changes. Refs #2617
Richard Laager <rlaager@wiktel.com>
parents: 20619
diff changeset
70 * @since 2.3.0
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
71 */
20619
b93d1ad9cf02 Doing pounces
Gabriel Schulhof <nix@go-nix.ca>
parents: 20597
diff changeset
72 void pidgin_pounces_manager_show_with_parent(GtkWindow *parent);
b93d1ad9cf02 Doing pounces
Gabriel Schulhof <nix@go-nix.ca>
parents: 20597
diff changeset
73
b93d1ad9cf02 Doing pounces
Gabriel Schulhof <nix@go-nix.ca>
parents: 20597
diff changeset
74 /**
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
75 * Hides the pounces manager window.
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
76 */
15501
d75099d2567e gaim_gtk to pidgin. I hope
Sean Egan <seanegan@gmail.com>
parents: 15374
diff changeset
77 void pidgin_pounces_manager_hide(void);
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
78
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
79 /**
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
80 * Returns the gtkpounces handle
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
81 *
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
82 * @return The handle to the GTK+ pounces system
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
83 */
15501
d75099d2567e gaim_gtk to pidgin. I hope
Sean Egan <seanegan@gmail.com>
parents: 15374
diff changeset
84 void *pidgin_pounces_get_handle(void);
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
85
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
86 /**
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
87 * Initializes the GTK+ pounces subsystem.
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
88 */
15501
d75099d2567e gaim_gtk to pidgin. I hope
Sean Egan <seanegan@gmail.com>
parents: 15374
diff changeset
89 void pidgin_pounces_init(void);
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
90
15501
d75099d2567e gaim_gtk to pidgin. I hope
Sean Egan <seanegan@gmail.com>
parents: 15374
diff changeset
91 #endif /* _PIDGINPOUNCE_H_ */