pidgin/gtkutils.h

changeset 42620
72178a341eb8
parent 42550
d745bb34f491
child 42716
268ffbddb677
equal deleted inserted replaced
42619:3dd7cd0eabf1 42620:72178a341eb8
40 * @conn: The connection to get information from. 40 * @conn: The connection to get information from.
41 * @name: The user to get information about. 41 * @name: The user to get information about.
42 * 42 *
43 * Get information about a user. Show immediate feedback. 43 * Get information about a user. Show immediate feedback.
44 * 44 *
45 * Since: 2.1.0 45 * Since: 2.1
46 */ 46 */
47 PIDGIN_AVAILABLE_IN_2_1 47 PIDGIN_AVAILABLE_IN_2_1
48 void pidgin_retrieve_user_info(PurpleConnection *conn, const char *name); 48 void pidgin_retrieve_user_info(PurpleConnection *conn, const char *name);
49 49
50 /** 50 /**
53 * @name: The user to get information about. 53 * @name: The user to get information about.
54 * @chatid: The chat id. 54 * @chatid: The chat id.
55 * 55 *
56 * Get information about a user in a chat. Show immediate feedback. 56 * Get information about a user in a chat. Show immediate feedback.
57 * 57 *
58 * Since: 2.1.0 58 * Since: 2.1
59 */ 59 */
60 PIDGIN_AVAILABLE_IN_2_1 60 PIDGIN_AVAILABLE_IN_2_1
61 void pidgin_retrieve_user_info_in_chat(PurpleConnection *conn, const char *name, int chatid); 61 void pidgin_retrieve_user_info_in_chat(PurpleConnection *conn, const char *name, int chatid);
62 62
63 /** 63 /**
66 * @l: A GtkLabel that we want to use as the ATK name for the widget. 66 * @l: A GtkLabel that we want to use as the ATK name for the widget.
67 * 67 *
68 * Sets an ATK name for a given widget. Also sets the labelled-by 68 * Sets an ATK name for a given widget. Also sets the labelled-by
69 * and label-for ATK relationships. 69 * and label-for ATK relationships.
70 * 70 *
71 * Since: 2.0.0 71 * Since: 2.0
72 */ 72 */
73 PIDGIN_AVAILABLE_IN_ALL 73 PIDGIN_AVAILABLE_IN_ALL
74 void pidgin_set_accessible_label(GtkWidget *w, GtkLabel *l); 74 void pidgin_set_accessible_label(GtkWidget *w, GtkLabel *l);
75 75
76 /** 76 /**
79 * 79 *
80 * Automatically make a window transient to a suitable parent window. 80 * Automatically make a window transient to a suitable parent window.
81 * 81 *
82 * Returns: Whether the window was made transient or not. 82 * Returns: Whether the window was made transient or not.
83 * 83 *
84 * Since: 2.4.0 84 * Since: 2.4
85 */ 85 */
86 PIDGIN_AVAILABLE_IN_2_4 86 PIDGIN_AVAILABLE_IN_2_4
87 gboolean pidgin_auto_parent_window(GtkWidget *window); 87 gboolean pidgin_auto_parent_window(GtkWidget *window);
88 88
89 /** 89 /**
97 * 97 *
98 * Add a labelled widget to a GtkBox 98 * Add a labelled widget to a GtkBox
99 * 99 *
100 * Returns: (transfer full): A GtkBox already added to the GtkBox containing the GtkLabel and the GtkWidget. 100 * Returns: (transfer full): A GtkBox already added to the GtkBox containing the GtkLabel and the GtkWidget.
101 * 101 *
102 * Since: 2.4.0 102 * Since: 2.4
103 */ 103 */
104 PIDGIN_AVAILABLE_IN_2_4 104 PIDGIN_AVAILABLE_IN_2_4
105 GtkWidget *pidgin_add_widget_to_vbox(GtkBox *vbox, const char *widget_label, GtkSizeGroup *sg, GtkWidget *widget, gboolean expand, GtkWidget **p_label); 105 GtkWidget *pidgin_add_widget_to_vbox(GtkBox *vbox, const char *widget_label, GtkSizeGroup *sg, GtkWidget *widget, gboolean expand, GtkWidget **p_label);
106 106
107 G_END_DECLS 107 G_END_DECLS

mercurial