| 198 * Returns: (transfer none): The action area (button box) from @dialog. |
198 * Returns: (transfer none): The action area (button box) from @dialog. |
| 199 */ |
199 */ |
| 200 GtkWidget *pidgin_dialog_get_action_area(GtkDialog *dialog); |
200 GtkWidget *pidgin_dialog_get_action_area(GtkDialog *dialog); |
| 201 |
201 |
| 202 /** |
202 /** |
| 203 * pidgin_toggle_sensitive: |
|
| 204 * @widget: %NULL. Used for signal handlers. |
|
| 205 * @to_toggle: The widget to toggle. |
|
| 206 * |
|
| 207 * Toggles the sensitivity of a widget. |
|
| 208 */ |
|
| 209 void pidgin_toggle_sensitive(GtkWidget *widget, GtkWidget *to_toggle); |
|
| 210 |
|
| 211 /** |
|
| 212 * pidgin_set_sensitive_if_input: |
203 * pidgin_set_sensitive_if_input: |
| 213 * @entry: The text entry widget. |
204 * @entry: The text entry widget. |
| 214 * @dialog: The dialog containing the text entry widget. |
205 * @dialog: The dialog containing the text entry widget. |
| 215 * |
206 * |
| 216 * Checks if text has been entered into a GtkTextEntry widget. If |
207 * Checks if text has been entered into a GtkTextEntry widget. If |
| 217 * so, the GTK_RESPONSE_OK on the given dialog is set to TRUE. |
208 * so, the GTK_RESPONSE_OK on the given dialog is set to TRUE. |
| 218 * Otherwise GTK_RESPONSE_OK is set to FALSE. |
209 * Otherwise GTK_RESPONSE_OK is set to FALSE. |
| 219 */ |
210 */ |
| 220 void pidgin_set_sensitive_if_input(GtkWidget *entry, GtkWidget *dialog); |
211 void pidgin_set_sensitive_if_input(GtkWidget *entry, GtkWidget *dialog); |
| 221 |
|
| 222 /** |
|
| 223 * pidgin_toggle_sensitive_array: |
|
| 224 * @w: %NULL. Used for signal handlers. |
|
| 225 * @data: (element-type GtkWidget): The array containing the widgets to toggle. |
|
| 226 * |
|
| 227 * Toggles the sensitivity of all widgets in a pointer array. |
|
| 228 */ |
|
| 229 void pidgin_toggle_sensitive_array(GtkWidget *w, GPtrArray *data); |
|
| 230 |
|
| 231 /** |
|
| 232 * pidgin_toggle_showhide: |
|
| 233 * @widget: %NULL. Used for signal handlers. |
|
| 234 * @to_toggle: The widget to toggle. |
|
| 235 * |
|
| 236 * Toggles the visibility of a widget. |
|
| 237 */ |
|
| 238 void pidgin_toggle_showhide(GtkWidget *widget, GtkWidget *to_toggle); |
|
| 239 |
212 |
| 240 /** |
213 /** |
| 241 * pidgin_separator: |
214 * pidgin_separator: |
| 242 * @menu: The menu to add a separator to. |
215 * @menu: The menu to add a separator to. |
| 243 * |
216 * |