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 138 lib/widget/dialog.c WGroup *g = GROUP (h); g 157 lib/widget/dialog.c group_select_prev_widget (g); g 161 lib/widget/dialog.c group_select_next_widget (g); g 224 lib/widget/dialog.c WGroup *g = GROUP (h); g 227 lib/widget/dialog.c if (g->widgets == NULL) g 230 lib/widget/dialog.c if (g->current == NULL) g 231 lib/widget/dialog.c g->current = g->widgets; g 238 lib/widget/dialog.c group_select_next_widget (g); g 243 lib/widget/dialog.c group_select_prev_widget (g); g 406 lib/widget/dialog.c WGroup *g; g 410 lib/widget/dialog.c g = GROUP (new_d); g 412 lib/widget/dialog.c group_init (g, &r, callback != NULL ? callback : dlg_default_callback, g 419 lib/widget/dialog.c w->owner = g; g 440 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_is_focusable (g->current->data)) g 510 lib/widget/dialog.c group_set_current_widget_next (g); g 64 lib/widget/gauge.c WGauge *g = GAUGE (w); g 72 lib/widget/gauge.c if (!g->shown) g 81 lib/widget/gauge.c int total = g->max; g 82 lib/widget/gauge.c int done = g->current; g 102 lib/widget/gauge.c if (g->from_left_to_right) g 134 lib/widget/gauge.c WGauge *g; g 137 lib/widget/gauge.c g = g_new (WGauge, 1); g 138 lib/widget/gauge.c w = WIDGET (g); g 141 lib/widget/gauge.c g->shown = shown; g 144 lib/widget/gauge.c g->max = max; g 145 lib/widget/gauge.c g->current = current; g 146 lib/widget/gauge.c g->from_left_to_right = TRUE; g 148 lib/widget/gauge.c return g; g 154 lib/widget/gauge.c gauge_set_value (WGauge * g, int max, int current) g 156 lib/widget/gauge.c if (g->current == current && g->max == max) g 161 lib/widget/gauge.c g->current = current; g 162 lib/widget/gauge.c g->max = max; g 163 lib/widget/gauge.c widget_draw (WIDGET (g)); g 169 lib/widget/gauge.c gauge_show (WGauge * g, gboolean shown) g 171 lib/widget/gauge.c if (g->shown != shown) g 173 lib/widget/gauge.c g->shown = shown; g 174 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 113 lib/widget/group.c group_select_next_or_prev (WGroup * g, gboolean next) g 115 lib/widget/group.c if (g->widgets != NULL && g->current != NULL) g 117 lib/widget/group.c GList *l = g->current; g 123 lib/widget/group.c while (!widget_is_focusable (l->data) && l != g->current); g 151 lib/widget/group.c group_send_broadcast_msg_custom (WGroup * g, widget_msg_t msg, gboolean reverse, g 156 lib/widget/group.c if (g->widgets == NULL) g 159 lib/widget/group.c if (g->current == NULL) g 160 lib/widget/group.c g->current = g->widgets; g 162 lib/widget/group.c p = group_get_next_or_prev_of (g->current, !reverse); g 357 lib/widget/group.c group_update_cursor (WGroup * g) g 359 lib/widget/group.c GList *p = g->current; g 361 lib/widget/group.c if (p != NULL && widget_get_state (WIDGET (g), WST_ACTIVE)) g 375 lib/widget/group.c while (p != g->current); g 391 lib/widget/group.c const WRect *g = &CONST_WIDGET (c->owner)->rect; g 396 lib/widget/group.c r.x = g->x + (g->cols - c->rect.cols) / 2; g 408 lib/widget/group.c r.y = g->y + (g->lines - c->rect.lines) / 2; g 425 lib/widget/group.c group_set_position (WGroup * g, const WRect * r) g 427 lib/widget/group.c WRect *w = &WIDGET (g)->rect; g 435 lib/widget/group.c if (g->widgets == NULL) g 438 lib/widget/group.c if (g->current == NULL) g 439 lib/widget/group.c g->current = g->widgets; g 448 lib/widget/group.c g_list_foreach (g->widgets, group_widget_set_position, &wss); g 454 lib/widget/group.c group_default_resize (WGroup * g, WRect * r) g 462 lib/widget/group.c Widget *w = WIDGET (g); g 467 lib/widget/group.c group_set_position (g, &r0); g 473 lib/widget/group.c group_draw (WGroup * g) g 475 lib/widget/group.c Widget *wg = WIDGET (g); g 482 lib/widget/group.c if (g->winch_pending) g 484 lib/widget/group.c g->winch_pending = FALSE; g 488 lib/widget/group.c for (p = g->widgets; p != NULL; p = g_list_next (p)) g 498 lib/widget/group.c group_handle_key (WGroup * g, int key) g 503 lib/widget/group.c handled = send_message (g, NULL, MSG_HOTKEY, key, NULL); g 507 lib/widget/group.c handled = send_message (g->current->data, NULL, MSG_KEY, key, NULL); g 511 lib/widget/group.c handled = send_message (g, g->current->data, MSG_UNHANDLED_KEY, key, NULL); g 519 lib/widget/group.c group_handle_hotkey (WGroup * g, int key) g 526 lib/widget/group.c if (g->widgets == NULL) g 529 lib/widget/group.c if (g->current == NULL) g 530 lib/widget/group.c g->current = g->widgets; g 532 lib/widget/group.c w = WIDGET (g->current->data); g 558 lib/widget/group.c current = group_get_widget_next_of (g->current); g 561 lib/widget/group.c while (g->current != current && handled == MSG_NOT_HANDLED) g 576 lib/widget/group.c send_message (g, w, MSG_HOTKEY_HANDLED, 0, NULL); g 599 lib/widget/group.c group_init (WGroup * g, const WRect * r, widget_cb_fn callback, widget_mouse_cb_fn mouse_callback) g 601 lib/widget/group.c Widget *w = WIDGET (g); g 616 lib/widget/group.c g->mouse_status = MOU_UNHANDLED; g 624 lib/widget/group.c WGroup *g = GROUP (w); g 629 lib/widget/group.c g_list_foreach (g->widgets, group_widget_init, NULL); g 633 lib/widget/group.c group_draw (g); g 637 lib/widget/group.c return group_handle_key (g, parm); g 640 lib/widget/group.c return group_handle_hotkey (g, parm); g 643 lib/widget/group.c return group_update_cursor (g); g 646 lib/widget/group.c group_default_resize (g, RECT (data)); g 650 lib/widget/group.c g_list_foreach (g->widgets, (GFunc) widget_destroy, NULL); g 651 lib/widget/group.c g_list_free (g->widgets); g 652 lib/widget/group.c g->widgets = NULL; g 675 lib/widget/group.c WGroup *g = GROUP (w); g 685 lib/widget/group.c g_list_foreach (g->widgets, group_widget_set_state, &st); g 692 lib/widget/group.c if (g->current != NULL) g 693 lib/widget/group.c widget_set_state (WIDGET (g->current->data), WST_FOCUSED, enable); g 697 lib/widget/group.c g_list_foreach (g->widgets, group_widget_set_state, &st); g 716 lib/widget/group.c WGroup *g = GROUP (w); g 718 lib/widget/group.c if (g->widgets != NULL) g 723 lib/widget/group.c p = g_list_last (g->widgets); g 764 lib/widget/group.c group_add_widget_autopos (WGroup * g, void *w, widget_pos_flags_t pos_flags, const void *before) g 766 lib/widget/group.c Widget *wg = WIDGET (g); g 779 lib/widget/group.c ww->owner = g; g 783 lib/widget/group.c if (g->widgets == NULL || before == NULL) g 785 lib/widget/group.c g->widgets = g_list_append (g->widgets, ww); g 786 lib/widget/group.c new_current = g_list_last (g->widgets); g 792 lib/widget/group.c b = g_list_find (g->widgets, before); g 798 lib/widget/group.c g->widgets = g_list_insert_before (g->widgets, b, ww); g 802 lib/widget/group.c new_current = g_list_last (g->widgets); g 812 lib/widget/group.c g->current = new_current; g 828 lib/widget/group.c WGroup *g; g 834 lib/widget/group.c g = ww->owner; g 836 lib/widget/group.c d = g_list_find (g->widgets, ww); g 837 lib/widget/group.c if (d == g->current) g 838 lib/widget/group.c group_set_current_widget_next (g); g 840 lib/widget/group.c g->widgets = g_list_delete_link (g->widgets, d); g 841 lib/widget/group.c if (g->widgets == NULL) g 842 lib/widget/group.c g->current = NULL; g 845 lib/widget/group.c if (widget_get_state (WIDGET (g), WST_ACTIVE)) g 847 lib/widget/group.c group_draw (g); g 848 lib/widget/group.c group_select_current_widget (g); g 864 lib/widget/group.c group_set_current_widget_next (WGroup * g) g 866 lib/widget/group.c g->current = group_get_next_or_prev_of (g->current, TRUE); g 877 lib/widget/group.c group_set_current_widget_prev (WGroup * g) g 879 lib/widget/group.c g->current = group_get_next_or_prev_of (g->current, FALSE); g 920 lib/widget/group.c group_select_next_widget (WGroup * g) g 922 lib/widget/group.c group_select_next_or_prev (g, TRUE); g 933 lib/widget/group.c group_select_prev_widget (WGroup * g) g 935 lib/widget/group.c group_select_next_or_prev (g, FALSE); g 947 lib/widget/group.c group_select_widget_by_id (const WGroup * g, unsigned long id) g 951 lib/widget/group.c w = widget_find_by_id (CONST_WIDGET (g), id); g 965 lib/widget/group.c group_send_broadcast_msg (WGroup * g, widget_msg_t msg) g 967 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, const WRect * r, 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 62 lib/widget/groupbox.c WGroupbox *g = GROUPBOX (w); g 77 lib/widget/groupbox.c if (g->title != NULL) g 81 lib/widget/groupbox.c tty_print_string (g->title); g 87 lib/widget/groupbox.c g_free (g->title); g 103 lib/widget/groupbox.c WGroupbox *g; g 106 lib/widget/groupbox.c g = g_new (WGroupbox, 1); g 107 lib/widget/groupbox.c w = WIDGET (g); g 110 lib/widget/groupbox.c g->title = NULL; g 111 lib/widget/groupbox.c groupbox_set_title (g, title); g 113 lib/widget/groupbox.c return g; g 119 lib/widget/groupbox.c groupbox_set_title (WGroupbox * g, const char *title) g 121 lib/widget/groupbox.c MC_PTR_FREE (g->title); g 129 lib/widget/groupbox.c g->title = g_strconcat (" ", t, " ", (char *) NULL); g 133 lib/widget/groupbox.c widget_draw (WIDGET (g)); g 28 lib/widget/groupbox.h void groupbox_set_title (WGroupbox * g, const char *title); g 1034 lib/widget/input_complete.c WGroup *g = GROUP (w); g 1073 lib/widget/input_complete.c for (i = 0, e = listbox_get_first_link (LISTBOX (g->current->data)); g 1080 lib/widget/input_complete.c listbox_set_current (LISTBOX (g->current->data), i); g 1083 lib/widget/input_complete.c widget_draw (WIDGET (g->current->data)); g 1127 lib/widget/input_complete.c for (i = 0, e = listbox_get_first_link (LISTBOX (g->current->data)); g 1138 lib/widget/input_complete.c listbox_set_current (LISTBOX (g->current->data), i); g 1189 lib/widget/input_complete.c widget_draw (WIDGET (g->current->data)); g 267 lib/widget/menu.c Widget *g; g 276 lib/widget/menu.c g = WIDGET (WIDGET (menubar)->owner); g 277 lib/widget/menu.c GROUP (g)->current = widget_find (g, widget_find_by_id (g, menubar->previous_widget)); g 284 lib/widget/menu.c GROUP (g)->current = widget_find (g, WIDGET (menubar)); g 185 lib/widget/quick.c WGroupbox *g = NULL; g 213 lib/widget/quick.c if (g != NULL) g 230 lib/widget/quick.c if (g != NULL) g 252 lib/widget/quick.c if (g != NULL) g 265 lib/widget/quick.c if (g != NULL) g 291 lib/widget/quick.c if (g != NULL) g 303 lib/widget/quick.c g = groupbox_new (++y, x, 1, len + 4, quick_widget->u.groupbox.title); g 304 lib/widget/quick.c item.widget = WIDGET (g); g 310 lib/widget/quick.c if (g != NULL) g 312 lib/widget/quick.c Widget *w = WIDGET (g); g 316 lib/widget/quick.c g = NULL; g 421 lib/widget/quick.c g = NULL; g 453 lib/widget/quick.c if (g != NULL) g 462 lib/widget/quick.c if (g != NULL) g 477 lib/widget/quick.c if (g != NULL) g 491 lib/widget/quick.c if (g != NULL) g 500 lib/widget/quick.c if (g != NULL) g 513 lib/widget/quick.c g = GROUPBOX (item->widget); g 520 lib/widget/quick.c g = NULL; g 526 lib/widget/quick.c if (g != NULL) g 528 lib/widget/quick.c Widget *wg = WIDGET (g); g 114 lib/widget/widget-common.c WGroup *g = w->owner; g 116 lib/widget/widget-common.c if (g == NULL) g 119 lib/widget/widget-common.c if (WIDGET (g->current->data) != w) g 121 lib/widget/widget-common.c widget_do_focus (WIDGET (g->current->data), FALSE); g 123 lib/widget/widget-common.c if (g->current == NULL || !widget_get_state (WIDGET (g->current->data), WST_FOCUSED)) g 126 lib/widget/widget-common.c g->current = widget_find (WIDGET (g), w); g 141 lib/widget/widget-common.c WGroup *g = WIDGET (l->data)->owner; g 143 lib/widget/widget-common.c g->widgets = g_list_remove_link (g->widgets, l); g 145 lib/widget/widget-common.c g->widgets = g_list_concat (g->widgets, l); g 147 lib/widget/widget-common.c g->widgets = g_list_concat (l, g->widgets); g 535 lib/widget/widget-common.c WGroup *g = w->owner; g 537 lib/widget/widget-common.c if (g != NULL && widget_get_state (WIDGET (g), WST_ACTIVE)) g 555 lib/widget/widget-common.c WGroup *g = old_w->owner; g 559 lib/widget/widget-common.c if (g->widgets == NULL) g 562 lib/widget/widget-common.c if (g->current == NULL) g 563 lib/widget/widget-common.c g->current = g->widgets; g 566 lib/widget/widget-common.c if (old_w == g->current->data) g 567 lib/widget/widget-common.c holder = g->current; g 569 lib/widget/widget-common.c holder = g_list_find (g->widgets, old_w); g 592 lib/widget/widget-common.c new_w->owner = g; g 627 lib/widget/widget-common.c WGroup *g; g 632 lib/widget/widget-common.c g = GROUP (w->owner); g 633 lib/widget/widget-common.c if (g != NULL) g 639 lib/widget/widget-common.c l = widget_find (WIDGET (g), w); g 284 lib/widget/wtools.c WGroup *g; g 320 lib/widget/wtools.c g = GROUP (query_dlg); g 326 lib/widget/wtools.c group_add_widget_autopos (g, label_new (2, 3, text), WPOS_KEEP_TOP | WPOS_CENTER_HORZ, g 328 lib/widget/wtools.c group_add_widget (g, hline_new (lines - 4, -1, -1)); g 343 lib/widget/wtools.c group_add_widget (g, button); g 370 lib/widget/wtools.c group_add_widget_autopos (g, label_new (2, 3, text), WPOS_KEEP_TOP | WPOS_CENTER_HORZ, g 372 lib/widget/wtools.c group_add_widget (g, button_new (0, 0, 0, HIDDEN_BUTTON, "-", NULL)); g 3376 src/diffviewer/ydiff.c WGroup *g; g 3386 src/diffviewer/ydiff.c g = GROUP (dview_dlg); g 3394 src/diffviewer/ydiff.c group_add_widget_autopos (g, w, WPOS_KEEP_ALL, NULL); g 3397 src/diffviewer/ydiff.c group_add_widget_autopos (g, w, w->pos_flags, NULL); g 1248 src/editor/editcmd.c WGroup *g = w->owner; g 1256 src/editor/editcmd.c if (edit_widget_is_editor (CONST_WIDGET (g->current->data))) g 1257 src/editor/editcmd.c edit = EDIT (g->current->data); g 1260 src/editor/editcmd.c edit = edit_find_editor (DIALOG (g)); g 2029 src/editor/editcmd.c WGroup *g; g 2038 src/editor/editcmd.c g = GROUP (raw_dlg); g 2041 src/editor/editcmd.c group_add_widget (g, label_new (y, 3, query)); g 2042 src/editor/editcmd.c group_add_widget (g, g 2047 src/editor/editcmd.c group_add_widget (g, hline_new (y++, -1, -1)); g 2049 src/editor/editcmd.c group_add_widget_autopos (g, button_new (y, 1, B_CANCEL, NORMAL_BUTTON, _("Cancel"), NULL), g 313 src/editor/editwidget.c const WGroup *g = CONST_GROUP (h); g 315 src/editor/editwidget.c const size_t dlg_num = g_list_length (g->widgets) - offset; g 327 src/editor/editwidget.c for (w = g->widgets; w != NULL; w = g_list_next (w)) g 346 src/editor/editwidget.c selected = listbox_run_with_data (listbox, g->current->data); g 403 src/editor/editwidget.c WGroup *g = GROUP (h); g 425 src/editor/editwidget.c if (edit_widget_is_editor (CONST_WIDGET (g->current->data)) && g 426 src/editor/editwidget.c edit_close_cmd (EDIT (g->current->data)) && edit_find_editor (h) == NULL) g 439 src/editor/editwidget.c Widget *w = WIDGET (g->current->data); g 473 src/editor/editwidget.c if (edit_widget_is_editor (CONST_WIDGET (g->current->data))) g 474 src/editor/editwidget.c edit_handle_move_resize (EDIT (g->current->data), command); g 480 src/editor/editwidget.c group_select_next_widget (g); g 483 src/editor/editwidget.c group_select_prev_widget (g); g 765 src/editor/editwidget.c WGroup *g = GROUP (w); g 790 src/editor/editwidget.c result = send_message (g->current->data, NULL, MSG_ACTION, parm, NULL); g 797 src/editor/editwidget.c Widget *we = WIDGET (g->current->data); g 848 src/editor/editwidget.c return send_message (g->current->data, NULL, MSG_IDLE, 0, NULL); g 871 src/editor/editwidget.c WGroup *g = GROUP (w); g 886 src/editor/editwidget.c for (l = g->widgets; l != NULL; l = g_list_next (l)) g 897 src/editor/editwidget.c if (top != g->current) g 1220 src/editor/editwidget.c WGroup *g; g 1255 src/editor/editwidget.c g = GROUP (edit_dlg); g 1261 src/editor/editwidget.c group_add_widget (g, edit_dlg->bg); g 1265 src/editor/editwidget.c group_add_widget_autopos (g, w, w->pos_flags, NULL); g 1269 src/editor/editwidget.c group_add_widget_autopos (g, w, w->pos_flags, NULL); g 1303 src/editor/editwidget.c const WGroup *g = CONST_GROUP (h); g 1305 src/editor/editwidget.c if (edit_widget_is_editor (CONST_WIDGET (g->current->data))) g 1306 src/editor/editwidget.c return EDIT (g->current->data); g 725 src/editor/spell.c WGroup *g; g 765 src/editor/spell.c g = GROUP (sug_dlg); g 767 src/editor/spell.c group_add_widget (g, label_new (1, 2, lang_label)); g 768 src/editor/spell.c group_add_widget (g, label_new (3, 2, word_label)); g 770 src/editor/spell.c group_add_widget (g, groupbox_new (4, 2, sug_dlg_h - 5, 25, _("Suggest"))); g 776 src/editor/spell.c group_add_widget (g, sug_list); g 778 src/editor/spell.c group_add_widget (g, add_btn); g 779 src/editor/spell.c group_add_widget (g, replace_btn); g 780 src/editor/spell.c group_add_widget (g, skip_btn); g 781 src/editor/spell.c group_add_widget (g, cancel_button); g 937 src/editor/syntax.c FILE *g = NULL; g 971 src/editor/syntax.c if (g == NULL) g 975 src/editor/syntax.c f = g; g 976 src/editor/syntax.c g = NULL; g 995 src/editor/syntax.c if (g != NULL || argc != 2) g 1000 src/editor/syntax.c g = f; g 1271 src/editor/syntax.c FILE *f, *g = NULL; g 1304 src/editor/syntax.c if (args[1] == NULL || (g = open_include_file (args[1])) == NULL) g 1355 src/editor/syntax.c line_error = edit_read_syntax_rules (edit, g ? g : f, args, ARGS_LEN - 1); g 1368 src/editor/syntax.c if (g == NULL && edit->rules->len == 1) g 1381 src/editor/syntax.c if (g == NULL) g 1384 src/editor/syntax.c fclose (g); g 1385 src/editor/syntax.c g = NULL; g 318 src/filemanager/achown.c update_mode (WGroup * g) g 320 src/filemanager/achown.c print_flags (DIALOG (g)); g 322 src/filemanager/achown.c widget_set_state (WIDGET (g->current->data), WST_FOCUSED, TRUE); g 331 src/filemanager/achown.c WGroup *g = w->owner; g 364 src/filemanager/achown.c update_mode (g); g 367 src/filemanager/achown.c group_select_next_widget (g); g 425 src/filemanager/achown.c update_mode (g); g 528 src/filemanager/achown.c WGroup *g = w->owner; g 529 src/filemanager/achown.c WDialog *h = DIALOG (g); g 620 src/filemanager/achown.c group_select_current_widget (g); g 625 src/filemanager/achown.c group_select_current_widget (g); g 634 src/filemanager/achown.c group_select_prev_widget (g); g 641 src/filemanager/achown.c group_select_next_widget (g); g 677 src/filemanager/achown.c WGroup *g = GROUP (w); g 698 src/filemanager/achown.c update_mode (g); g 715 src/filemanager/achown.c update_mode (g); g 847 src/filemanager/achown.c try_advanced_chown (const vfs_path_t * p, mode_t m, uid_t u, gid_t g) g 889 src/filemanager/achown.c while (chmod_result != -1 && mc_chown (p, u, g) == -1 && !ignore_all) g 932 src/filemanager/achown.c do_advanced_chown (WPanel * panel, const vfs_path_t * p, mode_t m, uid_t u, gid_t g) g 936 src/filemanager/achown.c ret = try_advanced_chown (p, m, u, g); g 1081 src/filemanager/boxes.c WGroup *g; g 1091 src/filemanager/boxes.c g = GROUP (dlg); g 1095 src/filemanager/boxes.c group_add_widget_autopos (g, mytree, WPOS_KEEP_ALL, NULL); g 1096 src/filemanager/boxes.c group_add_widget_autopos (g, hline_new (wd->rect.lines - 4, 1, -1), WPOS_KEEP_BOTTOM, NULL); g 1098 src/filemanager/boxes.c group_add_widget (g, bar); g 1300 src/filemanager/boxes.c WGroup *g; g 1322 src/filemanager/boxes.c g = GROUP (jobs_dlg); g 1326 src/filemanager/boxes.c group_add_widget (g, bg_list); g 1328 src/filemanager/boxes.c group_add_widget (g, hline_new (lines - 4, -1, -1)); g 1333 src/filemanager/boxes.c group_add_widget (g, button_new (lines - 3, x, job_but[i].value, job_but[i].flags, g 564 src/filemanager/chattr.c WGroup *g = GROUP (cb); g 572 src/filemanager/chattr.c l = g_list_last (g->widgets); g 588 src/filemanager/chattr.c l = g_list_last (g->widgets); g 594 src/filemanager/chattr.c l = g_list_nth (g->widgets, cb->pos - cb->top); g 660 src/filemanager/chattr.c WGroup *g = GROUP (cb); g 668 src/filemanager/chattr.c l = g_list_first (g->widgets); g 682 src/filemanager/chattr.c l = g_list_first (g->widgets); g 688 src/filemanager/chattr.c l = g_list_nth (g->widgets, cb->pos - cb->top); g 775 src/filemanager/chattr.c WGroup *g = GROUP (w); g 788 src/filemanager/chattr.c i = g_list_index (g->widgets, sender); g 810 src/filemanager/chattr.c i = g_list_index (g->widgets, sender); g 249 src/filemanager/chmod.c WGroup *g = GROUP (w); g 282 src/filemanager/chmod.c id = group_get_current_widget_id (g); g 291 src/filemanager/chmod.c group_select_next_widget (g); g 309 src/filemanager/chmod.c WGroup *g; g 338 src/filemanager/chmod.c g = GROUP (ch_dlg); g 343 src/filemanager/chmod.c group_add_widget (g, groupbox_new (PY, PX, BUTTONS_PERM + 2, perm_gb_len, _("Permission"))); g 349 src/filemanager/chmod.c group_add_widget (g, check_perm[i].check); g 353 src/filemanager/chmod.c group_add_widget (g, file_gb); g 359 src/filemanager/chmod.c group_add_widget (g, label_new (y, cols, c_fname)); g 362 src/filemanager/chmod.c group_add_widget (g, statl); g 364 src/filemanager/chmod.c group_add_widget (g, label_new (y + 4, cols, c_fown)); g 366 src/filemanager/chmod.c group_add_widget (g, label_new (y + 6, cols, c_fgrp)); g 372 src/filemanager/chmod.c group_add_widget (g, hline_new (lines - chmod_but[i].y - 1, -1, -1)); g 377 src/filemanager/chmod.c group_add_widget (g, button_new (y, WIDGET (ch_dlg)->rect.cols / 2 - chmod_but[i].len, g 381 src/filemanager/chmod.c group_add_widget (g, button_new (y, WIDGET (ch_dlg)->rect.cols / 2 + 1, g 389 src/filemanager/chmod.c group_add_widget (g, hline_new (y - 1, -1, -1)); g 390 src/filemanager/chmod.c group_add_widget (g, button_new (y, WIDGET (ch_dlg)->rect.cols / 2 - chmod_but[i].len, g 394 src/filemanager/chmod.c group_add_widget (g, button_new (y, WIDGET (ch_dlg)->rect.cols / 2 + 1, chmod_but[i].ret_cmd, g 194 src/filemanager/chown.c WGroup *g; g 207 src/filemanager/chown.c g = GROUP (ch_dlg); g 212 src/filemanager/chown.c group_add_widget (g, groupbox_new (2, 3, GH, GW, _("User name"))); g 214 src/filemanager/chown.c group_add_widget (g, l_user); g 223 src/filemanager/chown.c group_add_widget (g, groupbox_new (2, 4 + GW, GH, GW, _("Group name"))); g 225 src/filemanager/chown.c group_add_widget (g, l_group); g 234 src/filemanager/chown.c group_add_widget (g, groupbox_new (2, 5 + GW * 2, GH, GW, _("File"))); g 239 src/filemanager/chown.c group_add_widget (g, chown_label[i].l); g 246 src/filemanager/chown.c group_add_widget (g, hline_new (lines - chown_but[0].y - 1, -1, -1)); g 253 src/filemanager/chown.c group_add_widget (g, button_new (y, x, chown_but[i].ret_cmd, chown_but[i].flags, g 261 src/filemanager/chown.c group_add_widget (g, hline_new (y - 1, -1, -1)); g 262 src/filemanager/chown.c group_add_widget (g, button_new (y, WIDGET (ch_dlg)->rect.cols / 2 - chown_but[i].len, g 266 src/filemanager/chown.c group_add_widget (g, button_new (y, WIDGET (ch_dlg)->rect.cols / 2 + 1, chown_but[i].ret_cmd, g 299 src/filemanager/chown.c try_chown (const vfs_path_t * p, uid_t u, gid_t g) g 303 src/filemanager/chown.c while (mc_chown (p, u, g) == -1 && !ignore_all) g 345 src/filemanager/chown.c do_chown (WPanel * panel, const vfs_path_t * p, uid_t u, gid_t g) g 349 src/filemanager/chown.c ret = try_chown (p, u, g); g 359 src/filemanager/chown.c apply_chowns (WPanel * panel, vfs_path_t * vpath, uid_t u, gid_t g) g 363 src/filemanager/chown.c if (!do_chown (panel, vpath, u, g)) g 385 src/filemanager/chown.c ok = do_chown (panel, vpath, u, g); g 950 src/filemanager/ext.c const gchar *g = *group_iter; g 954 src/filemanager/ext.c if (strcmp (g, descr_group) == 0 || strncmp (g, "Include/", 8) == 0 g 955 src/filemanager/ext.c || strcmp (g, default_group) == 0) g 960 src/filemanager/ext.c pattern = mc_config_get_string_raw (ext_ini, g, "Directory", NULL); g 974 src/filemanager/ext.c pattern = mc_config_get_string_raw (ext_ini, g, "Type", NULL); g 979 src/filemanager/ext.c ignore_case = mc_config_get_bool (ext_ini, g, "TypeIgnoreCase", FALSE); g 994 src/filemanager/ext.c pattern = mc_config_get_string_raw (ext_ini, g, "Regex", NULL); g 999 src/filemanager/ext.c ignore_case = mc_config_get_bool (ext_ini, g, "RegexIgnoreCase", FALSE); g 1015 src/filemanager/ext.c pattern = mc_config_get_string_raw (ext_ini, g, "Shell", NULL); g 1021 src/filemanager/ext.c ignore_case = mc_config_get_bool (ext_ini, g, "ShellIgnoreCase", FALSE); g 437 src/filemanager/filegui.c group_add_widget_autopos (g, W(i), dlg_widgets[i].pos_flags, \ g 438 src/filemanager/filegui.c g->current != NULL ? g->current->data : NULL) g 445 src/filemanager/filegui.c group_add_widget_autopos (g, W(i), dlg_widgets[i].pos_flags, g->current->data) g 514 src/filemanager/filegui.c WGroup *g; g 665 src/filemanager/filegui.c g = GROUP (ui->replace_dlg); g 670 src/filemanager/filegui.c group_add_widget (g, hline_new (WY (7) - wd->rect.y + 1, -1, -1)); g 680 src/filemanager/filegui.c group_add_widget (g, hline_new (WY (10) - wd->rect.y + 1, -1, -1)); g 684 src/filemanager/filegui.c group_add_widget (g, dlg_widgets[14].widget); g 687 src/filemanager/filegui.c group_add_widget (g, hline_new (WY (19) - wd->rect.y + 1, -1, -1)); g 691 src/filemanager/filegui.c group_select_widget_by_id (g, safe_overwrite ? no_id : yes_id); g 828 src/filemanager/filegui.c WGroup *g; g 857 src/filemanager/filegui.c g = GROUP (ui->op_dlg); g 865 src/filemanager/filegui.c group_add_widget (g, ui->src_file_label); g 868 src/filemanager/filegui.c group_add_widget (g, ui->src_file); g 871 src/filemanager/filegui.c group_add_widget (g, ui->tgt_file_label); g 874 src/filemanager/filegui.c group_add_widget (g, ui->tgt_file); g 879 src/filemanager/filegui.c group_add_widget_autopos (g, ui->progress_file_gauge, WPOS_KEEP_TOP | WPOS_KEEP_HORZ, NULL); g 882 src/filemanager/filegui.c group_add_widget (g, ui->progress_file_label); g 887 src/filemanager/filegui.c group_add_widget (g, ui->total_bytes_label); g 895 src/filemanager/filegui.c group_add_widget_autopos (g, ui->progress_total_gauge, g 900 src/filemanager/filegui.c group_add_widget (g, ui->total_files_processed_label); g 903 src/filemanager/filegui.c group_add_widget (g, ui->time_label); g 909 src/filemanager/filegui.c group_add_widget (g, ui->src_file); g 912 src/filemanager/filegui.c group_add_widget (g, ui->total_files_processed_label); g 915 src/filemanager/filegui.c group_add_widget (g, hline_new (y++, -1, -1)); g 947 src/filemanager/filegui.c group_add_widget (g, progress_buttons[0].w); g 948 src/filemanager/filegui.c group_add_widget (g, progress_buttons[1].w); g 949 src/filemanager/filegui.c group_add_widget (g, progress_buttons[3].w); g 897 src/filemanager/filemanager.c WGroup *g = GROUP (filemanager); g 908 src/filemanager/filemanager.c group_add_widget (g, the_menubar); g 912 src/filemanager/filemanager.c group_add_widget (g, get_panel_widget (0)); g 913 src/filemanager/filemanager.c group_add_widget (g, get_panel_widget (1)); g 919 src/filemanager/filemanager.c group_add_widget (g, the_hint); g 922 src/filemanager/filemanager.c group_add_widget (g, cmdline); g 926 src/filemanager/filemanager.c group_add_widget (g, the_prompt); g 929 src/filemanager/filemanager.c group_add_widget (g, the_bar); g 571 src/filemanager/find.c WGroup *g; g 682 src/filemanager/find.c g = GROUP (find_dlg); g 689 src/filemanager/find.c group_add_widget (g, label_new (y1++, x1, _("Start at:"))); g 693 src/filemanager/find.c group_add_widget (g, in_start); g 695 src/filemanager/find.c group_add_widget (g, button_new (y1++, cols - b0 - 3, B_TREE, NORMAL_BUTTON, buts[0], NULL)); g 699 src/filemanager/find.c group_add_widget (g, ignore_dirs_cbox); g 705 src/filemanager/find.c group_add_widget (g, in_ignore); g 707 src/filemanager/find.c group_add_widget (g, hline_new (y1++, -1, -1)); g 712 src/filemanager/find.c group_add_widget (g, label_new (y1++, x1, file_name_label)); g 716 src/filemanager/find.c group_add_widget (g, in_name); g 720 src/filemanager/find.c group_add_widget (g, content_label); g 725 src/filemanager/find.c group_add_widget (g, in_with); g 729 src/filemanager/find.c group_add_widget (g, recursively_cbox); g 732 src/filemanager/find.c group_add_widget (g, follow_sym_cbox); g 735 src/filemanager/find.c group_add_widget (g, file_pattern_cbox); g 738 src/filemanager/find.c group_add_widget (g, file_case_sens_cbox); g 743 src/filemanager/find.c group_add_widget (g, file_all_charsets_cbox); g 747 src/filemanager/find.c group_add_widget (g, skip_hidden_cbox); g 752 src/filemanager/find.c group_add_widget (g, content_whole_words_cbox); g 755 src/filemanager/find.c group_add_widget (g, content_regexp_cbox); g 758 src/filemanager/find.c group_add_widget (g, content_case_sens_cbox); g 763 src/filemanager/find.c group_add_widget (g, content_all_charsets_cbox); g 768 src/filemanager/find.c group_add_widget (g, content_first_hit_cbox); g 773 src/filemanager/find.c group_add_widget (g, hline_new (y1++, -1, -1)); g 774 src/filemanager/find.c group_add_widget (g, button_new (y1, x1, B_ENTER, DEFPUSH_BUTTON, buts[1], NULL)); g 775 src/filemanager/find.c group_add_widget (g, button_new (y1, x1 + b1 + 1, B_CANCEL, NORMAL_BUTTON, buts[2], NULL)); g 1670 src/filemanager/find.c WGroup *g; g 1698 src/filemanager/find.c g = GROUP (find_dlg); g 1704 src/filemanager/find.c group_add_widget_autopos (g, find_list, WPOS_KEEP_ALL, NULL); g 1707 src/filemanager/find.c group_add_widget_autopos (g, hline_new (y++, -1, -1), WPOS_KEEP_BOTTOM, NULL); g 1710 src/filemanager/find.c group_add_widget_autopos (g, found_num_label, WPOS_KEEP_BOTTOM, NULL); g 1713 src/filemanager/find.c group_add_widget_autopos (g, status_label, WPOS_KEEP_BOTTOM, NULL); g 1715 src/filemanager/find.c group_add_widget_autopos (g, hline_new (y++, -1, -1), WPOS_KEEP_BOTTOM, NULL); g 1727 src/filemanager/find.c group_add_widget_autopos (g, fbuts[i].button, WPOS_KEEP_BOTTOM, NULL); g 761 src/filemanager/hotlist.c WGroup *g; g 787 src/filemanager/hotlist.c g = GROUP (hotlist_dlg); g 792 src/filemanager/hotlist.c group_add_widget_autopos (g, hotlist_widget, WPOS_KEEP_ALL, NULL); g 811 src/filemanager/hotlist.c group_add_widget_autopos (g, l_hotlist, WPOS_KEEP_ALL, NULL); g 816 src/filemanager/hotlist.c group_add_widget_autopos (g, path_box, WPOS_KEEP_BOTTOM | WPOS_KEEP_HORZ, NULL); g 819 src/filemanager/hotlist.c group_add_widget_autopos (g, pname, WPOS_KEEP_BOTTOM | WPOS_KEEP_LEFT, NULL); g 822 src/filemanager/hotlist.c group_add_widget_autopos (g, hline_new (y++, -1, -1), WPOS_KEEP_BOTTOM, NULL); g 826 src/filemanager/hotlist.c group_add_widget_autopos (g, g 844 src/filemanager/hotlist.c WGroup *g; g 857 src/filemanager/hotlist.c g = GROUP (movelist_dlg); g 864 src/filemanager/hotlist.c group_add_widget_autopos (g, movelist_widget, WPOS_KEEP_ALL, NULL); g 871 src/filemanager/hotlist.c group_add_widget_autopos (g, l_movelist, WPOS_KEEP_ALL, NULL); g 875 src/filemanager/hotlist.c group_add_widget_autopos (g, hline_new (y++, -1, -1), WPOS_KEEP_BOTTOM, NULL); g 879 src/filemanager/hotlist.c group_add_widget_autopos (g, g 497 src/filemanager/layout.c WGroup *g; g 564 src/filemanager/layout.c g = GROUP (layout_dlg); g 572 src/filemanager/layout.c group_add_widget (g, groupbox_new (2, 3, 6, l1, title1)); g 576 src/filemanager/layout.c group_add_widget (g, radio_widget); g 579 src/filemanager/layout.c group_add_widget (g, check_options[0].widget); g 586 src/filemanager/layout.c group_add_widget (g, bleft_widget); g 590 src/filemanager/layout.c group_add_widget (g, bright_widget); g 601 src/filemanager/layout.c group_add_widget (g, w); g 606 src/filemanager/layout.c group_add_widget (g, w); g 611 src/filemanager/layout.c group_add_widget (g, w); g 615 src/filemanager/layout.c group_add_widget (g, groupbox_new (2, 4 + l1, 9, l1, title3)); g 620 src/filemanager/layout.c group_add_widget (g, check_options[i].widget); g 625 src/filemanager/layout.c group_add_widget (g, hline_new (11, -1, -1)); g 627 src/filemanager/layout.c group_add_widget (g, button_new (12, (width - b) / 2, B_ENTER, DEFPUSH_BUTTON, ok_button, 0)); g 628 src/filemanager/layout.c group_add_widget (g, g 176 src/filemanager/panelize.c WGroup *g; g 205 src/filemanager/panelize.c g = GROUP (panelize_dlg); g 209 src/filemanager/panelize.c group_add_widget (g, groupbox_new (y++, UX, 12, panelize_cols - UX * 2, "")); g 214 src/filemanager/panelize.c group_add_widget (g, l_panelize); g 217 src/filemanager/panelize.c group_add_widget (g, label_new (y++, UX, _("Command"))); g 223 src/filemanager/panelize.c group_add_widget (g, pname); g 225 src/filemanager/panelize.c group_add_widget (g, hline_new (y++, -1, -1)); g 234 src/filemanager/panelize.c group_add_widget (g, b); g 1087 src/help.c WGroup *g; g 1144 src/help.c g = GROUP (whelp); g 1167 src/help.c group_add_widget (g, md); g 1168 src/help.c group_add_widget (g, help_bar); /* FIXME */ g 253 src/learn.c WGroup *g; g 284 src/learn.c g = GROUP (learn_dlg); g 317 src/learn.c group_add_widget (g, learnkeys[i].button); g 318 src/learn.c group_add_widget (g, learnkeys[i].label); g 328 src/learn.c group_add_widget (g, hline_new (dlg_height - 8, -1, -1)); g 329 src/learn.c group_add_widget (g, label_new (dlg_height - 7, 5, g 334 src/learn.c group_add_widget (g, hline_new (dlg_height - 4, -1, -1)); g 340 src/learn.c group_add_widget (g, button_new (dlg_height - 3, bx0, B_ENTER, DEFPUSH_BUTTON, b0, NULL)); g 341 src/learn.c group_add_widget (g, button_new (dlg_height - 3, bx1, B_CANCEL, NORMAL_BUTTON, b1, NULL)); g 136 src/vfs/ftpfs/ftpfs_parse_ls.c gid_t g; g 139 src/vfs/ftpfs/ftpfs_parse_ls.c g = vfs_findgid (s); g 141 src/vfs/ftpfs/ftpfs_parse_ls.c g = (gid_t) atol (s); g 143 src/vfs/ftpfs/ftpfs_parse_ls.c return g; g 245 src/viewer/mcviewer.c WGroup *g; g 253 src/viewer/mcviewer.c g = GROUP (view_dlg); g 256 src/viewer/mcviewer.c group_add_widget_autopos (g, lc_mcview, WPOS_KEEP_ALL, NULL); g 259 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 90 tests/lib/widget/group_init_destroy.c g = g_new0 (WGroup, 1); g 92 tests/lib/widget/group_init_destroy.c group_init (g, &r, group_callback, NULL); g 97 tests/lib/widget/group_init_destroy.c group_add_widget (g, g0); g 112 tests/lib/widget/group_init_destroy.c group_add_widget (g, g0); g 127 tests/lib/widget/group_init_destroy.c group_add_widget (g, w0); g 131 tests/lib/widget/group_init_destroy.c send_message (g, NULL, MSG_INIT, 0, NULL); g 135 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 46 tests/lib/widget/widget_find_by_id.c g = g_new0 (WGroup, 1); g 48 tests/lib/widget/widget_find_by_id.c group_init (g, &r, NULL, NULL); /* ID = 0 */ g 53 tests/lib/widget/widget_find_by_id.c group_add_widget (g, g0); g 68 tests/lib/widget/widget_find_by_id.c group_add_widget (g, g0); g 83 tests/lib/widget/widget_find_by_id.c group_add_widget (g, w0); g 85 tests/lib/widget/widget_find_by_id.c w0 = WIDGET (g); g 97 tests/lib/widget/widget_find_by_id.c send_message (g, NULL, MSG_INIT, 0, NULL);