g 65 lib/widget/button.c WGroup *g = w->owner; g 66 lib/widget/button.c WDialog *h = DIALOG (g); g 78 lib/widget/button.c if (parm == '\n' && WIDGET (g->current->data) == w) g 134 lib/widget/dialog.c WGroup *g = GROUP (h); g 153 lib/widget/dialog.c group_select_prev_widget (g); g 157 lib/widget/dialog.c group_select_next_widget (g); g 223 lib/widget/dialog.c WGroup *g = GROUP (h); g 226 lib/widget/dialog.c if (g->widgets == NULL) g 229 lib/widget/dialog.c if (g->current == NULL) g 230 lib/widget/dialog.c g->current = g->widgets; g 237 lib/widget/dialog.c group_select_next_widget (g); g 242 lib/widget/dialog.c group_select_prev_widget (g); g 378 lib/widget/dialog.c WGroup *g; g 382 lib/widget/dialog.c g = GROUP (new_d); g 384 lib/widget/dialog.c group_init (g, y1, x1, lines, cols, callback != NULL ? callback : dlg_default_callback, g 391 lib/widget/dialog.c w->owner = g; g 410 lib/widget/dialog.c group_add_widget (g, new_d->bg); g 488 lib/widget/dialog.c WGroup *g = GROUP (h); g 509 lib/widget/dialog.c while (g->current != NULL && !widget_get_options (WIDGET (g->current->data), WOP_SELECTABLE) g 510 lib/widget/dialog.c && !widget_get_state (WIDGET (g->current->data), WST_DISABLED)) g 511 lib/widget/dialog.c group_set_current_widget_next (g); g 60 lib/widget/gauge.c WGauge *g = GAUGE (w); g 68 lib/widget/gauge.c if (!g->shown) g 77 lib/widget/gauge.c int total = g->max; g 78 lib/widget/gauge.c int done = g->current; g 98 lib/widget/gauge.c if (g->from_left_to_right) g 129 lib/widget/gauge.c WGauge *g; g 132 lib/widget/gauge.c g = g_new (WGauge, 1); g 133 lib/widget/gauge.c w = WIDGET (g); g 136 lib/widget/gauge.c g->shown = shown; g 139 lib/widget/gauge.c g->max = max; g 140 lib/widget/gauge.c g->current = current; g 141 lib/widget/gauge.c g->from_left_to_right = TRUE; g 143 lib/widget/gauge.c return g; g 149 lib/widget/gauge.c gauge_set_value (WGauge * g, int max, int current) g 151 lib/widget/gauge.c if (g->current == current && g->max == max) g 156 lib/widget/gauge.c g->current = current; g 157 lib/widget/gauge.c g->max = max; g 158 lib/widget/gauge.c widget_draw (WIDGET (g)); g 164 lib/widget/gauge.c gauge_show (WGauge * g, gboolean shown) g 166 lib/widget/gauge.c if (g->shown != shown) g 168 lib/widget/gauge.c g->shown = shown; g 169 lib/widget/gauge.c widget_draw (WIDGET (g)); g 31 lib/widget/gauge.h void gauge_set_value (WGauge * g, int max, int current); g 32 lib/widget/gauge.h void gauge_show (WGauge * g, gboolean shown); g 111 lib/widget/group.c group_select_next_or_prev (WGroup * g, gboolean next) g 113 lib/widget/group.c if (g->widgets != NULL && g->current != NULL) g 115 lib/widget/group.c GList *l = g->current; g 124 lib/widget/group.c && l != g->current); g 152 lib/widget/group.c group_send_broadcast_msg_custom (WGroup * g, widget_msg_t msg, gboolean reverse, g 157 lib/widget/group.c if (g->widgets == NULL) g 160 lib/widget/group.c if (g->current == NULL) g 161 lib/widget/group.c g->current = g->widgets; g 163 lib/widget/group.c p = group_get_next_or_prev_of (g->current, !reverse); g 284 lib/widget/group.c group_update_cursor (WGroup * g) g 286 lib/widget/group.c GList *p = g->current; g 288 lib/widget/group.c if (p != NULL && widget_get_state (WIDGET (g), WST_ACTIVE)) g 299 lib/widget/group.c while (p != g->current); g 315 lib/widget/group.c Widget *g = WIDGET (c->owner); g 320 lib/widget/group.c r.x = g->x + (g->cols - c->cols) / 2; g 332 lib/widget/group.c r.y = g->y + (g->lines - c->lines) / 2; g 349 lib/widget/group.c group_set_position (WGroup * g, const WRect * r) g 351 lib/widget/group.c Widget *w = WIDGET (g); g 362 lib/widget/group.c if (g->widgets == NULL) g 365 lib/widget/group.c if (g->current == NULL) g 366 lib/widget/group.c g->current = g->widgets; g 375 lib/widget/group.c g_list_foreach (g->widgets, group_widget_set_position, &wss); g 381 lib/widget/group.c group_default_resize (WGroup * g, WRect * r) g 389 lib/widget/group.c Widget *w = WIDGET (g); g 398 lib/widget/group.c group_set_position (g, &r0); g 404 lib/widget/group.c group_draw (WGroup * g) g 406 lib/widget/group.c Widget *wg = WIDGET (g); g 413 lib/widget/group.c if (g->winch_pending) g 415 lib/widget/group.c g->winch_pending = FALSE; g 419 lib/widget/group.c for (p = g->widgets; p != NULL; p = g_list_next (p)) g 429 lib/widget/group.c group_handle_key (WGroup * g, int key) g 434 lib/widget/group.c handled = send_message (g, NULL, MSG_HOTKEY, key, NULL); g 438 lib/widget/group.c handled = send_message (g->current->data, NULL, MSG_KEY, key, NULL); g 442 lib/widget/group.c handled = send_message (g, g->current->data, MSG_UNHANDLED_KEY, key, NULL); g 450 lib/widget/group.c group_handle_hotkey (WGroup * g, int key) g 457 lib/widget/group.c if (g->widgets == NULL) g 460 lib/widget/group.c if (g->current == NULL) g 461 lib/widget/group.c g->current = g->widgets; g 463 lib/widget/group.c w = WIDGET (g->current->data); g 489 lib/widget/group.c current = group_get_widget_next_of (g->current); g 492 lib/widget/group.c while (g->current != current && handled == MSG_NOT_HANDLED) g 507 lib/widget/group.c send_message (g, w, MSG_HOTKEY_HANDLED, 0, NULL); g 530 lib/widget/group.c group_init (WGroup * g, int y1, int x1, int lines, int cols, widget_cb_fn callback, g 533 lib/widget/group.c Widget *w = WIDGET (g); g 546 lib/widget/group.c g->mouse_status = MOU_UNHANDLED; g 554 lib/widget/group.c WGroup *g = GROUP (w); g 559 lib/widget/group.c g_list_foreach (g->widgets, group_widget_init, NULL); g 563 lib/widget/group.c group_draw (g); g 567 lib/widget/group.c return group_handle_key (g, parm); g 570 lib/widget/group.c return group_handle_hotkey (g, parm); g 573 lib/widget/group.c return group_update_cursor (g); g 576 lib/widget/group.c group_default_resize (g, RECT (data)); g 580 lib/widget/group.c g_list_foreach (g->widgets, (GFunc) widget_destroy, NULL); g 581 lib/widget/group.c g_list_free (g->widgets); g 604 lib/widget/group.c WGroup *g = GROUP (w); g 614 lib/widget/group.c g_list_foreach (g->widgets, group_widget_set_state, &st); g 621 lib/widget/group.c if (g->current != NULL) g 622 lib/widget/group.c widget_set_state (WIDGET (g->current->data), WST_FOCUSED, enable); g 626 lib/widget/group.c g_list_foreach (g->widgets, group_widget_set_state, &st); g 645 lib/widget/group.c WGroup *g = GROUP (w); g 647 lib/widget/group.c if (g->widgets != NULL) g 652 lib/widget/group.c p = g_list_last (g->widgets); g 690 lib/widget/group.c group_add_widget_autopos (WGroup * g, void *w, widget_pos_flags_t pos_flags, const void *before) g 692 lib/widget/group.c Widget *wg = WIDGET (g); g 707 lib/widget/group.c ww->owner = g; g 710 lib/widget/group.c if (g->widgets == NULL || before == NULL) g 712 lib/widget/group.c g->widgets = g_list_append (g->widgets, ww); g 713 lib/widget/group.c new_current = g_list_last (g->widgets); g 719 lib/widget/group.c b = g_list_find (g->widgets, before); g 725 lib/widget/group.c g->widgets = g_list_insert_before (g->widgets, b, ww); g 729 lib/widget/group.c new_current = g_list_last (g->widgets); g 739 lib/widget/group.c g->current = new_current; g 754 lib/widget/group.c WGroup *g; g 760 lib/widget/group.c g = WIDGET (w)->owner; g 762 lib/widget/group.c d = g_list_find (g->widgets, w); g 763 lib/widget/group.c if (d == g->current) g 764 lib/widget/group.c group_set_current_widget_next (g); g 766 lib/widget/group.c g->widgets = g_list_delete_link (g->widgets, d); g 767 lib/widget/group.c if (g->widgets == NULL) g 768 lib/widget/group.c g->current = NULL; g 771 lib/widget/group.c if (widget_get_state (WIDGET (g), WST_ACTIVE)) g 773 lib/widget/group.c group_draw (g); g 774 lib/widget/group.c group_select_current_widget (g); g 789 lib/widget/group.c group_set_current_widget_next (WGroup * g) g 791 lib/widget/group.c g->current = group_get_next_or_prev_of (g->current, TRUE); g 802 lib/widget/group.c group_set_current_widget_prev (WGroup * g) g 804 lib/widget/group.c g->current = group_get_next_or_prev_of (g->current, FALSE); g 845 lib/widget/group.c group_select_next_widget (WGroup * g) g 847 lib/widget/group.c group_select_next_or_prev (g, TRUE); g 858 lib/widget/group.c group_select_prev_widget (WGroup * g) g 860 lib/widget/group.c group_select_next_or_prev (g, FALSE); g 872 lib/widget/group.c group_select_widget_by_id (const WGroup * g, unsigned long id) g 876 lib/widget/group.c w = widget_find_by_id (CONST_WIDGET (g), id); g 890 lib/widget/group.c group_send_broadcast_msg (WGroup * g, widget_msg_t msg) g 892 lib/widget/group.c group_send_broadcast_msg_custom (g, msg, FALSE, WOP_DEFAULT); g 41 lib/widget/group.h void group_init (WGroup * g, int y1, int x1, int lines, int cols, widget_cb_fn callback, g 49 lib/widget/group.h unsigned long group_add_widget_autopos (WGroup * g, void *w, widget_pos_flags_t pos_flags, g 53 lib/widget/group.h void group_set_current_widget_next (WGroup * g); g 54 lib/widget/group.h void group_set_current_widget_prev (WGroup * g); g 59 lib/widget/group.h void group_select_next_widget (WGroup * g); g 60 lib/widget/group.h void group_select_prev_widget (WGroup * g); g 62 lib/widget/group.h void group_select_widget_by_id (const WGroup * g, unsigned long id); g 64 lib/widget/group.h void group_send_broadcast_msg (WGroup * g, widget_msg_t message); g 80 lib/widget/group.h group_add_widget (WGroup * g, void *w) g 82 lib/widget/group.h return group_add_widget_autopos (g, w, WPOS_KEEP_DEFAULT, g 83 lib/widget/group.h g->current != NULL ? g->current->data : NULL); g 98 lib/widget/group.h group_add_widget_before (WGroup * g, void *w, void *before) g 100 lib/widget/group.h return group_add_widget_autopos (g, w, WPOS_KEEP_DEFAULT, before); g 111 lib/widget/group.h group_select_current_widget (WGroup * g) g 113 lib/widget/group.h if (g->current != NULL) g 114 lib/widget/group.h widget_select (WIDGET (g->current->data)); g 120 lib/widget/group.h group_get_current_widget_id (const WGroup * g) g 122 lib/widget/group.h return WIDGET (g->current->data)->id; g 58 lib/widget/groupbox.c WGroupbox *g = GROUPBOX (w); g 73 lib/widget/groupbox.c if (g->title != NULL) g 77 lib/widget/groupbox.c tty_print_string (g->title); g 83 lib/widget/groupbox.c g_free (g->title); g 98 lib/widget/groupbox.c WGroupbox *g; g 101 lib/widget/groupbox.c g = g_new (WGroupbox, 1); g 102 lib/widget/groupbox.c w = WIDGET (g); g 105 lib/widget/groupbox.c g->title = NULL; g 106 lib/widget/groupbox.c groupbox_set_title (g, title); g 108 lib/widget/groupbox.c return g; g 114 lib/widget/groupbox.c groupbox_set_title (WGroupbox * g, const char *title) g 116 lib/widget/groupbox.c MC_PTR_FREE (g->title); g 124 lib/widget/groupbox.c g->title = g_strconcat (" ", t, " ", (char *) NULL); g 128 lib/widget/groupbox.c widget_draw (WIDGET (g)); g 28 lib/widget/groupbox.h void groupbox_set_title (WGroupbox * g, const char *title); g 1020 lib/widget/input_complete.c WGroup *g = GROUP (w); g 1059 lib/widget/input_complete.c for (i = 0, e = listbox_get_first_link (LISTBOX (g->current->data)); g 1066 lib/widget/input_complete.c listbox_select_entry (LISTBOX (g->current->data), i); g 1069 lib/widget/input_complete.c widget_draw (WIDGET (g->current->data)); g 1113 lib/widget/input_complete.c for (i = 0, e = listbox_get_first_link (LISTBOX (g->current->data)); g 1124 lib/widget/input_complete.c listbox_select_entry (LISTBOX (g->current->data), i); g 1175 lib/widget/input_complete.c widget_draw (WIDGET (g->current->data)); g 263 lib/widget/menu.c Widget *g; g 272 lib/widget/menu.c g = WIDGET (WIDGET (menubar)->owner); g 273 lib/widget/menu.c GROUP (g)->current = widget_find (g, widget_find_by_id (g, menubar->previous_widget)); g 280 lib/widget/menu.c GROUP (g)->current = widget_find (g, WIDGET (menubar)); g 183 lib/widget/quick.c WGroupbox *g = NULL; g 211 lib/widget/quick.c if (g != NULL) g 228 lib/widget/quick.c if (g != NULL) g 250 lib/widget/quick.c if (g != NULL) g 263 lib/widget/quick.c if (g != NULL) g 289 lib/widget/quick.c if (g != NULL) g 301 lib/widget/quick.c g = groupbox_new (++y, x, 1, len + 4, quick_widget->u.groupbox.title); g 302 lib/widget/quick.c item.widget = WIDGET (g); g 308 lib/widget/quick.c if (g != NULL) g 310 lib/widget/quick.c Widget *w = WIDGET (g); g 314 lib/widget/quick.c g = NULL; g 419 lib/widget/quick.c g = NULL; g 449 lib/widget/quick.c if (g != NULL) g 458 lib/widget/quick.c if (g != NULL) g 473 lib/widget/quick.c if (g != NULL) g 487 lib/widget/quick.c if (g != NULL) g 496 lib/widget/quick.c if (g != NULL) g 509 lib/widget/quick.c g = GROUPBOX (item->widget); g 516 lib/widget/quick.c g = NULL; g 522 lib/widget/quick.c if (g != NULL) g 524 lib/widget/quick.c Widget *wg = WIDGET (g); g 115 lib/widget/widget-common.c WGroup *g = w->owner; g 117 lib/widget/widget-common.c if (g == NULL) g 120 lib/widget/widget-common.c if (WIDGET (g->current->data) != w) g 122 lib/widget/widget-common.c widget_do_focus (WIDGET (g->current->data), FALSE); g 124 lib/widget/widget-common.c if (g->current == NULL || !widget_get_state (WIDGET (g->current->data), WST_FOCUSED)) g 127 lib/widget/widget-common.c g->current = widget_find (WIDGET (g), w); g 142 lib/widget/widget-common.c WGroup *g = WIDGET (l->data)->owner; g 144 lib/widget/widget-common.c g->widgets = g_list_remove_link (g->widgets, l); g 146 lib/widget/widget-common.c g->widgets = g_list_concat (g->widgets, l); g 148 lib/widget/widget-common.c g->widgets = g_list_concat (l, g->widgets); g 523 lib/widget/widget-common.c WGroup *g = w->owner; g 525 lib/widget/widget-common.c if (g != NULL && widget_get_state (WIDGET (g), WST_ACTIVE)) g 543 lib/widget/widget-common.c WGroup *g = old_w->owner; g 547 lib/widget/widget-common.c if (g->widgets == NULL) g 550 lib/widget/widget-common.c if (g->current == NULL) g 551 lib/widget/widget-common.c g->current = g->widgets; g 554 lib/widget/widget-common.c if (old_w == g->current->data) g 555 lib/widget/widget-common.c holder = g->current; g 557 lib/widget/widget-common.c holder = g_list_find (g->widgets, old_w); g 581 lib/widget/widget-common.c new_w->owner = g; g 607 lib/widget/widget-common.c WGroup *g; g 612 lib/widget/widget-common.c g = GROUP (w->owner); g 613 lib/widget/widget-common.c if (g != NULL) g 619 lib/widget/widget-common.c l = widget_find (WIDGET (g), w); g 277 lib/widget/wtools.c WGroup *g; g 313 lib/widget/wtools.c g = GROUP (query_dlg); g 319 lib/widget/wtools.c group_add_widget_autopos (g, label_new (2, 3, text), WPOS_KEEP_TOP | WPOS_CENTER_HORZ, g 321 lib/widget/wtools.c group_add_widget (g, hline_new (lines - 4, -1, -1)); g 336 lib/widget/wtools.c group_add_widget (g, button); g 363 lib/widget/wtools.c group_add_widget_autopos (g, label_new (2, 3, text), WPOS_KEEP_TOP | WPOS_CENTER_HORZ, g 365 lib/widget/wtools.c group_add_widget (g, button_new (0, 0, 0, HIDDEN_BUTTON, "-", NULL)); g 3444 src/diffviewer/ydiff.c WGroup *g; g 3453 src/diffviewer/ydiff.c g = GROUP (dview_dlg); g 3460 src/diffviewer/ydiff.c group_add_widget_autopos (g, w, WPOS_KEEP_ALL, NULL); g 3463 src/diffviewer/ydiff.c group_add_widget_autopos (g, w, w->pos_flags, NULL); g 2334 src/editor/editcmd.c WGroup *g = w->owner; g 2342 src/editor/editcmd.c if (edit_widget_is_editor (CONST_WIDGET (g->current->data))) g 2343 src/editor/editcmd.c edit = (WEdit *) (g->current->data); g 2346 src/editor/editcmd.c edit = find_editor (DIALOG (g)); g 314 src/editor/editcmd_dialogs.c WGroup *g; g 323 src/editor/editcmd_dialogs.c g = GROUP (raw_dlg); g 326 src/editor/editcmd_dialogs.c group_add_widget (g, label_new (y, 3, query)); g 327 src/editor/editcmd_dialogs.c group_add_widget (g, g 332 src/editor/editcmd_dialogs.c group_add_widget (g, hline_new (y++, -1, -1)); g 334 src/editor/editcmd_dialogs.c group_add_widget_autopos (g, button_new (y, 1, B_CANCEL, NORMAL_BUTTON, _("Cancel"), NULL), g 298 src/editor/editwidget.c const WGroup *g = CONST_GROUP (h); g 300 src/editor/editwidget.c const size_t dlg_num = g_list_length (g->widgets) - offset; g 312 src/editor/editwidget.c for (w = g->widgets; w != NULL; w = g_list_next (w)) g 330 src/editor/editwidget.c selected = run_listbox_with_data (listbox, g->current->data); g 384 src/editor/editwidget.c WGroup *g = GROUP (h); g 407 src/editor/editwidget.c if (edit_widget_is_editor (CONST_WIDGET (g->current->data)) && g 408 src/editor/editwidget.c edit_close_cmd ((WEdit *) g->current->data) && find_editor (h) == NULL) g 422 src/editor/editwidget.c Widget *w = WIDGET (g->current->data); g 456 src/editor/editwidget.c if (edit_widget_is_editor (CONST_WIDGET (g->current->data))) g 457 src/editor/editwidget.c edit_handle_move_resize ((WEdit *) g->current->data, command); g 463 src/editor/editwidget.c group_select_next_widget (g); g 466 src/editor/editwidget.c group_select_prev_widget (g); g 748 src/editor/editwidget.c WGroup *g = GROUP (w); g 773 src/editor/editwidget.c result = send_message (g->current->data, NULL, MSG_ACTION, parm, NULL); g 780 src/editor/editwidget.c Widget *we = WIDGET (g->current->data); g 831 src/editor/editwidget.c return send_message (g->current->data, NULL, MSG_IDLE, 0, NULL); g 854 src/editor/editwidget.c WGroup *g = GROUP (w); g 869 src/editor/editwidget.c for (l = g->widgets; l != NULL; l = g_list_next (l)) g 881 src/editor/editwidget.c if (top != g->current) g 1210 src/editor/editwidget.c WGroup *g; g 1245 src/editor/editwidget.c g = GROUP (edit_dlg); g 1250 src/editor/editwidget.c group_add_widget (g, edit_dlg->bg); g 1254 src/editor/editwidget.c group_add_widget_autopos (g, w, w->pos_flags, NULL); g 1258 src/editor/editwidget.c group_add_widget_autopos (g, w, w->pos_flags, NULL); g 1293 src/editor/editwidget.c const WGroup *g = CONST_GROUP (h); g 1295 src/editor/editwidget.c if (edit_widget_is_editor (CONST_WIDGET (g->current->data))) g 1296 src/editor/editwidget.c return (WEdit *) g->current->data; g 75 src/editor/spell_dialogs.c WGroup *g; g 115 src/editor/spell_dialogs.c g = GROUP (sug_dlg); g 117 src/editor/spell_dialogs.c group_add_widget (g, label_new (1, 2, lang_label)); g 118 src/editor/spell_dialogs.c group_add_widget (g, label_new (3, 2, word_label)); g 120 src/editor/spell_dialogs.c group_add_widget (g, groupbox_new (4, 2, sug_dlg_h - 5, 25, _("Suggest"))); g 126 src/editor/spell_dialogs.c group_add_widget (g, sug_list); g 128 src/editor/spell_dialogs.c group_add_widget (g, add_btn); g 129 src/editor/spell_dialogs.c group_add_widget (g, replace_btn); g 130 src/editor/spell_dialogs.c group_add_widget (g, skip_btn); g 131 src/editor/spell_dialogs.c group_add_widget (g, cancel_button); g 924 src/editor/syntax.c FILE *g = NULL; g 960 src/editor/syntax.c if (g == NULL) g 964 src/editor/syntax.c f = g; g 965 src/editor/syntax.c g = NULL; g 983 src/editor/syntax.c if (g != NULL || argc != 2) g 988 src/editor/syntax.c g = f; g 1259 src/editor/syntax.c FILE *f, *g = NULL; g 1290 src/editor/syntax.c if (args[1] == NULL || (g = open_include_file (args[1])) == NULL) g 1341 src/editor/syntax.c line_error = edit_read_syntax_rules (edit, g ? g : f, args, ARGS_LEN - 1); g 1354 src/editor/syntax.c if (g == NULL && edit->rules->len == 1) g 1367 src/editor/syntax.c if (g == NULL) g 1370 src/editor/syntax.c fclose (g); g 1371 src/editor/syntax.c g = NULL; g 316 src/filemanager/achown.c update_mode (WGroup * g) g 318 src/filemanager/achown.c print_flags (DIALOG (g)); g 320 src/filemanager/achown.c widget_set_state (WIDGET (g->current->data), WST_FOCUSED, TRUE); g 329 src/filemanager/achown.c WGroup *g = w->owner; g 362 src/filemanager/achown.c update_mode (g); g 365 src/filemanager/achown.c group_select_next_widget (g); g 423 src/filemanager/achown.c update_mode (g); g 526 src/filemanager/achown.c WGroup *g = w->owner; g 527 src/filemanager/achown.c WDialog *h = DIALOG (g); g 618 src/filemanager/achown.c group_select_current_widget (g); g 623 src/filemanager/achown.c group_select_current_widget (g); g 632 src/filemanager/achown.c group_select_prev_widget (g); g 639 src/filemanager/achown.c group_select_next_widget (g); g 675 src/filemanager/achown.c WGroup *g = GROUP (w); g 696 src/filemanager/achown.c update_mode (g); g 713 src/filemanager/achown.c update_mode (g); g 844 src/filemanager/achown.c try_advanced_chown (const vfs_path_t * p, mode_t m, uid_t u, gid_t g) g 886 src/filemanager/achown.c while (chmod_result != -1 && mc_chown (p, u, g) == -1 && !ignore_all) g 927 src/filemanager/achown.c do_advanced_chown (WPanel * panel, const vfs_path_t * p, mode_t m, uid_t u, gid_t g) g 931 src/filemanager/achown.c ret = try_advanced_chown (p, m, u, g); g 1069 src/filemanager/boxes.c WGroup *g; g 1079 src/filemanager/boxes.c g = GROUP (dlg); g 1083 src/filemanager/boxes.c group_add_widget_autopos (g, mytree, WPOS_KEEP_ALL, NULL); g 1084 src/filemanager/boxes.c group_add_widget_autopos (g, hline_new (wd->lines - 4, 1, -1), WPOS_KEEP_BOTTOM, NULL); g 1086 src/filemanager/boxes.c group_add_widget (g, bar); g 1279 src/filemanager/boxes.c WGroup *g; g 1301 src/filemanager/boxes.c g = GROUP (jobs_dlg); g 1305 src/filemanager/boxes.c group_add_widget (g, bg_list); g 1307 src/filemanager/boxes.c group_add_widget (g, hline_new (lines - 4, -1, -1)); g 1312 src/filemanager/boxes.c group_add_widget (g, button_new (lines - 3, x, job_but[i].value, job_but[i].flags, g 562 src/filemanager/chattr.c WGroup *g = GROUP (cb); g 570 src/filemanager/chattr.c l = g_list_last (g->widgets); g 586 src/filemanager/chattr.c l = g_list_last (g->widgets); g 592 src/filemanager/chattr.c l = g_list_nth (g->widgets, cb->pos - cb->top); g 658 src/filemanager/chattr.c WGroup *g = GROUP (cb); g 666 src/filemanager/chattr.c l = g_list_first (g->widgets); g 680 src/filemanager/chattr.c l = g_list_first (g->widgets); g 686 src/filemanager/chattr.c l = g_list_nth (g->widgets, cb->pos - cb->top); g 773 src/filemanager/chattr.c WGroup *g = GROUP (w); g 786 src/filemanager/chattr.c i = g_list_index (g->widgets, sender); g 808 src/filemanager/chattr.c i = g_list_index (g->widgets, sender); g 247 src/filemanager/chmod.c WGroup *g = GROUP (w); g 280 src/filemanager/chmod.c id = group_get_current_widget_id (g); g 289 src/filemanager/chmod.c group_select_next_widget (g); g 307 src/filemanager/chmod.c WGroup *g; g 336 src/filemanager/chmod.c g = GROUP (ch_dlg); g 341 src/filemanager/chmod.c group_add_widget (g, groupbox_new (PY, PX, BUTTONS_PERM + 2, perm_gb_len, _("Permission"))); g 347 src/filemanager/chmod.c group_add_widget (g, check_perm[i].check); g 351 src/filemanager/chmod.c group_add_widget (g, file_gb); g 357 src/filemanager/chmod.c group_add_widget (g, label_new (y, cols, c_fname)); g 360 src/filemanager/chmod.c group_add_widget (g, statl); g 362 src/filemanager/chmod.c group_add_widget (g, label_new (y + 4, cols, c_fown)); g 364 src/filemanager/chmod.c group_add_widget (g, label_new (y + 6, cols, c_fgrp)); g 370 src/filemanager/chmod.c group_add_widget (g, hline_new (lines - chmod_but[i].y - 1, -1, -1)); g 375 src/filemanager/chmod.c group_add_widget (g, button_new (y, WIDGET (ch_dlg)->cols / 2 - chmod_but[i].len, g 379 src/filemanager/chmod.c group_add_widget (g, button_new (y, WIDGET (ch_dlg)->cols / 2 + 1, g 387 src/filemanager/chmod.c group_add_widget (g, hline_new (y - 1, -1, -1)); g 388 src/filemanager/chmod.c group_add_widget (g, button_new (y, WIDGET (ch_dlg)->cols / 2 - chmod_but[i].len, g 392 src/filemanager/chmod.c group_add_widget (g, button_new (y, WIDGET (ch_dlg)->cols / 2 + 1, chmod_but[i].ret_cmd, g 193 src/filemanager/chown.c WGroup *g; g 206 src/filemanager/chown.c g = GROUP (ch_dlg); g 211 src/filemanager/chown.c group_add_widget (g, groupbox_new (2, 3, GH, GW, _("User name"))); g 213 src/filemanager/chown.c group_add_widget (g, l_user); g 222 src/filemanager/chown.c group_add_widget (g, groupbox_new (2, 4 + GW, GH, GW, _("Group name"))); g 224 src/filemanager/chown.c group_add_widget (g, l_group); g 233 src/filemanager/chown.c group_add_widget (g, groupbox_new (2, 5 + GW * 2, GH, GW, _("File"))); g 238 src/filemanager/chown.c group_add_widget (g, chown_label[i].l); g 245 src/filemanager/chown.c group_add_widget (g, hline_new (lines - chown_but[0].y - 1, -1, -1)); g 252 src/filemanager/chown.c group_add_widget (g, button_new (y, x, chown_but[i].ret_cmd, chown_but[i].flags, g 260 src/filemanager/chown.c group_add_widget (g, hline_new (y - 1, -1, -1)); g 261 src/filemanager/chown.c group_add_widget (g, button_new (y, WIDGET (ch_dlg)->cols / 2 - chown_but[i].len, g 265 src/filemanager/chown.c group_add_widget (g, button_new (y, WIDGET (ch_dlg)->cols / 2 + 1, chown_but[i].ret_cmd, g 298 src/filemanager/chown.c try_chown (const vfs_path_t * p, uid_t u, gid_t g) g 300 src/filemanager/chown.c while (mc_chown (p, u, g) == -1 && !ignore_all) g 342 src/filemanager/chown.c do_chown (WPanel * panel, const vfs_path_t * p, uid_t u, gid_t g) g 346 src/filemanager/chown.c ret = try_chown (p, u, g); g 356 src/filemanager/chown.c apply_chowns (WPanel * panel, vfs_path_t * vpath, uid_t u, gid_t g) g 360 src/filemanager/chown.c if (!do_chown (panel, vpath, u, g)) g 382 src/filemanager/chown.c ok = do_chown (panel, vpath, u, g); g 413 src/filemanager/filegui.c group_add_widget_autopos (g, W(i), dlg_widgets[i].pos_flags, \ g 414 src/filemanager/filegui.c g->current != NULL ? g->current->data : NULL) g 421 src/filemanager/filegui.c group_add_widget_autopos (g, W(i), dlg_widgets[i].pos_flags, g->current->data) g 490 src/filemanager/filegui.c WGroup *g; g 640 src/filemanager/filegui.c g = GROUP (ui->replace_dlg); g 645 src/filemanager/filegui.c group_add_widget (g, hline_new (W (7)->y - wd->y + 1, -1, -1)); g 655 src/filemanager/filegui.c group_add_widget (g, hline_new (W (10)->y - wd->y + 1, -1, -1)); g 659 src/filemanager/filegui.c group_add_widget (g, dlg_widgets[14].widget); g 662 src/filemanager/filegui.c group_add_widget (g, hline_new (W (19)->y - wd->y + 1, -1, -1)); g 666 src/filemanager/filegui.c group_select_widget_by_id (g, safe_overwrite ? no_id : yes_id); g 803 src/filemanager/filegui.c WGroup *g; g 832 src/filemanager/filegui.c g = GROUP (ui->op_dlg); g 840 src/filemanager/filegui.c group_add_widget (g, ui->src_file_label); g 843 src/filemanager/filegui.c group_add_widget (g, ui->src_file); g 846 src/filemanager/filegui.c group_add_widget (g, ui->tgt_file_label); g 849 src/filemanager/filegui.c group_add_widget (g, ui->tgt_file); g 854 src/filemanager/filegui.c group_add_widget_autopos (g, ui->progress_file_gauge, WPOS_KEEP_TOP | WPOS_KEEP_HORZ, NULL); g 857 src/filemanager/filegui.c group_add_widget (g, ui->progress_file_label); g 862 src/filemanager/filegui.c group_add_widget (g, ui->total_bytes_label); g 870 src/filemanager/filegui.c group_add_widget_autopos (g, ui->progress_total_gauge, g 875 src/filemanager/filegui.c group_add_widget (g, ui->total_files_processed_label); g 878 src/filemanager/filegui.c group_add_widget (g, ui->time_label); g 884 src/filemanager/filegui.c group_add_widget (g, ui->src_file); g 887 src/filemanager/filegui.c group_add_widget (g, ui->total_files_processed_label); g 890 src/filemanager/filegui.c group_add_widget (g, hline_new (y++, -1, -1)); g 922 src/filemanager/filegui.c group_add_widget (g, progress_buttons[0].w); g 923 src/filemanager/filegui.c group_add_widget (g, progress_buttons[1].w); g 924 src/filemanager/filegui.c group_add_widget (g, progress_buttons[3].w); g 910 src/filemanager/filemanager.c WGroup *g = GROUP (midnight_dlg); g 921 src/filemanager/filemanager.c group_add_widget (g, the_menubar); g 925 src/filemanager/filemanager.c group_add_widget (g, get_panel_widget (0)); g 926 src/filemanager/filemanager.c group_add_widget (g, get_panel_widget (1)); g 932 src/filemanager/filemanager.c group_add_widget (g, the_hint); g 935 src/filemanager/filemanager.c group_add_widget (g, cmdline); g 939 src/filemanager/filemanager.c group_add_widget (g, the_prompt); g 942 src/filemanager/filemanager.c group_add_widget (g, the_bar); g 568 src/filemanager/find.c WGroup *g; g 679 src/filemanager/find.c g = GROUP (find_dlg); g 686 src/filemanager/find.c group_add_widget (g, label_new (y1++, x1, _("Start at:"))); g 690 src/filemanager/find.c group_add_widget (g, in_start); g 692 src/filemanager/find.c group_add_widget (g, button_new (y1++, cols - b0 - 3, B_TREE, NORMAL_BUTTON, buts[0], NULL)); g 696 src/filemanager/find.c group_add_widget (g, ignore_dirs_cbox); g 702 src/filemanager/find.c group_add_widget (g, in_ignore); g 704 src/filemanager/find.c group_add_widget (g, hline_new (y1++, -1, -1)); g 709 src/filemanager/find.c group_add_widget (g, label_new (y1++, x1, file_name_label)); g 713 src/filemanager/find.c group_add_widget (g, in_name); g 717 src/filemanager/find.c group_add_widget (g, content_label); g 722 src/filemanager/find.c group_add_widget (g, in_with); g 726 src/filemanager/find.c group_add_widget (g, recursively_cbox); g 729 src/filemanager/find.c group_add_widget (g, follow_sym_cbox); g 732 src/filemanager/find.c group_add_widget (g, file_pattern_cbox); g 735 src/filemanager/find.c group_add_widget (g, file_case_sens_cbox); g 740 src/filemanager/find.c group_add_widget (g, file_all_charsets_cbox); g 744 src/filemanager/find.c group_add_widget (g, skip_hidden_cbox); g 749 src/filemanager/find.c group_add_widget (g, content_whole_words_cbox); g 752 src/filemanager/find.c group_add_widget (g, content_regexp_cbox); g 755 src/filemanager/find.c group_add_widget (g, content_case_sens_cbox); g 760 src/filemanager/find.c group_add_widget (g, content_all_charsets_cbox); g 765 src/filemanager/find.c group_add_widget (g, content_first_hit_cbox); g 770 src/filemanager/find.c group_add_widget (g, hline_new (y1++, -1, -1)); g 771 src/filemanager/find.c group_add_widget (g, button_new (y1, x1, B_ENTER, DEFPUSH_BUTTON, buts[1], NULL)); g 772 src/filemanager/find.c group_add_widget (g, button_new (y1, x1 + b1 + 1, B_CANCEL, NORMAL_BUTTON, buts[2], NULL)); g 1651 src/filemanager/find.c WGroup *g; g 1679 src/filemanager/find.c g = GROUP (find_dlg); g 1685 src/filemanager/find.c group_add_widget_autopos (g, find_list, WPOS_KEEP_ALL, NULL); g 1688 src/filemanager/find.c group_add_widget_autopos (g, hline_new (y++, -1, -1), WPOS_KEEP_BOTTOM, NULL); g 1691 src/filemanager/find.c group_add_widget_autopos (g, found_num_label, WPOS_KEEP_BOTTOM, NULL); g 1694 src/filemanager/find.c group_add_widget_autopos (g, status_label, WPOS_KEEP_BOTTOM, NULL); g 1696 src/filemanager/find.c group_add_widget_autopos (g, hline_new (y++, -1, -1), WPOS_KEEP_BOTTOM, NULL); g 1708 src/filemanager/find.c group_add_widget_autopos (g, fbuts[i].button, WPOS_KEEP_BOTTOM, NULL); g 758 src/filemanager/hotlist.c WGroup *g; g 784 src/filemanager/hotlist.c g = GROUP (hotlist_dlg); g 789 src/filemanager/hotlist.c group_add_widget_autopos (g, hotlist_widget, WPOS_KEEP_ALL, NULL); g 808 src/filemanager/hotlist.c group_add_widget_autopos (g, l_hotlist, WPOS_KEEP_ALL, NULL); g 813 src/filemanager/hotlist.c group_add_widget_autopos (g, path_box, WPOS_KEEP_BOTTOM | WPOS_KEEP_HORZ, NULL); g 816 src/filemanager/hotlist.c group_add_widget_autopos (g, pname, WPOS_KEEP_BOTTOM | WPOS_KEEP_LEFT, NULL); g 819 src/filemanager/hotlist.c group_add_widget_autopos (g, hline_new (y++, -1, -1), WPOS_KEEP_BOTTOM, NULL); g 823 src/filemanager/hotlist.c group_add_widget_autopos (g, g 841 src/filemanager/hotlist.c WGroup *g; g 854 src/filemanager/hotlist.c g = GROUP (movelist_dlg); g 861 src/filemanager/hotlist.c group_add_widget_autopos (g, movelist_widget, WPOS_KEEP_ALL, NULL); g 868 src/filemanager/hotlist.c group_add_widget_autopos (g, l_movelist, WPOS_KEEP_ALL, NULL); g 872 src/filemanager/hotlist.c group_add_widget_autopos (g, hline_new (y++, -1, -1), WPOS_KEEP_BOTTOM, NULL); g 876 src/filemanager/hotlist.c group_add_widget_autopos (g, g 494 src/filemanager/layout.c WGroup *g; g 561 src/filemanager/layout.c g = GROUP (layout_dlg); g 569 src/filemanager/layout.c group_add_widget (g, groupbox_new (2, 3, 6, l1, title1)); g 573 src/filemanager/layout.c group_add_widget (g, radio_widget); g 576 src/filemanager/layout.c group_add_widget (g, check_options[0].widget); g 583 src/filemanager/layout.c group_add_widget (g, bleft_widget); g 587 src/filemanager/layout.c group_add_widget (g, bright_widget); g 598 src/filemanager/layout.c group_add_widget (g, w); g 603 src/filemanager/layout.c group_add_widget (g, w); g 608 src/filemanager/layout.c group_add_widget (g, w); g 612 src/filemanager/layout.c group_add_widget (g, groupbox_new (2, 4 + l1, 9, l1, title3)); g 617 src/filemanager/layout.c group_add_widget (g, check_options[i].widget); g 622 src/filemanager/layout.c group_add_widget (g, hline_new (11, -1, -1)); g 624 src/filemanager/layout.c group_add_widget (g, button_new (12, (width - b) / 2, B_ENTER, DEFPUSH_BUTTON, ok_button, 0)); g 625 src/filemanager/layout.c group_add_widget (g, g 147 src/filemanager/panelize.c WGroup *g; g 177 src/filemanager/panelize.c g = GROUP (panelize_dlg); g 181 src/filemanager/panelize.c group_add_widget (g, groupbox_new (y++, UX, 12, panelize_cols - UX * 2, "")); g 187 src/filemanager/panelize.c group_add_widget (g, l_panelize); g 190 src/filemanager/panelize.c group_add_widget (g, label_new (y++, UX, _("Command"))); g 196 src/filemanager/panelize.c group_add_widget (g, pname); g 198 src/filemanager/panelize.c group_add_widget (g, hline_new (y++, -1, -1)); g 207 src/filemanager/panelize.c group_add_widget (g, b); g 1084 src/help.c WGroup *g; g 1140 src/help.c g = GROUP (whelp); g 1162 src/help.c group_add_widget (g, md); g 1163 src/help.c group_add_widget (g, help_bar); g 250 src/learn.c WGroup *g; g 281 src/learn.c g = GROUP (learn_dlg); g 314 src/learn.c group_add_widget (g, learnkeys[i].button); g 315 src/learn.c group_add_widget (g, learnkeys[i].label); g 325 src/learn.c group_add_widget (g, hline_new (dlg_height - 8, -1, -1)); g 326 src/learn.c group_add_widget (g, label_new (dlg_height - 7, 5, g 331 src/learn.c group_add_widget (g, hline_new (dlg_height - 4, -1, -1)); g 337 src/learn.c group_add_widget (g, button_new (dlg_height - 3, bx0, B_ENTER, DEFPUSH_BUTTON, b0, NULL)); g 338 src/learn.c group_add_widget (g, button_new (dlg_height - 3, bx1, B_CANCEL, NORMAL_BUTTON, b1, NULL)); g 1550 src/vfs/smbfs/helpers/include/smb.h #define SMB_ROUNDUP(x,g) (((x)+((g)-1))&~((g)-1)) g 240 src/viewer/mcviewer.c WGroup *g; g 248 src/viewer/mcviewer.c g = GROUP (view_dlg); g 251 src/viewer/mcviewer.c group_add_widget_autopos (g, lc_mcview, WPOS_KEEP_ALL, NULL); g 254 src/viewer/mcviewer.c group_add_widget_autopos (g, b, b->pos_flags, NULL); g 86 tests/lib/widget/group_init_destroy.c WGroup *g, *g0; g 89 tests/lib/widget/group_init_destroy.c g = g_new0 (WGroup, 1); g 90 tests/lib/widget/group_init_destroy.c group_init (g, 0, 0, 20, 20, group_callback, NULL); g 94 tests/lib/widget/group_init_destroy.c group_add_widget (g, g0); g 106 tests/lib/widget/group_init_destroy.c group_add_widget (g, g0); g 118 tests/lib/widget/group_init_destroy.c group_add_widget (g, w0); g 122 tests/lib/widget/group_init_destroy.c send_message (g, NULL, MSG_INIT, 0, NULL); g 126 tests/lib/widget/group_init_destroy.c widget_destroy (WIDGET (g)); g 42 tests/lib/widget/widget_find_by_id.c WGroup *g, *g0; g 45 tests/lib/widget/widget_find_by_id.c g = g_new0 (WGroup, 1); g 46 tests/lib/widget/widget_find_by_id.c group_init (g, 0, 0, 20, 20, NULL, NULL); /* ID = 0 */ g 50 tests/lib/widget/widget_find_by_id.c group_add_widget (g, g0); g 62 tests/lib/widget/widget_find_by_id.c group_add_widget (g, g0); g 74 tests/lib/widget/widget_find_by_id.c group_add_widget (g, w0); g 76 tests/lib/widget/widget_find_by_id.c w0 = WIDGET (g); g 88 tests/lib/widget/widget_find_by_id.c send_message (g, NULL, MSG_INIT, 0, NULL);