Mercurial > pidgin.yaz
comparison pidgin/gtkutils.h @ 25415:584063555949
Remove trailing whitespace
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 26 Jan 2009 06:44:00 +0000 |
parents | d25cbbea7fe5 |
children | 6e1967b0f90b |
comparison
equal
deleted
inserted
replaced
25414:7fc110f70662 | 25415:584063555949 |
---|---|
134 | 134 |
135 /** | 135 /** |
136 * Retrieves the main content box (vbox) from a pidgin dialog window | 136 * Retrieves the main content box (vbox) from a pidgin dialog window |
137 * | 137 * |
138 * @param dialog The dialog window | 138 * @param dialog The dialog window |
139 * @param homogeneous TRUE if all children are to be given equal space allotments. | 139 * @param homogeneous TRUE if all children are to be given equal space allotments. |
140 * @param spacing the number of pixels to place by default between children | 140 * @param spacing the number of pixels to place by default between children |
141 * | 141 * |
142 * @since 2.4.0 | 142 * @since 2.4.0 |
143 */ | 143 */ |
144 GtkWidget *pidgin_dialog_get_vbox_with_properties(GtkDialog *dialog, gboolean homogeneous, gint spacing); | 144 GtkWidget *pidgin_dialog_get_vbox_with_properties(GtkDialog *dialog, gboolean homogeneous, gint spacing); |
182 * @param to_toggle The widget to toggle. | 182 * @param to_toggle The widget to toggle. |
183 */ | 183 */ |
184 void pidgin_toggle_sensitive(GtkWidget *widget, GtkWidget *to_toggle); | 184 void pidgin_toggle_sensitive(GtkWidget *widget, GtkWidget *to_toggle); |
185 | 185 |
186 /** | 186 /** |
187 * Checks if text has been entered into a GtkTextEntry widget. If | 187 * Checks if text has been entered into a GtkTextEntry widget. If |
188 * so, the GTK_RESPONSE_OK on the given dialog is set to TRUE. | 188 * so, the GTK_RESPONSE_OK on the given dialog is set to TRUE. |
189 * Otherwise GTK_RESPONSE_OK is set to FALSE. | 189 * Otherwise GTK_RESPONSE_OK is set to FALSE. |
190 * | 190 * |
191 * @param entry The text entry widget. | 191 * @param entry The text entry widget. |
192 * @param dialog The dialog containing the text entry widget. | 192 * @param dialog The dialog containing the text entry widget. |
193 */ | 193 */ |
471 PurpleAccount **ret_account, | 471 PurpleAccount **ret_account, |
472 char **ret_protocol, char **ret_username, | 472 char **ret_protocol, char **ret_username, |
473 char **ret_alias); | 473 char **ret_alias); |
474 | 474 |
475 /** | 475 /** |
476 * Sets an ATK name for a given widget. Also sets the labelled-by | 476 * Sets an ATK name for a given widget. Also sets the labelled-by |
477 * and label-for ATK relationships. | 477 * and label-for ATK relationships. |
478 * | 478 * |
479 * @param w The widget that we want to name. | 479 * @param w The widget that we want to name. |
480 * @param l A GtkLabel that we want to use as the ATK name for the widget. | 480 * @param l A GtkLabel that we want to use as the ATK name for the widget. |
481 */ | 481 */ |
507 */ | 507 */ |
508 void pidgin_menu_position_func_helper(GtkMenu *menu, gint *x, gint *y, | 508 void pidgin_menu_position_func_helper(GtkMenu *menu, gint *x, gint *y, |
509 gboolean *push_in, gpointer data); | 509 gboolean *push_in, gpointer data); |
510 | 510 |
511 /** | 511 /** |
512 * A valid GtkMenuPositionFunc. This is used to determine where | 512 * A valid GtkMenuPositionFunc. This is used to determine where |
513 * to draw context menus when the menu is activated with the | 513 * to draw context menus when the menu is activated with the |
514 * keyboard (shift+F10). If the menu is activated with the mouse, | 514 * keyboard (shift+F10). If the menu is activated with the mouse, |
515 * then you should just use GTK's built-in position function, | 515 * then you should just use GTK's built-in position function, |
516 * because it does a better job of positioning the menu. | 516 * because it does a better job of positioning the menu. |
517 * | 517 * |
518 * @param menu The menu we are positioning. | 518 * @param menu The menu we are positioning. |
519 * @param x Address of the gint representing the horizontal position | 519 * @param x Address of the gint representing the horizontal position |
520 * where the menu shall be drawn. This is an output parameter. | 520 * where the menu shall be drawn. This is an output parameter. |
610 * Creates a File Selection widget for choosing a buddy icon | 610 * Creates a File Selection widget for choosing a buddy icon |
611 * | 611 * |
612 * @param parent The parent window | 612 * @param parent The parent window |
613 * @param callback The callback to call when the window is closed. If the user chose an icon, the char* argument will point to its path | 613 * @param callback The callback to call when the window is closed. If the user chose an icon, the char* argument will point to its path |
614 * @param data Data to pass to @a callback | 614 * @param data Data to pass to @a callback |
615 * @return The file dialog | 615 * @return The file dialog |
616 */ | 616 */ |
617 GtkWidget *pidgin_buddy_icon_chooser_new(GtkWindow *parent, void(*callback)(const char*,gpointer), gpointer data); | 617 GtkWidget *pidgin_buddy_icon_chooser_new(GtkWindow *parent, void(*callback)(const char*,gpointer), gpointer data); |
618 | 618 |
619 /** | 619 /** |
620 * Converts a buddy icon to the required size and format | 620 * Converts a buddy icon to the required size and format |
621 * | 621 * |
622 * @param plugin The prpl to convert the icon | 622 * @param plugin The prpl to convert the icon |
623 * @param path The path of a file to convert | 623 * @param path The path of a file to convert |
624 * @param len If not @c NULL, the length of the returned data will be set here. | 624 * @param len If not @c NULL, the length of the returned data will be set here. |
625 * | 625 * |
626 * @return The converted image data, or @c NULL if an error occurred. | 626 * @return The converted image data, or @c NULL if an error occurred. |
704 */ | 704 */ |
705 gboolean pidgin_tree_view_search_equal_func(GtkTreeModel *model, gint column, | 705 gboolean pidgin_tree_view_search_equal_func(GtkTreeModel *model, gint column, |
706 const gchar *key, GtkTreeIter *iter, gpointer data); | 706 const gchar *key, GtkTreeIter *iter, gpointer data); |
707 | 707 |
708 /** | 708 /** |
709 * Sets or resets a window to 'urgent,' by setting the URGENT hint in X | 709 * Sets or resets a window to 'urgent,' by setting the URGENT hint in X |
710 * or blinking in the win32 taskbar | 710 * or blinking in the win32 taskbar |
711 * | 711 * |
712 * @param window The window to draw attention to | 712 * @param window The window to draw attention to |
713 * @param urgent Whether to set the urgent hint or not | 713 * @param urgent Whether to set the urgent hint or not |
714 */ | 714 */ |