pidgin/pidgincontactlist.h

Tue, 19 Oct 2021 02:49:28 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Tue, 19 Oct 2021 02:49:28 -0500
changeset 41124
95555046173e
parent 40728
2dbfbaeefe40
permissions
-rw-r--r--

Convert pidgin from gtk-doc to gi-docgen

Testing Done:
Ran the docs locally and in convey.

Reviewed at https://reviews.imfreedom.org/r/1076/

40600
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
1 /*
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
2 * Pidgin - Internet Messenger
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
3 * Copyright (C) Pidgin Developers <devel@pidgin.im>
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
4 *
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
5 * Pidgin is the legal property of its developers, whose names are too numerous
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
6 * to list here. Please refer to the COPYRIGHT file distributed with this
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
7 * source distribution.
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
8 *
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
9 * This program is free software; you can redistribute it and/or modify
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
10 * it under the terms of the GNU General Public License as published by
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
11 * the Free Software Foundation; either version 2 of the License, or
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
12 * (at your option) any later version.
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
13 *
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
14 * This program is distributed in the hope that it will be useful,
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
17 * GNU General Public License for more details.
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
18 *
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
19 * You should have received a copy of the GNU General Public License
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
20 * along with this program; if not, see <https://www.gnu.org/licenses/>.
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
21 */
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
22
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
23 #if !defined(PIDGIN_GLOBAL_HEADER_INSIDE) && !defined(PIDGIN_COMPILATION)
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
24 # error "only <pidgin.h> may be included directly"
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
25 #endif
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
26
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
27 #ifndef PIDGIN_CONTACT_LIST_H
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
28 #define PIDGIN_CONTACT_LIST_H
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
29
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
30 #include <glib.h>
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
31
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
32 #include <gtk/gtk.h>
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
33
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
34 G_BEGIN_DECLS
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
35
40728
2dbfbaeefe40 Merge PidginBuddyListMenu with PidginContactList which fixes all of the accelerators as well.
Gary Kramlich <grim@reaperworld.com>
parents: 40600
diff changeset
36
2dbfbaeefe40 Merge PidginBuddyListMenu with PidginContactList which fixes all of the accelerators as well.
Gary Kramlich <grim@reaperworld.com>
parents: 40600
diff changeset
37 /**
2dbfbaeefe40 Merge PidginBuddyListMenu with PidginContactList which fixes all of the accelerators as well.
Gary Kramlich <grim@reaperworld.com>
parents: 40600
diff changeset
38 * PidginContactList:
2dbfbaeefe40 Merge PidginBuddyListMenu with PidginContactList which fixes all of the accelerators as well.
Gary Kramlich <grim@reaperworld.com>
parents: 40600
diff changeset
39 *
41124
95555046173e Convert pidgin from gtk-doc to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 40728
diff changeset
40 * #PidginContactList is a transitional widget as we slowly migrate it into the
95555046173e Convert pidgin from gtk-doc to gi-docgen
Gary Kramlich <grim@reaperworld.com>
parents: 40728
diff changeset
41 * conversation window to make a single window application.
40728
2dbfbaeefe40 Merge PidginBuddyListMenu with PidginContactList which fixes all of the accelerators as well.
Gary Kramlich <grim@reaperworld.com>
parents: 40600
diff changeset
42 *
2dbfbaeefe40 Merge PidginBuddyListMenu with PidginContactList which fixes all of the accelerators as well.
Gary Kramlich <grim@reaperworld.com>
parents: 40600
diff changeset
43 * Since: 3.0.0
2dbfbaeefe40 Merge PidginBuddyListMenu with PidginContactList which fixes all of the accelerators as well.
Gary Kramlich <grim@reaperworld.com>
parents: 40600
diff changeset
44 */
2dbfbaeefe40 Merge PidginBuddyListMenu with PidginContactList which fixes all of the accelerators as well.
Gary Kramlich <grim@reaperworld.com>
parents: 40600
diff changeset
45
40600
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
46 #define PIDGIN_TYPE_CONTACT_LIST (pidgin_contact_list_get_type())
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
47 G_DECLARE_FINAL_TYPE(PidginContactList, pidgin_contact_list, PIDGIN,
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
48 CONTACT_LIST, GtkApplicationWindow)
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
49
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
50 /**
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
51 * pidgin_contact_list_new:
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
52 *
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
53 * Creates a new #PidginContactList instance.
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
54 *
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
55 * Returns: (transfer full): The new #PidginContactList instance.
40728
2dbfbaeefe40 Merge PidginBuddyListMenu with PidginContactList which fixes all of the accelerators as well.
Gary Kramlich <grim@reaperworld.com>
parents: 40600
diff changeset
56 *
2dbfbaeefe40 Merge PidginBuddyListMenu with PidginContactList which fixes all of the accelerators as well.
Gary Kramlich <grim@reaperworld.com>
parents: 40600
diff changeset
57 * Since: 3.0.0
40600
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
58 */
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
59 GtkWidget *pidgin_contact_list_new(void);
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
60
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
61 /**
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
62 * pidgin_contact_list_get_vbox:
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
63 * @contact_list: The #PidginContactList instance.
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
64 *
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
65 * Gets the main vbox for @contact_list.
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
66 *
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
67 * Returns: (transfer none): The main vbox of @contact_list.
40728
2dbfbaeefe40 Merge PidginBuddyListMenu with PidginContactList which fixes all of the accelerators as well.
Gary Kramlich <grim@reaperworld.com>
parents: 40600
diff changeset
68 *
2dbfbaeefe40 Merge PidginBuddyListMenu with PidginContactList which fixes all of the accelerators as well.
Gary Kramlich <grim@reaperworld.com>
parents: 40600
diff changeset
69 * Since: 3.0.0
40600
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
70 */
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
71 GtkWidget *pidgin_contact_list_get_vbox(PidginContactList *contact_list);
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
72
40728
2dbfbaeefe40 Merge PidginBuddyListMenu with PidginContactList which fixes all of the accelerators as well.
Gary Kramlich <grim@reaperworld.com>
parents: 40600
diff changeset
73 /**
2dbfbaeefe40 Merge PidginBuddyListMenu with PidginContactList which fixes all of the accelerators as well.
Gary Kramlich <grim@reaperworld.com>
parents: 40600
diff changeset
74 * pidgin_contact_list_get_menu_sort_item:
2dbfbaeefe40 Merge PidginBuddyListMenu with PidginContactList which fixes all of the accelerators as well.
Gary Kramlich <grim@reaperworld.com>
parents: 40600
diff changeset
75 * @contact_list: The #PidginContactList instance.
2dbfbaeefe40 Merge PidginBuddyListMenu with PidginContactList which fixes all of the accelerators as well.
Gary Kramlich <grim@reaperworld.com>
parents: 40600
diff changeset
76 *
2dbfbaeefe40 Merge PidginBuddyListMenu with PidginContactList which fixes all of the accelerators as well.
Gary Kramlich <grim@reaperworld.com>
parents: 40600
diff changeset
77 * Returns the sort menu item from the menu of @contact_list.
2dbfbaeefe40 Merge PidginBuddyListMenu with PidginContactList which fixes all of the accelerators as well.
Gary Kramlich <grim@reaperworld.com>
parents: 40600
diff changeset
78 *
2dbfbaeefe40 Merge PidginBuddyListMenu with PidginContactList which fixes all of the accelerators as well.
Gary Kramlich <grim@reaperworld.com>
parents: 40600
diff changeset
79 * Returns: (transfer none): The sort menu item from the menu of @contact_list.
2dbfbaeefe40 Merge PidginBuddyListMenu with PidginContactList which fixes all of the accelerators as well.
Gary Kramlich <grim@reaperworld.com>
parents: 40600
diff changeset
80 *
2dbfbaeefe40 Merge PidginBuddyListMenu with PidginContactList which fixes all of the accelerators as well.
Gary Kramlich <grim@reaperworld.com>
parents: 40600
diff changeset
81 * Since: 3.0.0
2dbfbaeefe40 Merge PidginBuddyListMenu with PidginContactList which fixes all of the accelerators as well.
Gary Kramlich <grim@reaperworld.com>
parents: 40600
diff changeset
82 */
2dbfbaeefe40 Merge PidginBuddyListMenu with PidginContactList which fixes all of the accelerators as well.
Gary Kramlich <grim@reaperworld.com>
parents: 40600
diff changeset
83 GtkWidget *pidgin_contact_list_get_menu_sort_item(PidginContactList *contact_list);
2dbfbaeefe40 Merge PidginBuddyListMenu with PidginContactList which fixes all of the accelerators as well.
Gary Kramlich <grim@reaperworld.com>
parents: 40600
diff changeset
84
2dbfbaeefe40 Merge PidginBuddyListMenu with PidginContactList which fixes all of the accelerators as well.
Gary Kramlich <grim@reaperworld.com>
parents: 40600
diff changeset
85 /**
2dbfbaeefe40 Merge PidginBuddyListMenu with PidginContactList which fixes all of the accelerators as well.
Gary Kramlich <grim@reaperworld.com>
parents: 40600
diff changeset
86 * pidgin_contact_list_get_menu_tray:
2dbfbaeefe40 Merge PidginBuddyListMenu with PidginContactList which fixes all of the accelerators as well.
Gary Kramlich <grim@reaperworld.com>
parents: 40600
diff changeset
87 * @contact_list: The #PidginContactList instance.
2dbfbaeefe40 Merge PidginBuddyListMenu with PidginContactList which fixes all of the accelerators as well.
Gary Kramlich <grim@reaperworld.com>
parents: 40600
diff changeset
88 *
2dbfbaeefe40 Merge PidginBuddyListMenu with PidginContactList which fixes all of the accelerators as well.
Gary Kramlich <grim@reaperworld.com>
parents: 40600
diff changeset
89 * Gets the #PidginMenuTray instance from the menu of @contact_list.
2dbfbaeefe40 Merge PidginBuddyListMenu with PidginContactList which fixes all of the accelerators as well.
Gary Kramlich <grim@reaperworld.com>
parents: 40600
diff changeset
90 *
2dbfbaeefe40 Merge PidginBuddyListMenu with PidginContactList which fixes all of the accelerators as well.
Gary Kramlich <grim@reaperworld.com>
parents: 40600
diff changeset
91 * Returns: (transfer none): The #PidginMenuTray from the menu of
2dbfbaeefe40 Merge PidginBuddyListMenu with PidginContactList which fixes all of the accelerators as well.
Gary Kramlich <grim@reaperworld.com>
parents: 40600
diff changeset
92 * @contact_list.
2dbfbaeefe40 Merge PidginBuddyListMenu with PidginContactList which fixes all of the accelerators as well.
Gary Kramlich <grim@reaperworld.com>
parents: 40600
diff changeset
93 *
2dbfbaeefe40 Merge PidginBuddyListMenu with PidginContactList which fixes all of the accelerators as well.
Gary Kramlich <grim@reaperworld.com>
parents: 40600
diff changeset
94 * Since: 3.0.0
2dbfbaeefe40 Merge PidginBuddyListMenu with PidginContactList which fixes all of the accelerators as well.
Gary Kramlich <grim@reaperworld.com>
parents: 40600
diff changeset
95 */
2dbfbaeefe40 Merge PidginBuddyListMenu with PidginContactList which fixes all of the accelerators as well.
Gary Kramlich <grim@reaperworld.com>
parents: 40600
diff changeset
96 GtkWidget *pidgin_contact_list_get_menu_tray(PidginContactList *contact_list);
40600
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
97
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
98 G_END_DECLS
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
99
46d10c72c137 Create a new ContactList that will eventually fully replace PidginBuddyList
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
100 #endif /* PIDGIN_CONTACT_LIST_H */

mercurial