comparison src/gtkutils.h @ 13360:2e6dda9f9159

[gaim-migrate @ 15733] SF Patch #1440729 from Sadrul Closes SF Feature Request #1414706 "This moves some stuff from gtkrequest.c to gtkutils.c -- this allows to setup autocomplete for entries that deal with screen-names of the buddies. I have used this function in the pounce dialog -- so now it has auto-complete." committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Wed, 01 Mar 2006 06:10:41 +0000
parents 3de53fe8345f
children ffd724befbf8
comparison
equal deleted inserted replaced
13359:ca250092a23a 13360:2e6dda9f9159
248 * @param account The GaimAccount to select. 248 * @param account The GaimAccount to select.
249 */ 249 */
250 void gaim_gtk_account_option_menu_set_selected(GtkWidget *optmenu, GaimAccount *account); 250 void gaim_gtk_account_option_menu_set_selected(GtkWidget *optmenu, GaimAccount *account);
251 251
252 /** 252 /**
253 * Add autocompletion of screenames to an entry.
254 *
255 * @param entry The GtkEntry on which to setup autocomplete.
256 * @param optmenu A menu for accounts, returned by gaim_gtk_account_option_menu_new().
257 * If @a optmenu is not @c NULL, it'll be updated when a screenname is chosen
258 * from the autocomplete list.
259 * @param all Whether to include screennames from disconnected accounts.
260 */
261 void gaim_gtk_setup_screenname_autocomplete(GtkWidget *entry, GtkWidget *optmenu, gboolean all);
262
263 /**
253 * Check if the given path is a directory or not. If it is, then modify 264 * Check if the given path is a directory or not. If it is, then modify
254 * the given GtkFileSelection dialog so that it displays the given path. 265 * the given GtkFileSelection dialog so that it displays the given path.
255 * If the given path is not a directory, then do nothing. 266 * If the given path is not a directory, then do nothing.
256 * 267 *
257 * @param path The path entered in the file selection window by the user. 268 * @param path The path entered in the file selection window by the user.