pidgin/gtkutils.h

changeset 18672
da4db1be5d98
parent 18281
f7dd07e1e434
child 18918
eab3d9b215b0
child 18966
6a0715b72b6b
equal deleted inserted replaced
18668:c5ff15c4fc09 18672:da4db1be5d98
234 GtkWidget *pidgin_protocol_option_menu_new(const char *id, 234 GtkWidget *pidgin_protocol_option_menu_new(const char *id,
235 GCallback cb, 235 GCallback cb,
236 gpointer user_data); 236 gpointer user_data);
237 237
238 /** 238 /**
239 * Gets the currently selected protocol from a protocol drop down box.
240 *
241 * @param optmenu The drop-down option menu created by
242 * pidgin_account_option_menu_new.
243 * @return Returns the protocol ID that is currently selected.
244 */
245 const char *pidgin_protocol_option_menu_get_selected(GtkWidget *optmenu);
246
247 /**
239 * Creates a drop-down option menu filled with accounts. 248 * Creates a drop-down option menu filled with accounts.
240 * 249 *
241 * @param default_account The account to select by default. 250 * @param default_account The account to select by default.
242 * @param show_all Whether or not to show all accounts, or just 251 * @param show_all Whether or not to show all accounts, or just
243 * active accounts. 252 * active accounts.
253 PurpleFilterAccountFunc filter_func, gpointer user_data); 262 PurpleFilterAccountFunc filter_func, gpointer user_data);
254 263
255 /** 264 /**
256 * Gets the currently selected account from an account drop down box. 265 * Gets the currently selected account from an account drop down box.
257 * 266 *
258 * @param optmenu The GtkOptionMenu created by 267 * @param optmenu The drop-down option menu created by
259 * pidgin_account_option_menu_new. 268 * pidgin_account_option_menu_new.
260 * @return Returns the PurpleAccount that is currently selected. 269 * @return Returns the PurpleAccount that is currently selected.
261 */ 270 */
262 PurpleAccount *pidgin_account_option_menu_get_selected(GtkWidget *optmenu); 271 PurpleAccount *pidgin_account_option_menu_get_selected(GtkWidget *optmenu);
263 272

mercurial