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 993 lib/widget/input_complete.c WGroup *g = GROUP (w); g 1032 lib/widget/input_complete.c for (i = 0, e = listbox_get_first_link (LISTBOX (g->current->data)); g 1039 lib/widget/input_complete.c listbox_set_current (LISTBOX (g->current->data), i); g 1042 lib/widget/input_complete.c widget_draw (WIDGET (g->current->data)); g 1086 lib/widget/input_complete.c for (i = 0, e = listbox_get_first_link (LISTBOX (g->current->data)); g 1097 lib/widget/input_complete.c listbox_set_current (LISTBOX (g->current->data), i); g 1148 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 3360 src/diffviewer/ydiff.c WGroup *g; g 3370 src/diffviewer/ydiff.c g = GROUP (dview_dlg); g 3378 src/diffviewer/ydiff.c group_add_widget_autopos (g, w, WPOS_KEEP_ALL, NULL); g 3381 src/diffviewer/ydiff.c group_add_widget_autopos (g, w, w->pos_flags, NULL); g 1260 src/editor/editcmd.c WGroup *g = w->owner; g 1268 src/editor/editcmd.c if (edit_widget_is_editor (CONST_WIDGET (g->current->data))) g 1269 src/editor/editcmd.c edit = EDIT (g->current->data); g 1272 src/editor/editcmd.c edit = edit_find_editor (DIALOG (g)); g 2039 src/editor/editcmd.c WGroup *g; g 2048 src/editor/editcmd.c g = GROUP (raw_dlg); g 2051 src/editor/editcmd.c group_add_widget (g, label_new (y, 3, query)); g 2052 src/editor/editcmd.c group_add_widget (g, g 2057 src/editor/editcmd.c group_add_widget (g, hline_new (y++, -1, -1)); g 2059 src/editor/editcmd.c group_add_widget_autopos (g, button_new (y, 1, B_CANCEL, NORMAL_BUTTON, _("Cancel"), NULL), g 312 src/editor/editwidget.c const WGroup *g = CONST_GROUP (h); g 314 src/editor/editwidget.c const size_t dlg_num = g_list_length (g->widgets) - offset; g 326 src/editor/editwidget.c for (w = g->widgets; w != NULL; w = g_list_next (w)) g 345 src/editor/editwidget.c selected = listbox_run_with_data (listbox, g->current->data); g 402 src/editor/editwidget.c WGroup *g = GROUP (h); g 424 src/editor/editwidget.c if (edit_widget_is_editor (CONST_WIDGET (g->current->data)) && g 425 src/editor/editwidget.c edit_close_cmd (EDIT (g->current->data)) && edit_find_editor (h) == NULL) g 438 src/editor/editwidget.c Widget *w = WIDGET (g->current->data); g 472 src/editor/editwidget.c if (edit_widget_is_editor (CONST_WIDGET (g->current->data))) g 473 src/editor/editwidget.c edit_handle_move_resize (EDIT (g->current->data), command); g 479 src/editor/editwidget.c group_select_next_widget (g); g 482 src/editor/editwidget.c group_select_prev_widget (g); g 764 src/editor/editwidget.c WGroup *g = GROUP (w); g 789 src/editor/editwidget.c result = send_message (g->current->data, NULL, MSG_ACTION, parm, NULL); g 796 src/editor/editwidget.c Widget *we = WIDGET (g->current->data); g 847 src/editor/editwidget.c return send_message (g->current->data, NULL, MSG_IDLE, 0, NULL); g 870 src/editor/editwidget.c WGroup *g = GROUP (w); g 885 src/editor/editwidget.c for (l = g->widgets; l != NULL; l = g_list_next (l)) g 896 src/editor/editwidget.c if (top != g->current) g 1218 src/editor/editwidget.c WGroup *g; g 1253 src/editor/editwidget.c g = GROUP (edit_dlg); g 1259 src/editor/editwidget.c group_add_widget (g, edit_dlg->bg); g 1263 src/editor/editwidget.c group_add_widget_autopos (g, w, w->pos_flags, NULL); g 1267 src/editor/editwidget.c group_add_widget_autopos (g, w, w->pos_flags, NULL); g 1292 src/editor/editwidget.c const WGroup *g = CONST_GROUP (h); g 1294 src/editor/editwidget.c if (edit_widget_is_editor (CONST_WIDGET (g->current->data))) g 1295 src/editor/editwidget.c return EDIT (g->current->data); g 334 src/editor/spell.c WGroup *g; g 374 src/editor/spell.c g = GROUP (sug_dlg); g 376 src/editor/spell.c group_add_widget (g, label_new (1, 2, lang_label)); g 377 src/editor/spell.c group_add_widget (g, label_new (3, 2, word_label)); g 379 src/editor/spell.c group_add_widget (g, groupbox_new (4, 2, sug_dlg_h - 5, 25, _("Suggest"))); g 385 src/editor/spell.c group_add_widget (g, sug_list); g 387 src/editor/spell.c group_add_widget (g, add_btn); g 388 src/editor/spell.c group_add_widget (g, replace_btn); g 389 src/editor/spell.c group_add_widget (g, skip_btn); g 390 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 317 src/filemanager/achown.c update_mode (WGroup *g) g 319 src/filemanager/achown.c print_flags (DIALOG (g)); g 321 src/filemanager/achown.c widget_set_state (WIDGET (g->current->data), WST_FOCUSED, TRUE); g 330 src/filemanager/achown.c WGroup *g = w->owner; g 363 src/filemanager/achown.c update_mode (g); g 366 src/filemanager/achown.c group_select_next_widget (g); g 424 src/filemanager/achown.c update_mode (g); g 527 src/filemanager/achown.c WGroup *g = w->owner; g 528 src/filemanager/achown.c WDialog *h = DIALOG (g); g 619 src/filemanager/achown.c group_select_current_widget (g); g 624 src/filemanager/achown.c group_select_current_widget (g); g 633 src/filemanager/achown.c group_select_prev_widget (g); g 640 src/filemanager/achown.c group_select_next_widget (g); g 676 src/filemanager/achown.c WGroup *g = GROUP (w); g 697 src/filemanager/achown.c update_mode (g); g 714 src/filemanager/achown.c update_mode (g); g 835 src/filemanager/achown.c try_advanced_chown (const vfs_path_t *p, mode_t m, uid_t u, gid_t g) g 877 src/filemanager/achown.c while (chmod_result != -1 && mc_chown (p, u, g) == -1 && !ignore_all) g 920 src/filemanager/achown.c do_advanced_chown (WPanel *panel, const vfs_path_t *p, mode_t m, uid_t u, gid_t g) g 924 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 1096 src/filemanager/boxes.c group_add_widget_autopos (g, mytree, WPOS_KEEP_ALL, NULL); g 1097 src/filemanager/boxes.c group_add_widget_autopos (g, hline_new (wd->rect.lines - 4, 1, -1), WPOS_KEEP_BOTTOM, NULL); g 1099 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 559 src/filemanager/chattr.c WGroup *g = GROUP (cb); g 567 src/filemanager/chattr.c l = g_list_last (g->widgets); g 583 src/filemanager/chattr.c l = g_list_last (g->widgets); g 589 src/filemanager/chattr.c l = g_list_nth (g->widgets, cb->pos - cb->top); g 655 src/filemanager/chattr.c WGroup *g = GROUP (cb); g 663 src/filemanager/chattr.c l = g_list_first (g->widgets); g 677 src/filemanager/chattr.c l = g_list_first (g->widgets); g 683 src/filemanager/chattr.c l = g_list_nth (g->widgets, cb->pos - cb->top); g 770 src/filemanager/chattr.c WGroup *g = GROUP (w); g 783 src/filemanager/chattr.c i = g_list_index (g->widgets, sender); g 805 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)->rect.cols / 2 - chmod_but[i].len, g 379 src/filemanager/chmod.c group_add_widget (g, button_new (y, WIDGET (ch_dlg)->rect.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)->rect.cols / 2 - chmod_but[i].len, g 392 src/filemanager/chmod.c group_add_widget (g, button_new (y, WIDGET (ch_dlg)->rect.cols / 2 + 1, chmod_but[i].ret_cmd, g 192 src/filemanager/chown.c WGroup *g; g 205 src/filemanager/chown.c g = GROUP (ch_dlg); g 210 src/filemanager/chown.c group_add_widget (g, groupbox_new (2, 3, GH, GW, _("User name"))); g 212 src/filemanager/chown.c group_add_widget (g, l_user); g 221 src/filemanager/chown.c group_add_widget (g, groupbox_new (2, 4 + GW, GH, GW, _("Group name"))); g 223 src/filemanager/chown.c group_add_widget (g, l_group); g 232 src/filemanager/chown.c group_add_widget (g, groupbox_new (2, 5 + GW * 2, GH, GW, _("File"))); g 237 src/filemanager/chown.c group_add_widget (g, chown_label[i].l); g 244 src/filemanager/chown.c group_add_widget (g, hline_new (lines - chown_but[0].y - 1, -1, -1)); g 251 src/filemanager/chown.c group_add_widget (g, button_new (y, x, chown_but[i].ret_cmd, chown_but[i].flags, g 259 src/filemanager/chown.c group_add_widget (g, hline_new (y - 1, -1, -1)); g 260 src/filemanager/chown.c group_add_widget (g, button_new (y, WIDGET (ch_dlg)->rect.cols / 2 - chown_but[i].len, g 264 src/filemanager/chown.c group_add_widget (g, button_new (y, WIDGET (ch_dlg)->rect.cols / 2 + 1, chown_but[i].ret_cmd, g 286 src/filemanager/chown.c try_chown (const vfs_path_t *p, uid_t u, gid_t g) g 290 src/filemanager/chown.c while (mc_chown (p, u, g) == -1 && !ignore_all) g 332 src/filemanager/chown.c do_chown (WPanel *panel, const vfs_path_t *p, uid_t u, gid_t g) g 336 src/filemanager/chown.c ret = try_chown (p, u, g); g 346 src/filemanager/chown.c apply_chowns (WPanel *panel, vfs_path_t *vpath, uid_t u, gid_t g) g 350 src/filemanager/chown.c if (!do_chown (panel, vpath, u, g)) g 372 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 434 src/filemanager/filegui.c group_add_widget_autopos (g, W(i), dlg_widgets[i].pos_flags, \ g 435 src/filemanager/filegui.c g->current != NULL ? g->current->data : NULL) g 442 src/filemanager/filegui.c group_add_widget_autopos (g, W(i), dlg_widgets[i].pos_flags, g->current->data) g 510 src/filemanager/filegui.c WGroup *g; g 663 src/filemanager/filegui.c g = GROUP (ui->replace_dlg); g 668 src/filemanager/filegui.c group_add_widget (g, hline_new (WY (7) - wd->rect.y + 1, -1, -1)); g 678 src/filemanager/filegui.c group_add_widget (g, hline_new (WY (10) - wd->rect.y + 1, -1, -1)); g 682 src/filemanager/filegui.c group_add_widget (g, dlg_widgets[14].widget); g 685 src/filemanager/filegui.c group_add_widget (g, hline_new (WY (19) - wd->rect.y + 1, -1, -1)); g 689 src/filemanager/filegui.c group_select_widget_by_id (g, safe_overwrite ? no_id : yes_id); g 876 src/filemanager/filegui.c WGroup *g; g 905 src/filemanager/filegui.c g = GROUP (ui->op_dlg); g 913 src/filemanager/filegui.c group_add_widget (g, ui->src_file_label); g 916 src/filemanager/filegui.c group_add_widget (g, ui->src_file); g 919 src/filemanager/filegui.c group_add_widget (g, ui->tgt_file_label); g 922 src/filemanager/filegui.c group_add_widget (g, ui->tgt_file); g 927 src/filemanager/filegui.c group_add_widget_autopos (g, ui->progress_file_gauge, WPOS_KEEP_TOP | WPOS_KEEP_HORZ, NULL); g 930 src/filemanager/filegui.c group_add_widget (g, ui->progress_file_label); g 935 src/filemanager/filegui.c group_add_widget (g, ui->total_bytes_label); g 943 src/filemanager/filegui.c group_add_widget_autopos (g, ui->progress_total_gauge, g 948 src/filemanager/filegui.c group_add_widget (g, ui->total_files_processed_label); g 951 src/filemanager/filegui.c group_add_widget (g, ui->time_label); g 957 src/filemanager/filegui.c group_add_widget (g, ui->src_file); g 960 src/filemanager/filegui.c group_add_widget (g, ui->total_files_processed_label); g 963 src/filemanager/filegui.c group_add_widget (g, hline_new (y++, -1, -1)); g 995 src/filemanager/filegui.c group_add_widget (g, progress_buttons[0].w); g 996 src/filemanager/filegui.c group_add_widget (g, progress_buttons[1].w); g 997 src/filemanager/filegui.c group_add_widget (g, progress_buttons[3].w); g 902 src/filemanager/filemanager.c WGroup *g = GROUP (filemanager); g 913 src/filemanager/filemanager.c group_add_widget (g, the_menubar); g 917 src/filemanager/filemanager.c group_add_widget (g, get_panel_widget (0)); g 918 src/filemanager/filemanager.c group_add_widget (g, get_panel_widget (1)); g 924 src/filemanager/filemanager.c group_add_widget (g, the_hint); g 927 src/filemanager/filemanager.c group_add_widget (g, cmdline); g 931 src/filemanager/filemanager.c group_add_widget (g, the_prompt); g 934 src/filemanager/filemanager.c group_add_widget (g, the_bar); g 579 src/filemanager/find.c WGroup *g; g 690 src/filemanager/find.c g = GROUP (find_dlg); g 697 src/filemanager/find.c group_add_widget (g, label_new (y1++, x1, _("Start at:"))); g 701 src/filemanager/find.c group_add_widget (g, in_start); g 703 src/filemanager/find.c group_add_widget (g, button_new (y1++, cols - b0 - 3, B_TREE, NORMAL_BUTTON, buts[0], NULL)); g 707 src/filemanager/find.c group_add_widget (g, ignore_dirs_cbox); g 713 src/filemanager/find.c group_add_widget (g, in_ignore); g 715 src/filemanager/find.c group_add_widget (g, hline_new (y1++, -1, -1)); g 720 src/filemanager/find.c group_add_widget (g, label_new (y1++, x1, file_name_label)); g 724 src/filemanager/find.c group_add_widget (g, in_name); g 728 src/filemanager/find.c group_add_widget (g, content_label); g 733 src/filemanager/find.c group_add_widget (g, in_with); g 737 src/filemanager/find.c group_add_widget (g, recursively_cbox); g 740 src/filemanager/find.c group_add_widget (g, follow_sym_cbox); g 743 src/filemanager/find.c group_add_widget (g, file_pattern_cbox); g 746 src/filemanager/find.c group_add_widget (g, file_case_sens_cbox); g 751 src/filemanager/find.c group_add_widget (g, file_all_charsets_cbox); g 755 src/filemanager/find.c group_add_widget (g, skip_hidden_cbox); g 760 src/filemanager/find.c group_add_widget (g, content_whole_words_cbox); g 763 src/filemanager/find.c group_add_widget (g, content_regexp_cbox); g 766 src/filemanager/find.c group_add_widget (g, content_case_sens_cbox); g 771 src/filemanager/find.c group_add_widget (g, content_all_charsets_cbox); g 776 src/filemanager/find.c group_add_widget (g, content_first_hit_cbox); g 781 src/filemanager/find.c group_add_widget (g, hline_new (y1++, -1, -1)); g 782 src/filemanager/find.c group_add_widget (g, button_new (y1, x1, B_ENTER, DEFPUSH_BUTTON, buts[1], NULL)); g 783 src/filemanager/find.c group_add_widget (g, button_new (y1, x1 + b1 + 1, B_CANCEL, NORMAL_BUTTON, buts[2], NULL)); g 1673 src/filemanager/find.c WGroup *g; g 1701 src/filemanager/find.c g = GROUP (find_dlg); g 1707 src/filemanager/find.c group_add_widget_autopos (g, find_list, WPOS_KEEP_ALL, NULL); g 1710 src/filemanager/find.c group_add_widget_autopos (g, hline_new (y++, -1, -1), WPOS_KEEP_BOTTOM, NULL); g 1713 src/filemanager/find.c group_add_widget_autopos (g, found_num_label, WPOS_KEEP_BOTTOM, NULL); g 1716 src/filemanager/find.c group_add_widget_autopos (g, status_label, WPOS_KEEP_BOTTOM, NULL); g 1718 src/filemanager/find.c group_add_widget_autopos (g, hline_new (y++, -1, -1), WPOS_KEEP_BOTTOM, NULL); g 1730 src/filemanager/find.c group_add_widget_autopos (g, fbuts[i].button, WPOS_KEEP_BOTTOM, NULL); g 754 src/filemanager/hotlist.c WGroup *g; g 780 src/filemanager/hotlist.c g = GROUP (hotlist_dlg); g 785 src/filemanager/hotlist.c group_add_widget_autopos (g, hotlist_widget, WPOS_KEEP_ALL, NULL); g 804 src/filemanager/hotlist.c group_add_widget_autopos (g, l_hotlist, WPOS_KEEP_ALL, NULL); g 809 src/filemanager/hotlist.c group_add_widget_autopos (g, path_box, WPOS_KEEP_BOTTOM | WPOS_KEEP_HORZ, NULL); g 812 src/filemanager/hotlist.c group_add_widget_autopos (g, pname, WPOS_KEEP_BOTTOM | WPOS_KEEP_LEFT, NULL); g 815 src/filemanager/hotlist.c group_add_widget_autopos (g, hline_new (y++, -1, -1), WPOS_KEEP_BOTTOM, NULL); g 819 src/filemanager/hotlist.c group_add_widget_autopos (g, g 837 src/filemanager/hotlist.c WGroup *g; g 850 src/filemanager/hotlist.c g = GROUP (movelist_dlg); g 857 src/filemanager/hotlist.c group_add_widget_autopos (g, movelist_widget, WPOS_KEEP_ALL, NULL); g 864 src/filemanager/hotlist.c group_add_widget_autopos (g, l_movelist, WPOS_KEEP_ALL, NULL); g 868 src/filemanager/hotlist.c group_add_widget_autopos (g, hline_new (y++, -1, -1), WPOS_KEEP_BOTTOM, NULL); g 872 src/filemanager/hotlist.c group_add_widget_autopos (g, g 495 src/filemanager/layout.c WGroup *g; g 562 src/filemanager/layout.c g = GROUP (layout_dlg); g 570 src/filemanager/layout.c group_add_widget (g, groupbox_new (2, 3, 6, l1, title1)); g 574 src/filemanager/layout.c group_add_widget (g, radio_widget); g 577 src/filemanager/layout.c group_add_widget (g, check_options[0].widget); g 584 src/filemanager/layout.c group_add_widget (g, bleft_widget); g 588 src/filemanager/layout.c group_add_widget (g, bright_widget); g 599 src/filemanager/layout.c group_add_widget (g, w); g 604 src/filemanager/layout.c group_add_widget (g, w); g 609 src/filemanager/layout.c group_add_widget (g, w); g 613 src/filemanager/layout.c group_add_widget (g, groupbox_new (2, 4 + l1, 9, l1, title3)); g 618 src/filemanager/layout.c group_add_widget (g, check_options[i].widget); g 623 src/filemanager/layout.c group_add_widget (g, hline_new (11, -1, -1)); g 625 src/filemanager/layout.c group_add_widget (g, button_new (12, (width - b) / 2, B_ENTER, DEFPUSH_BUTTON, ok_button, 0)); g 626 src/filemanager/layout.c group_add_widget (g, g 175 src/filemanager/panelize.c WGroup *g; g 204 src/filemanager/panelize.c g = GROUP (panelize_dlg); g 208 src/filemanager/panelize.c group_add_widget (g, groupbox_new (y++, UX, 12, panelize_cols - UX * 2, "")); g 213 src/filemanager/panelize.c group_add_widget (g, l_panelize); g 216 src/filemanager/panelize.c group_add_widget (g, label_new (y++, UX, _("Command"))); g 222 src/filemanager/panelize.c group_add_widget (g, pname); g 224 src/filemanager/panelize.c group_add_widget (g, hline_new (y++, -1, -1)); g 233 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 252 src/learn.c WGroup *g; g 283 src/learn.c g = GROUP (learn_dlg); g 316 src/learn.c group_add_widget (g, learnkeys[i].button); g 317 src/learn.c group_add_widget (g, learnkeys[i].label); g 327 src/learn.c group_add_widget (g, hline_new (dlg_height - 8, -1, -1)); g 328 src/learn.c group_add_widget (g, label_new (dlg_height - 7, 5, g 333 src/learn.c group_add_widget (g, hline_new (dlg_height - 4, -1, -1)); g 339 src/learn.c group_add_widget (g, button_new (dlg_height - 3, bx0, B_ENTER, DEFPUSH_BUTTON, b0, NULL)); g 340 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 244 src/viewer/mcviewer.c WGroup *g; g 253 src/viewer/mcviewer.c g = GROUP (view_dlg); g 258 src/viewer/mcviewer.c group_add_widget_autopos (g, lc_mcview, WPOS_KEEP_ALL, NULL); g 261 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);