w                 573 lib/strutil/strutilutf8.c         int w = 0;
w                 580 lib/strutil/strutilutf8.c             w = 1;
w                 582 lib/strutil/strutilutf8.c                 w++;
w                 583 lib/strutil/strutilutf8.c             if (tool->ident + w > to_ident)
w                 594 lib/strutil/strutilutf8.c         tool->ident += w;
w                 743 lib/util.c         char *w;                    /* Current position where the stripped data is written */
w                 749 lib/util.c         for (w = s, r = s; *r != '\0';)
w                 808 lib/util.c                     memmove (w, r, n - r);
w                 809 lib/util.c                     w += n - r;
w                 815 lib/util.c         *w = '\0';
w                  62 lib/widget/button.c button_default_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data)
w                  64 lib/widget/button.c     WButton *b = BUTTON (w);
w                  65 lib/widget/button.c     WDialog *h = w->owner;
w                  77 lib/widget/button.c         if (parm == '\n' && WIDGET (h->current->data) == w)
w                  79 lib/widget/button.c             send_message (w, sender, MSG_KEY, ' ', data);
w                  85 lib/widget/button.c             send_message (w, sender, MSG_KEY, ' ', data);
w                  91 lib/widget/button.c             send_message (w, sender, MSG_KEY, ' ', data);
w                 123 lib/widget/button.c         widget_move (w, 0, b->hotpos + off);
w                 130 lib/widget/button.c             focused = widget_get_state (w, WST_FOCUSED);
w                 132 lib/widget/button.c             widget_selectcolor (w, focused, FALSE);
w                 133 lib/widget/button.c             widget_move (w, 0, 0);
w                 151 lib/widget/button.c             hotkey_draw (w, b->text, focused);
w                 176 lib/widget/button.c         return widget_default_callback (w, sender, msg, parm, data);
w                 183 lib/widget/button.c button_mouse_default_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event)
w                 190 lib/widget/button.c         widget_select (w);
w                 194 lib/widget/button.c         send_message (w, NULL, MSG_KEY, ' ', NULL);
w                 195 lib/widget/button.c         send_message (w->owner, w, MSG_POST_KEY, ' ', NULL);
w                 209 lib/widget/button.c     Widget *w;
w                 212 lib/widget/button.c     w = WIDGET (b);
w                 217 lib/widget/button.c     widget_init (w, y, x, 1, button_get_len (b), button_default_callback,
w                 219 lib/widget/button.c     w->options |= WOP_SELECTABLE | WOP_WANT_CURSOR | WOP_WANT_HOTKEY;
w                 241 lib/widget/button.c     Widget *w = WIDGET (b);
w                 246 lib/widget/button.c     w->cols = button_get_len (b);
w                 247 lib/widget/button.c     widget_redraw (w);
w                  52 lib/widget/button.h cb_ret_t button_default_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm,
w                  54 lib/widget/button.h void button_mouse_default_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event);
w                 149 lib/widget/buttonbar.c     Widget *w = WIDGET (bb);
w                 154 lib/widget/buttonbar.c         target = (bb->labels[i].receiver != NULL) ? bb->labels[i].receiver : WIDGET (w->owner);
w                 155 lib/widget/buttonbar.c         ret = send_message (target, w, MSG_ACTION, bb->labels[i].command, NULL);
w                 163 lib/widget/buttonbar.c buttonbar_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data)
w                 165 lib/widget/buttonbar.c     WButtonBar *bb = BUTTONBAR (w);
w                 180 lib/widget/buttonbar.c             widget_move (w, 0, 0);
w                 182 lib/widget/buttonbar.c             tty_printf ("%-*s", w->cols, "");
w                 183 lib/widget/buttonbar.c             widget_move (w, 0, 0);
w                 210 lib/widget/buttonbar.c         return widget_default_callback (w, sender, msg, parm, data);
w                 217 lib/widget/buttonbar.c buttonbar_mouse_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event)
w                 223 lib/widget/buttonbar.c             WButtonBar *bb = BUTTONBAR (w);
w                 245 lib/widget/buttonbar.c     Widget *w;
w                 248 lib/widget/buttonbar.c     w = WIDGET (bb);
w                 249 lib/widget/buttonbar.c     widget_init (w, LINES - 1, 0, 1, COLS, buttonbar_callback, buttonbar_mouse_callback);
w                 251 lib/widget/buttonbar.c     w->pos_flags = WPOS_KEEP_HORZ | WPOS_KEEP_BOTTOM;
w                 253 lib/widget/buttonbar.c     widget_want_hotkey (w, TRUE);
w                  55 lib/widget/check.c check_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data)
w                  57 lib/widget/check.c     WCheck *c = CHECK (w);
w                  67 lib/widget/check.c                 send_message (w, sender, MSG_KEY, ' ', data);
w                  77 lib/widget/check.c         widget_redraw (w);
w                  78 lib/widget/check.c         send_message (w->owner, w, MSG_NOTIFY, 0, NULL);
w                  82 lib/widget/check.c         widget_move (w, 0, 1);
w                  89 lib/widget/check.c             focused = widget_get_state (w, WST_FOCUSED);
w                  90 lib/widget/check.c             widget_selectcolor (w, focused, FALSE);
w                  91 lib/widget/check.c             widget_move (w, 0, 0);
w                  93 lib/widget/check.c             hotkey_draw (w, c->text, focused);
w                 102 lib/widget/check.c         return widget_default_callback (w, sender, msg, parm, data);
w                 109 lib/widget/check.c check_mouse_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event)
w                 116 lib/widget/check.c         widget_select (w);
w                 120 lib/widget/check.c         send_message (w, NULL, MSG_KEY, ' ', NULL);
w                 121 lib/widget/check.c         send_message (w->owner, w, MSG_POST_KEY, ' ', NULL);
w                 137 lib/widget/check.c     Widget *w;
w                 140 lib/widget/check.c     w = WIDGET (c);
w                 143 lib/widget/check.c     widget_init (w, y, x, 1, 4 + hotkey_width (c->text), check_callback, check_mouse_callback);
w                 144 lib/widget/check.c     w->options |= WOP_SELECTABLE | WOP_WANT_CURSOR | WOP_WANT_HOTKEY;
w                 130 lib/widget/dialog.c         Widget *w;
w                 135 lib/widget/dialog.c             w = WIDGET (l->data);
w                 137 lib/widget/dialog.c         while ((widget_get_state (w, WST_DISABLED) || !widget_get_options (w, WOP_SELECTABLE))
w                 167 lib/widget/dialog.c         Widget *w = WIDGET (p->data);
w                 171 lib/widget/dialog.c         if ((flags == 0) || ((flags & w->options) != 0))
w                 172 lib/widget/dialog.c             send_message (w, NULL, msg, 0, NULL);
w                 207 lib/widget/dialog.c     const Widget *w = CONST_WIDGET (a);
w                 210 lib/widget/dialog.c     return (w->callback == f) ? 0 : 1;
w                 319 lib/widget/dialog.c dlg_mouse_translator (Gpm_Event * event, Widget * w)
w                 323 lib/widget/dialog.c     me = mouse_translate_event (w, event);
w                 325 lib/widget/dialog.c     return mouse_process_event (w, &me);
w                 363 lib/widget/dialog.c         Widget *w = WIDGET (p->data);
w                 365 lib/widget/dialog.c         if (!widget_get_state (w, WST_DISABLED) && w->mouse_callback != NULL)
w                 370 lib/widget/dialog.c             ret = dlg_mouse_translator (event, w);
w                 557 lib/widget/dialog.c     const Widget *w = CONST_WIDGET (a);
w                 560 lib/widget/dialog.c     return w->id == id ? 0 : 1;
w                 693 lib/widget/dialog.c dlg_default_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data)
w                 695 lib/widget/dialog.c     WDialog *h = DIALOG (w);
w                 713 lib/widget/dialog.c         widget_idle (w, FALSE);
w                 722 lib/widget/dialog.c         dlg_set_size (h, w->lines, w->cols);
w                 740 lib/widget/dialog.c     Widget *w;
w                 743 lib/widget/dialog.c     w = WIDGET (new_d);
w                 745 lib/widget/dialog.c     widget_init (w, y1, x1, lines, cols, (callback != NULL) ? callback : dlg_default_callback,
w                 747 lib/widget/dialog.c     w->pos_flags = pos_flags;
w                 748 lib/widget/dialog.c     w->options |= WOP_SELECTABLE | WOP_TOP_SELECT;
w                 750 lib/widget/dialog.c     w->state |= WST_CONSTRUCT | WST_FOCUSED;
w                 752 lib/widget/dialog.c         w->state |= WST_MODAL;
w                 810 lib/widget/dialog.c add_widget_autopos (WDialog * h, void *w, widget_pos_flags_t pos_flags, const void *before)
w                 817 lib/widget/dialog.c     if (w == NULL)
w                 820 lib/widget/dialog.c     widget = WIDGET (w);
w                 873 lib/widget/dialog.c add_widget (WDialog * h, void *w)
w                 875 lib/widget/dialog.c     return add_widget_autopos (h, w, WPOS_KEEP_DEFAULT,
w                 882 lib/widget/dialog.c add_widget_before (WDialog * h, void *w, void *before)
w                 884 lib/widget/dialog.c     return add_widget_autopos (h, w, WPOS_KEEP_DEFAULT, before);
w                 891 lib/widget/dialog.c del_widget (void *w)
w                 897 lib/widget/dialog.c     if (w == NULL)
w                 900 lib/widget/dialog.c     h = WIDGET (w)->owner;
w                 902 lib/widget/dialog.c     d = g_list_find (h->widgets, w);
w                 960 lib/widget/dialog.c     GList *w;
w                 962 lib/widget/dialog.c     w = g_list_find_custom (h->widgets, (gconstpointer) callback, dlg_find_widget_callback);
w                 964 lib/widget/dialog.c     return (w == NULL) ? NULL : WIDGET (w->data);
w                 970 lib/widget/dialog.c dlg_find (const WDialog * h, const Widget * w)
w                 972 lib/widget/dialog.c     return (w->owner == NULL || w->owner != h) ? NULL : g_list_find (h->widgets, w);
w                 981 lib/widget/dialog.c     GList *w;
w                 983 lib/widget/dialog.c     w = g_list_find_custom (h->widgets, GUINT_TO_POINTER (id), dlg_find_widget_by_id);
w                 984 lib/widget/dialog.c     return w != NULL ? WIDGET (w->data) : NULL;
w                 993 lib/widget/dialog.c     Widget *w;
w                 995 lib/widget/dialog.c     w = dlg_find_by_id (h, id);
w                 996 lib/widget/dialog.c     if (w != NULL)
w                 997 lib/widget/dialog.c         widget_select (w);
w                1027 lib/widget/dialog.c         Widget *w = WIDGET (p->data);
w                1029 lib/widget/dialog.c         if (!widget_get_state (w, WST_DISABLED) && widget_get_options (w, WOP_WANT_CURSOR))
w                1030 lib/widget/dialog.c             send_message (w, NULL, MSG_CURSOR, 0, NULL);
w                1038 lib/widget/dialog.c                 w = WIDGET (p->data);
w                1040 lib/widget/dialog.c                 if (!widget_get_state (w, WST_DISABLED) && widget_get_options (w, WOP_WANT_CURSOR)
w                1041 lib/widget/dialog.c                     && send_message (w, NULL, MSG_CURSOR, 0, NULL) == MSG_HANDLED)
w                1303 lib/widget/dialog.c dlg_get_widget_next_of (GList * w)
w                1305 lib/widget/dialog.c     return dlg_get_next_or_prev_of (w, TRUE);
w                1319 lib/widget/dialog.c dlg_get_widget_prev_of (GList * w)
w                1321 lib/widget/dialog.c     return dlg_get_next_or_prev_of (w, FALSE);
w                 114 lib/widget/dialog.h unsigned long add_widget_autopos (WDialog * dest, void *w, widget_pos_flags_t pos_flags,
w                 116 lib/widget/dialog.h unsigned long add_widget (WDialog * dest, void *w);
w                 117 lib/widget/dialog.h unsigned long add_widget_before (WDialog * h, void *w, void *before);
w                 118 lib/widget/dialog.h void del_widget (void *w);
w                 142 lib/widget/dialog.h cb_ret_t dlg_default_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data);
w                 154 lib/widget/dialog.h GList *dlg_find (const WDialog * h, const Widget * w);
w                 167 lib/widget/dialog.h GList *dlg_get_widget_next_of (GList * w);
w                 168 lib/widget/dialog.h GList *dlg_get_widget_prev_of (GList * w);
w                  58 lib/widget/gauge.c gauge_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data)
w                  60 lib/widget/gauge.c     WGauge *g = GAUGE (w);
w                  61 lib/widget/gauge.c     WDialog *h = w->owner;
w                  66 lib/widget/gauge.c         widget_move (w, 0, 0);
w                  70 lib/widget/gauge.c             tty_printf ("%*s", w->cols, "");
w                  92 lib/widget/gauge.c             gauge_len = w->cols - 7;    /* 7 positions for percentage */
w                 117 lib/widget/gauge.c         return widget_default_callback (w, sender, msg, parm, data);
w                 129 lib/widget/gauge.c     Widget *w;
w                 132 lib/widget/gauge.c     w = WIDGET (g);
w                 133 lib/widget/gauge.c     widget_init (w, y, x, 1, cols, gauge_callback, NULL);
w                  56 lib/widget/groupbox.c groupbox_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data)
w                  58 lib/widget/groupbox.c     WGroupbox *g = GROUPBOX (w);
w                  64 lib/widget/groupbox.c             WDialog *h = w->owner;
w                  68 lib/widget/groupbox.c             disabled = widget_get_state (w, WST_DISABLED);
w                  70 lib/widget/groupbox.c             tty_draw_box (w->y, w->x, w->lines, w->cols, TRUE);
w                  75 lib/widget/groupbox.c                 widget_move (w, 0, 1);
w                  86 lib/widget/groupbox.c         return widget_default_callback (w, sender, msg, parm, data);
w                  98 lib/widget/groupbox.c     Widget *w;
w                 101 lib/widget/groupbox.c     w = WIDGET (g);
w                 102 lib/widget/groupbox.c     widget_init (w, y, x, height, width, groupbox_callback, NULL);
w                 113 lib/widget/history.c history_dlg_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data)
w                 118 lib/widget/history.c         return history_dlg_reposition (DIALOG (w));
w                 123 lib/widget/history.c             WDialog *d = DIALOG (w);
w                 145 lib/widget/history.c         return dlg_default_callback (w, sender, msg, parm, data);
w                  57 lib/widget/hline.c hline_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data)
w                  59 lib/widget/hline.c     WHLine *l = HLINE (w);
w                  60 lib/widget/hline.c     WDialog *h = w->owner;
w                  72 lib/widget/hline.c                 w->x = wo->x;
w                  73 lib/widget/hline.c                 w->cols = wo->cols;
w                  77 lib/widget/hline.c                 w->x = wo->x + 1;
w                  78 lib/widget/hline.c                 w->cols = wo->cols - 2;
w                  89 lib/widget/hline.c         tty_draw_hline (w->y, w->x + 1, ACS_HLINE, w->cols - 2);
w                  93 lib/widget/hline.c             widget_move (w, 0, 0);
w                  95 lib/widget/hline.c             widget_move (w, 0, w->cols - 1);
w                 104 lib/widget/hline.c             widget_move (w, 0, (w->cols - text_width) / 2);
w                 114 lib/widget/hline.c         return widget_default_callback (w, sender, msg, parm, data);
w                 126 lib/widget/hline.c     Widget *w;
w                 130 lib/widget/hline.c     w = WIDGET (l);
w                 131 lib/widget/hline.c     widget_init (w, y, x, lines, width < 0 ? 1 : width, hline_callback, NULL);
w                 934 lib/widget/input.c input_mouse_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event)
w                 938 lib/widget/input.c     WInput *in = INPUT (w);
w                 943 lib/widget/input.c         widget_select (w);
w                 946 lib/widget/input.c         if (event->x >= w->cols - HISTORY_BUTTON_WIDTH && should_show_history_button (in))
w                 992 lib/widget/input.c     Widget *w;
w                 995 lib/widget/input.c     w = WIDGET (in);
w                 996 lib/widget/input.c     widget_init (w, y, x, 1, width, input_callback, input_mouse_callback);
w                 997 lib/widget/input.c     w->options |= WOP_SELECTABLE | WOP_IS_INPUT | WOP_WANT_CURSOR;
w                1039 lib/widget/input.c input_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data)
w                1041 lib/widget/input.c     WInput *in = INPUT (w);
w                1048 lib/widget/input.c         mc_event_add (w->owner->event_group, MCEVENT_HISTORY_LOAD, input_load_history, w, NULL);
w                1050 lib/widget/input.c         mc_event_add (w->owner->event_group, MCEVENT_HISTORY_SAVE, input_save_history, w, NULL);
w                1052 lib/widget/input.c             widget_set_state (WIDGET (in->label), WST_DISABLED, widget_get_state (w, WST_DISABLED));
w                1099 lib/widget/input.c         mc_event_del (w->owner->event_group, MCEVENT_HISTORY_LOAD, input_load_history, w);
w                1101 lib/widget/input.c         mc_event_del (w->owner->event_group, MCEVENT_HISTORY_SAVE, input_save_history, w);
w                1106 lib/widget/input.c         return widget_default_callback (w, sender, msg, parm, data);
w                1187 lib/widget/input.c     Widget *w = WIDGET (in);
w                1199 lib/widget/input.c     buffer_len = 1 + MAX ((size_t) w->cols, text_len);
w                1201 lib/widget/input.c     if (buffer_len > (size_t) w->cols)
w                1252 lib/widget/input.c     Widget *w = WIDGET (in);
w                1262 lib/widget/input.c     if (w->owner == NULL || !widget_get_state (WIDGET (w->owner), WST_ACTIVE))
w                1276 lib/widget/input.c     if ((pw < in->term_first_shown) || (pw >= in->term_first_shown + w->cols - has_history))
w                1278 lib/widget/input.c         in->term_first_shown = pw - (w->cols / 3);
w                1286 lib/widget/input.c     if (widget_get_state (w, WST_DISABLED))
w                1299 lib/widget/input.c                                                   w->cols - has_history));
w                1307 lib/widget/input.c                 cp = str_term_substring (in->buffer, in->term_first_shown, w->cols - has_history);
w                1324 lib/widget/input.c                         MIN (m2 - m1, (w->cols - has_history) - (buf_width - in->term_first_shown));
w                1334 lib/widget/input.c         cp = str_term_substring (in->buffer, in->term_first_shown, w->cols - has_history);
w                1336 lib/widget/input.c         for (i = 0; i < w->cols - has_history; i++)
w                  92 lib/widget/input.h cb_ret_t input_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data);
w                 993 lib/widget/input_complete.c         Widget *w = WIDGET (in);
w                 995 lib/widget/input_complete.c         narea = g_try_realloc (in->buffer, in->current_max_size + size + w->cols);
w                 999 lib/widget/input_complete.c             in->current_max_size += size + w->cols;
w                1018 lib/widget/input_complete.c query_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data)
w                1022 lib/widget/input_complete.c     WDialog *h = DIALOG (w);
w                1189 lib/widget/input_complete.c         return dlg_default_callback (w, sender, msg, parm, data);
w                1223 lib/widget/input_complete.c             int x, y, w, h;
w                1254 lib/widget/input_complete.c             w = maxlen + 4;
w                1255 lib/widget/input_complete.c             if (x + w > COLS)
w                1256 lib/widget/input_complete.c                 x = COLS - w;
w                1259 lib/widget/input_complete.c             if (x + w > COLS)
w                1260 lib/widget/input_complete.c                 w = COLS;
w                1265 lib/widget/input_complete.c             query_width = w;
w                1269 lib/widget/input_complete.c             query_list = listbox_new (1, 1, h - 2, w - 2, FALSE, NULL);
w                  60 lib/widget/label.c label_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data)
w                  62 lib/widget/label.c     WLabel *l = LABEL (w);
w                  63 lib/widget/label.c     WDialog *h = w->owner;
w                  77 lib/widget/label.c             disabled = widget_get_state (w, WST_DISABLED);
w                  84 lib/widget/label.c             align = (w->pos_flags & WPOS_CENTER_HORZ) != 0 ? J_CENTER_LEFT : J_LEFT;
w                  99 lib/widget/label.c                 widget_move (w, y, 0);
w                 100 lib/widget/label.c                 tty_print_string (str_fit_to_term (p, w->cols, align));
w                 117 lib/widget/label.c         return widget_default_callback (w, sender, msg, parm, data);
w                 129 lib/widget/label.c     Widget *w;
w                 137 lib/widget/label.c     w = WIDGET (l);
w                 138 lib/widget/label.c     widget_init (w, y, x, lines, cols, label_callback, NULL);
w                 152 lib/widget/label.c     Widget *w = WIDGET (label);
w                 153 lib/widget/label.c     int newcols = w->cols;
w                 169 lib/widget/label.c             if (newcols > w->cols)
w                 170 lib/widget/label.c                 w->cols = newcols;
w                 171 lib/widget/label.c             if (newlines > w->lines)
w                 172 lib/widget/label.c                 w->lines = newlines;
w                 176 lib/widget/label.c     widget_redraw (w);
w                 178 lib/widget/label.c     if (newcols < w->cols)
w                 179 lib/widget/label.c         w->cols = newcols;
w                  92 lib/widget/listbox.c     Widget *w = WIDGET (l);
w                  93 lib/widget/listbox.c     int max_line = w->lines - 1;
w                  99 lib/widget/listbox.c     widget_move (w, 0, w->cols);
w                 108 lib/widget/listbox.c     widget_move (w, max_line, w->cols);
w                 109 lib/widget/listbox.c     if (l->top + w->lines == length || w->lines >= length)
w                 116 lib/widget/listbox.c         line = 1 + ((l->pos * (w->lines - 2)) / length);
w                 120 lib/widget/listbox.c         widget_move (w, i, w->cols);
w                 133 lib/widget/listbox.c     Widget *w = WIDGET (l);
w                 134 lib/widget/listbox.c     const WDialog *h = w->owner;
w                 143 lib/widget/listbox.c     disabled = widget_get_state (w, WST_DISABLED);
w                 162 lib/widget/listbox.c     for (i = 0; i < w->lines; i++)
w                 186 lib/widget/listbox.c         tty_print_string (str_fit_to_term (text, w->cols - 2, J_LEFT_FIT));
w                 191 lib/widget/listbox.c     if (l->scrollbar && length > w->lines)
w                 279 lib/widget/listbox.c     Widget *w = WIDGET (l);
w                 299 lib/widget/listbox.c         listbox_back_n (l, w->lines - 1);
w                 302 lib/widget/listbox.c         listbox_fwd_n (l, w->lines - 1);
w                 313 lib/widget/listbox.c             is_more = (l->top + w->lines >= length);
w                 454 lib/widget/listbox.c listbox_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data)
w                 456 lib/widget/listbox.c     WListbox *l = LISTBOX (w);
w                 488 lib/widget/listbox.c         listbox_draw (l, widget_get_state (w, WST_FOCUSED));
w                 499 lib/widget/listbox.c         return widget_default_callback (w, sender, msg, parm, data);
w                 506 lib/widget/listbox.c listbox_mouse_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event)
w                 508 lib/widget/listbox.c     WListbox *l = LISTBOX (w);
w                 516 lib/widget/listbox.c         widget_select (w);
w                 556 lib/widget/listbox.c     Widget *w;
w                 562 lib/widget/listbox.c     w = WIDGET (l);
w                 563 lib/widget/listbox.c     widget_init (w, y, x, height, width, listbox_callback, listbox_mouse_callback);
w                 564 lib/widget/listbox.c     w->options |= WOP_SELECTABLE | WOP_WANT_HOTKEY;
w                 124 lib/widget/menu.c     Widget *w = WIDGET (menubar);
w                 130 lib/widget/menu.c     if (x + menu->max_entry_len + 4 > (gsize) w->cols)
w                 131 lib/widget/menu.c         x = w->cols - menu->max_entry_len - 4;
w                 138 lib/widget/menu.c         widget_move (w, y, x - 1);
w                 140 lib/widget/menu.c         tty_draw_hline (w->y + y, w->x + x, ACS_HLINE, menu->max_entry_len + 3);
w                 141 lib/widget/menu.c         widget_move (w, y, x + menu->max_entry_len + 3);
w                 150 lib/widget/menu.c         widget_move (w, y, x);
w                 168 lib/widget/menu.c             widget_move (w, y, x + menu->max_hotkey_len + 3);
w                 173 lib/widget/menu.c         widget_move (w, y, x + 1);
w                 182 lib/widget/menu.c     Widget *w = WIDGET (menubar);
w                 188 lib/widget/menu.c     if (column + menu->max_entry_len + 5 > (gsize) w->cols)
w                 189 lib/widget/menu.c         column = w->cols - menu->max_entry_len - 5;
w                 192 lib/widget/menu.c     tty_draw_box (w->y + 1, w->x + column, count + 2, menu->max_entry_len + 5, FALSE);
w                 217 lib/widget/menu.c     Widget *w = WIDGET (menubar);
w                 221 lib/widget/menu.c     tty_setcolor (widget_get_state (w, WST_FOCUSED) ? MENU_ENTRY_COLOR : MENU_INACTIVE_COLOR);
w                 222 lib/widget/menu.c     tty_draw_hline (w->y, w->x, ' ', w->cols);
w                 231 lib/widget/menu.c         widget_move (w, 0, menu->start_x);
w                 252 lib/widget/menu.c         widget_move (w, 0, MENU (g_list_nth_data (menubar->menu, menubar->selected))->start_x);
w                 308 lib/widget/menu.c     Widget *w = WIDGET (menubar);
w                 310 lib/widget/menu.c     widget_set_state (w, WST_FOCUSED, FALSE);
w                 312 lib/widget/menu.c     w->lines = 1;
w                 313 lib/widget/menu.c     widget_want_hotkey (w, FALSE);
w                 314 lib/widget/menu.c     widget_set_options (w, WOP_SELECTABLE, FALSE);
w                 318 lib/widget/menu.c     widget_set_bottom (w);
w                 320 lib/widget/menu.c     dlg_select_by_id (w->owner, menubar->previous_widget);
w                 344 lib/widget/menu.c         Widget *w = WIDGET (menubar);
w                 348 lib/widget/menu.c         send_message (w->owner, w, MSG_ACTION, entry->command, NULL);
w                 610 lib/widget/menu.c     Widget *w = WIDGET (menubar);
w                 612 lib/widget/menu.c     if (!widget_get_state (w, WST_FOCUSED))
w                 616 lib/widget/menu.c     w->lines = LINES;
w                 619 lib/widget/menu.c     widget_want_hotkey (w, TRUE);
w                 635 lib/widget/menu.c menubar_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data)
w                 637 lib/widget/menu.c     WMenuBar *menubar = MENUBAR (w);
w                 651 lib/widget/menu.c         return widget_get_state (w, WST_FOCUSED) ? MSG_NOT_HANDLED : MSG_HANDLED;
w                 656 lib/widget/menu.c         if (widget_get_state (w, WST_FOCUSED))
w                 682 lib/widget/menu.c         return widget_default_callback (w, sender, msg, parm, data);
w                 710 lib/widget/menu.c     Widget *w = WIDGET (menubar);
w                 720 lib/widget/menu.c     if (right_x > w->cols)
w                 722 lib/widget/menu.c         left_x = w->cols - (menu->max_entry_len + 3);
w                 723 lib/widget/menu.c         right_x = w->cols;
w                 754 lib/widget/menu.c menubar_mouse_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event)
w                 758 lib/widget/menu.c     WMenuBar *menubar = MENUBAR (w);
w                 797 lib/widget/menu.c             w->mouse.capture = FALSE;
w                 838 lib/widget/menu.c         if (widget_get_state (w, WST_FOCUSED))
w                 941 lib/widget/menu.c     Widget *w;
w                 944 lib/widget/menu.c     w = WIDGET (menubar);
w                 945 lib/widget/menu.c     widget_init (w, 0, 0, 1, COLS, menubar_callback, menubar_mouse_callback);
w                 946 lib/widget/menu.c     w->pos_flags = WPOS_KEEP_HORZ | WPOS_KEEP_TOP;
w                 948 lib/widget/menu.c     widget_set_options (w, WOP_SELECTABLE, FALSE);
w                 949 lib/widget/menu.c     w->options |= WOP_TOP_SELECT;
w                1058 lib/widget/menu.c     Widget *w = WIDGET (menubar);
w                1060 lib/widget/menu.c     if (!widget_get_state (w, WST_FOCUSED))
w                1062 lib/widget/menu.c         widget_set_options (w, WOP_SELECTABLE, TRUE);
w                1064 lib/widget/menu.c         widget_set_state (w, WST_FOCUSED, TRUE);        /* FIXME: unneeded? */
w                1069 lib/widget/menu.c         menubar->previous_widget = dlg_get_current_widget_id (w->owner);
w                1073 lib/widget/menu.c         widget_select (w);
w                  61 lib/widget/mouse.c                   const Widget * w)
w                  64 lib/widget/mouse.c     event->x = global_gpm->x - w->x - 1;        /* '-1' because Gpm_Event is 1-based. */
w                  65 lib/widget/mouse.c     event->y = global_gpm->y - w->y - 1;
w                  85 lib/widget/mouse.c mouse_translate_event (Widget * w, Gpm_Event * event)
w                  97 lib/widget/mouse.c     in_widget = w->mouse.forced_capture || mouse_global_in_widget (event, w);
w                 115 lib/widget/mouse.c                 w->mouse.capture = TRUE;
w                 118 lib/widget/mouse.c                 w->mouse.last_buttons_down = event->buttons;
w                 127 lib/widget/mouse.c         if (w->mouse.capture)
w                 129 lib/widget/mouse.c             w->mouse.capture = FALSE;
w                 141 lib/widget/mouse.c                 event->buttons = w->mouse.last_buttons_down;
w                 146 lib/widget/mouse.c         if (w->mouse.capture)
w                 155 lib/widget/mouse.c     init_mouse_event (&local, msg, event, w);
w                 176 lib/widget/mouse.c mouse_process_event (Widget * w, mouse_event_t * event)
w                 182 lib/widget/mouse.c         w->mouse_callback (w, event->msg, event);
w                 187 lib/widget/mouse.c             w->mouse.capture = FALSE;
w                 191 lib/widget/mouse.c         if (event->msg == MSG_MOUSE_UP && w->mouse.last_msg == MSG_MOUSE_DOWN)
w                 192 lib/widget/mouse.c             w->mouse_callback (w, MSG_MOUSE_CLICK, event);
w                 195 lib/widget/mouse.c         w->mouse.last_msg = event->msg;
w                  61 lib/widget/mouse.h mouse_event_t mouse_translate_event (Widget * w, Gpm_Event * event);
w                  63 lib/widget/mouse.h int mouse_process_event (Widget * w, mouse_event_t * event);
w                 310 lib/widget/quick.c                 Widget *w = WIDGET (g);
w                 313 lib/widget/quick.c                 w->lines = y + 1 - w->y;
w                  55 lib/widget/radio.c radio_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data)
w                  57 lib/widget/radio.c     WRadio *r = RADIO (w);
w                  75 lib/widget/radio.c                 send_message (w, sender, MSG_KEY, ' ', data);
w                  86 lib/widget/radio.c             widget_set_state (w, WST_FOCUSED, TRUE);    /* Also draws the widget. */
w                  87 lib/widget/radio.c             send_message (w->owner, w, MSG_NOTIFY, 0, NULL);
w                  95 lib/widget/radio.c                 widget_redraw (w);
w                 105 lib/widget/radio.c                 widget_redraw (w);
w                 122 lib/widget/radio.c             focused = widget_get_state (w, WST_FOCUSED);
w                 126 lib/widget/radio.c                 widget_selectcolor (w, i == r->pos && focused, FALSE);
w                 127 lib/widget/radio.c                 widget_move (w, i, 0);
w                 128 lib/widget/radio.c                 tty_draw_hline (w->y + i, w->x, ' ', w->cols);
w                 130 lib/widget/radio.c                 hotkey_draw (w, r->texts[i], i == r->pos && focused);
w                 143 lib/widget/radio.c         return widget_default_callback (w, sender, msg, parm, data);
w                 150 lib/widget/radio.c radio_mouse_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event)
w                 155 lib/widget/radio.c         RADIO (w)->pos = event->y;
w                 156 lib/widget/radio.c         widget_select (w);
w                 160 lib/widget/radio.c         RADIO (w)->pos = event->y;
w                 161 lib/widget/radio.c         send_message (w, NULL, MSG_KEY, ' ', NULL);
w                 162 lib/widget/radio.c         send_message (w->owner, w, MSG_POST_KEY, ' ', NULL);
w                 178 lib/widget/radio.c     Widget *w;
w                 182 lib/widget/radio.c     w = WIDGET (r);
w                 197 lib/widget/radio.c     widget_init (w, y, x, count, 4 + wmax, radio_callback, radio_mouse_callback);
w                 198 lib/widget/radio.c     w->options |= WOP_SELECTABLE | WOP_WANT_CURSOR | WOP_WANT_HOTKEY;
w                  61 lib/widget/widget-common.c widget_do_focus (Widget * w, gboolean enable)
w                  63 lib/widget/widget-common.c     if (w != NULL && widget_get_state (WIDGET (w->owner), WST_FOCUSED))
w                  64 lib/widget/widget-common.c         widget_set_state (w, WST_FOCUSED, enable);
w                  75 lib/widget/widget-common.c widget_focus (Widget * w)
w                  77 lib/widget/widget-common.c     WDialog *h = DIALOG (w->owner);
w                  82 lib/widget/widget-common.c     if (WIDGET (h->current->data) != w)
w                  88 lib/widget/widget-common.c             widget_do_focus (w, TRUE);
w                  89 lib/widget/widget-common.c             h->current = dlg_find (h, w);
w                  92 lib/widget/widget-common.c     else if (!widget_get_state (w, WST_FOCUSED))
w                  93 lib/widget/widget-common.c         widget_do_focus (w, TRUE);
w                 177 lib/widget/widget-common.c hotkey_draw (Widget * w, const hotkey_t hotkey, gboolean focused)
w                 179 lib/widget/widget-common.c     widget_selectcolor (w, focused, FALSE);
w                 184 lib/widget/widget-common.c         widget_selectcolor (w, focused, TRUE);
w                 186 lib/widget/widget-common.c         widget_selectcolor (w, focused, FALSE);
w                 196 lib/widget/widget-common.c widget_init (Widget * w, int y, int x, int lines, int cols,
w                 199 lib/widget/widget-common.c     w->x = x;
w                 200 lib/widget/widget-common.c     w->y = y;
w                 201 lib/widget/widget-common.c     w->cols = cols;
w                 202 lib/widget/widget-common.c     w->lines = lines;
w                 203 lib/widget/widget-common.c     w->pos_flags = WPOS_KEEP_DEFAULT;
w                 204 lib/widget/widget-common.c     w->callback = callback;
w                 205 lib/widget/widget-common.c     w->mouse_callback = mouse_callback;
w                 206 lib/widget/widget-common.c     w->owner = NULL;
w                 207 lib/widget/widget-common.c     w->mouse.forced_capture = FALSE;
w                 208 lib/widget/widget-common.c     w->mouse.capture = FALSE;
w                 209 lib/widget/widget-common.c     w->mouse.last_msg = MSG_MOUSE_NONE;
w                 210 lib/widget/widget-common.c     w->mouse.last_buttons_down = 0;
w                 212 lib/widget/widget-common.c     w->options = WOP_DEFAULT;
w                 213 lib/widget/widget-common.c     w->state = WST_DEFAULT;
w                 220 lib/widget/widget-common.c widget_default_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data)
w                 222 lib/widget/widget-common.c     (void) w;
w                 255 lib/widget/widget-common.c widget_set_options (Widget * w, widget_options_t options, gboolean enable)
w                 258 lib/widget/widget-common.c         w->options |= options;
w                 260 lib/widget/widget-common.c         w->options &= ~options;
w                 275 lib/widget/widget-common.c widget_set_state (Widget * w, widget_state_t state, gboolean enable)
w                 280 lib/widget/widget-common.c         w->state |= state;
w                 282 lib/widget/widget-common.c         w->state &= ~state;
w                 288 lib/widget/widget-common.c             w->state &= ~(WST_ACTIVE | WST_SUSPENDED | WST_CLOSED);
w                 290 lib/widget/widget-common.c             w->state &= ~(WST_CONSTRUCT | WST_SUSPENDED | WST_CLOSED);
w                 292 lib/widget/widget-common.c             w->state &= ~(WST_CONSTRUCT | WST_ACTIVE | WST_CLOSED);
w                 294 lib/widget/widget-common.c             w->state &= ~(WST_CONSTRUCT | WST_ACTIVE | WST_SUSPENDED);
w                 297 lib/widget/widget-common.c     if (w->owner == NULL)
w                 303 lib/widget/widget-common.c         ret = send_message (w, NULL, enable ? MSG_DISABLE : MSG_ENABLE, 0, NULL);
w                 304 lib/widget/widget-common.c         if (ret == MSG_HANDLED && widget_get_state (WIDGET (w->owner), WST_ACTIVE))
w                 305 lib/widget/widget-common.c             ret = send_message (w, NULL, MSG_DRAW, 0, NULL);
w                 313 lib/widget/widget-common.c             ret = send_message (w, NULL, msg, 0, NULL);
w                 314 lib/widget/widget-common.c             if (ret == MSG_HANDLED && widget_get_state (WIDGET (w->owner), WST_ACTIVE))
w                 316 lib/widget/widget-common.c                 send_message (w, NULL, MSG_DRAW, 0, NULL);
w                 318 lib/widget/widget-common.c                 send_message (w->owner, w, MSG_CHANGED_FOCUS, 0, NULL);
w                 377 lib/widget/widget-common.c widget_selectcolor (Widget * w, gboolean focused, gboolean hotkey)
w                 379 lib/widget/widget-common.c     WDialog *h = w->owner;
w                 382 lib/widget/widget-common.c     if (widget_get_state (w, WST_DISABLED))
w                 405 lib/widget/widget-common.c widget_erase (Widget * w)
w                 407 lib/widget/widget-common.c     if (w != NULL)
w                 408 lib/widget/widget-common.c         tty_fill_region (w->y, w->x, w->lines, w->cols, ' ');
w                 420 lib/widget/widget-common.c widget_is_active (const void *w)
w                 422 lib/widget/widget-common.c     return (w == CONST_WIDGET (w)->owner->current->data);
w                 428 lib/widget/widget-common.c widget_redraw (Widget * w)
w                 430 lib/widget/widget-common.c     if (w != NULL)
w                 432 lib/widget/widget-common.c         WDialog *h = w->owner;
w                 435 lib/widget/widget-common.c             w->callback (w, NULL, MSG_DRAW, 0, NULL);
w                 511 lib/widget/widget-common.c widget_select (Widget * w)
w                 515 lib/widget/widget-common.c     if (!widget_get_options (w, WOP_SELECTABLE))
w                 518 lib/widget/widget-common.c     h = w->owner;
w                 521 lib/widget/widget-common.c         if (widget_get_options (w, WOP_TOP_SELECT))
w                 525 lib/widget/widget-common.c             l = dlg_find (h, w);
w                 529 lib/widget/widget-common.c         widget_focus (w);
w                 539 lib/widget/widget-common.c widget_set_bottom (Widget * w)
w                 541 lib/widget/widget-common.c     widget_reorder (dlg_find (w->owner, w), FALSE);
w                 564 lib/widget/widget-common.c mouse_get_local (const Gpm_Event * global, const Widget * w)
w                 575 lib/widget/widget-common.c     local.x = global->x - w->x;
w                 576 lib/widget/widget-common.c     local.y = global->y - w->y;
w                 585 lib/widget/widget-common.c mouse_global_in_widget (const Gpm_Event * event, const Widget * w)
w                 587 lib/widget/widget-common.c     return (event->x > w->x) && (event->y > w->y) && (event->x <= w->x + w->cols)
w                 588 lib/widget/widget-common.c         && (event->y <= w->y + w->lines);
w                  17 lib/widget/widget-common.h #define widget_move(w, _y, _x) tty_gotoyx (CONST_WIDGET(w)->y + (_y), CONST_WIDGET(w)->x + (_x))
w                  19 lib/widget/widget-common.h #define widget_want_cursor(w,i) widget_set_options(w, WOP_WANT_CURSOR, i)
w                  20 lib/widget/widget-common.h #define widget_want_hotkey(w,i) widget_set_options(w, WOP_WANT_HOTKEY, i)
w                  21 lib/widget/widget-common.h #define widget_want_tab(w,i) widget_set_options(w, WOP_WANT_TAB, i)
w                  22 lib/widget/widget-common.h #define widget_idle(w,i) widget_set_state(w, WST_IDLE, i)
w                  23 lib/widget/widget-common.h #define widget_disable(w,i) widget_set_state(w, WST_DISABLED, i)
w                 124 lib/widget/widget-common.h typedef void (*widget_mouse_cb_fn) (Widget * w, mouse_msg_t msg, mouse_event_t * event);
w                 173 lib/widget/widget-common.h void hotkey_draw (Widget * w, const hotkey_t hotkey, gboolean focused);
w                 176 lib/widget/widget-common.h void widget_init (Widget * w, int y, int x, int lines, int cols,
w                 179 lib/widget/widget-common.h cb_ret_t widget_default_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm,
w                 181 lib/widget/widget-common.h void widget_set_options (Widget * w, widget_options_t options, gboolean enable);
w                 182 lib/widget/widget-common.h cb_ret_t widget_set_state (Widget * w, widget_state_t state, gboolean enable);
w                 186 lib/widget/widget-common.h void widget_selectcolor (Widget * w, gboolean focused, gboolean hotkey);
w                 187 lib/widget/widget-common.h void widget_redraw (Widget * w);
w                 188 lib/widget/widget-common.h void widget_erase (Widget * w);
w                 189 lib/widget/widget-common.h gboolean widget_is_active (const void *w);
w                 192 lib/widget/widget-common.h void widget_select (Widget * w);
w                 193 lib/widget/widget-common.h void widget_set_bottom (Widget * w);
w                 196 lib/widget/widget-common.h Gpm_Event mouse_get_local (const Gpm_Event * global, const Widget * w);
w                 197 lib/widget/widget-common.h gboolean mouse_global_in_widget (const Gpm_Event * event, const Widget * w);
w                 204 lib/widget/widget-common.h send_message (void *w, void *sender, widget_msg_t msg, int parm, void *data)
w                 209 lib/widget/widget-common.h     if (w != NULL)              /* This must be always true, but... */
w                 211 lib/widget/widget-common.h         ret = WIDGET (w)->callback (WIDGET (w), WIDGET (sender), msg, parm, data);
w                 226 lib/widget/widget-common.h widget_get_options (const Widget * w, widget_options_t options)
w                 228 lib/widget/widget-common.h     return ((w->options & options) == options);
w                 242 lib/widget/widget-common.h widget_get_state (const Widget * w, widget_state_t state)
w                 244 lib/widget/widget-common.h     return ((w->state & state) == state);
w                  66 lib/widget/wtools.c query_default_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data)
w                  68 lib/widget/wtools.c     WDialog *h = DIALOG (w);
w                  73 lib/widget/wtools.c         if ((w->pos_flags & WPOS_CENTER) == 0)
w                  97 lib/widget/wtools.c                 ypos = LINES / 3 - (w->lines - 3) / 2;
w                 101 lib/widget/wtools.c             xpos = COLS / 2 - w->cols / 2;
w                 104 lib/widget/wtools.c             dlg_set_position (h, ypos, xpos, w->lines, w->cols);
w                 111 lib/widget/wtools.c         return dlg_default_callback (w, sender, msg, parm, data);
w                2275 src/diffviewer/ydiff.c     Widget *w = WIDGET (dview);
w                2277 src/diffviewer/ydiff.c     dview->height = w->lines - 1;
w                2278 src/diffviewer/ydiff.c     dview->half1 = w->cols / 2;
w                2279 src/diffviewer/ydiff.c     dview->half2 = w->cols - dview->half1;
w                3306 src/diffviewer/ydiff.c dview_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data)
w                3308 src/diffviewer/ydiff.c     WDiff *dview = (WDiff *) w;
w                3309 src/diffviewer/ydiff.c     WDialog *h = w->owner;
w                3351 src/diffviewer/ydiff.c         return widget_default_callback (w, sender, msg, parm, data);
w                3358 src/diffviewer/ydiff.c dview_mouse_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event)
w                3360 src/diffviewer/ydiff.c     WDiff *dview = (WDiff *) w;
w                3385 src/diffviewer/ydiff.c dview_dialog_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data)
w                3388 src/diffviewer/ydiff.c     WDialog *h = DIALOG (w);
w                3402 src/diffviewer/ydiff.c         widget_set_state (w, WST_ACTIVE, TRUE);
w                3408 src/diffviewer/ydiff.c         return dlg_default_callback (w, sender, msg, parm, data);
w                3444 src/diffviewer/ydiff.c     Widget *w;
w                3456 src/diffviewer/ydiff.c     w = WIDGET (dview);
w                3457 src/diffviewer/ydiff.c     widget_init (w, dw->y, dw->x, dw->lines - 1, dw->cols, dview_callback, dview_mouse_callback);
w                3458 src/diffviewer/ydiff.c     w->options |= WOP_SELECTABLE;
w                3459 src/diffviewer/ydiff.c     add_widget_autopos (dview_dlg, w, WPOS_KEEP_ALL, NULL);
w                3461 src/diffviewer/ydiff.c     w = WIDGET (buttonbar_new (TRUE));
w                3462 src/diffviewer/ydiff.c     add_widget_autopos (dview_dlg, w, w->pos_flags, NULL);
w                 142 src/editor/edit-impl.h gboolean edit_widget_is_editor (const Widget * w);
w                2105 src/editor/edit.c         Widget *w;
w                2109 src/editor/edit.c         w = WIDGET (edit);
w                2110 src/editor/edit.c         widget_init (w, y, x, lines, cols, NULL, NULL);
w                2111 src/editor/edit.c         w->options |= WOP_SELECTABLE | WOP_TOP_SELECT | WOP_WANT_CURSOR;
w                2233 src/editor/edit.c     Widget *w = WIDGET (edit);
w                2237 src/editor/edit.c     *WIDGET (e) = *w;
w                2245 src/editor/edit.c     if (edit_init (e, w->y, w->x, w->lines, w->cols, filename_vpath, line) == NULL)
w                3254 src/editor/edit.c     Widget *w = WIDGET (edit);
w                3554 src/editor/edit.c         edit_move_up (edit, w->lines - 1, TRUE);
w                3561 src/editor/edit.c         edit_move_down (edit, w->lines - 1, TRUE);
w                3746 src/editor/edit.c                 if (p->line >= edit->start_line + w->lines || p->line < edit->start_line)
w                3747 src/editor/edit.c                     edit_move_display (edit, p->line - w->lines / 2);
w                3763 src/editor/edit.c                 if (p->line >= edit->start_line + w->lines || p->line < edit->start_line)
w                3764 src/editor/edit.c                     edit_move_display (edit, p->line - w->lines / 2);
w                 150 src/editor/editcmd.c edit_save_mode_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data)
w                 159 src/editor/editcmd.c             ww = dlg_find_by_id (DIALOG (w), edit_save_mode_input_id);
w                 167 src/editor/editcmd.c         return dlg_default_callback (w, sender, msg, parm, data);
w                 519 src/editor/editcmd.c     Widget *w = WIDGET (h);
w                 521 src/editor/editcmd.c     return edit_add_window (h, w->y + 1, w->x, w->lines - 2, w->cols, vpath, 0);
w                  71 src/editor/editcmd_dialogs.c editcmd_dialog_raw_key_query_cb (Widget * w, Widget * sender, widget_msg_t msg, int parm,
w                  74 src/editor/editcmd_dialogs.c     WDialog *h = DIALOG (w);
w                  83 src/editor/editcmd_dialogs.c         return dlg_default_callback (w, sender, msg, parm, data);
w                 246 src/editor/editcmd_dialogs.c     Widget *w = WIDGET (edit);
w                 257 src/editor/editcmd_dialogs.c         xpos = w->x + option_line_state_width + 1;
w                 259 src/editor/editcmd_dialogs.c         ypos = w->y + w->lines / 2;
w                 264 src/editor/editcmd_dialogs.c     dlg_width = WIDGET (w->owner)->cols - xpos - 1;
w                 311 src/editor/editcmd_dialogs.c     int w, wq;
w                 315 src/editor/editcmd_dialogs.c     w = str_term_width1 (heading) + 6;
w                 317 src/editor/editcmd_dialogs.c     w = MAX (w, wq + 3 * 2 + 1 + 2);
w                 320 src/editor/editcmd_dialogs.c         dlg_create (TRUE, 0, 0, cancel ? 7 : 5, w, WPOS_CENTER | WPOS_TRYUP, FALSE, dialog_colors,
w                 326 src/editor/editcmd_dialogs.c                                     w - (6 + wq + 1), "", 0, INPUT_COMPLETE_NONE));
w                 335 src/editor/editcmd_dialogs.c     w = dlg_run (raw_dlg);
w                 338 src/editor/editcmd_dialogs.c     return (cancel && (w == ESC_CHAR || w == B_CANCEL)) ? 0 : w;
w                 108 src/editor/editdraw.c status_string (WEdit * edit, char *s, int w)
w                 155 src/editor/editdraw.c         g_snprintf (s, w,
w                 170 src/editor/editdraw.c         g_snprintf (s, w,
w                 200 src/editor/editdraw.c     const int w = h->cols;
w                 201 src/editor/editdraw.c     const size_t status_size = w + 1;
w                 225 src/editor/editdraw.c     if (fname_len + gap + status_len + right_gap >= w)
w                 227 src/editor/editdraw.c         if (preferred_fname_len + gap + status_len + right_gap >= w)
w                 230 src/editor/editdraw.c             fname_len = w - (gap + status_len + right_gap);
w                 237 src/editor/editdraw.c     printwstr (status, w - (fname_len + gap));
w                 239 src/editor/editdraw.c     if (simple_statusbar && w > EDITOR_MINIMUM_TERMINAL_WIDTH)
w                 244 src/editor/editdraw.c         widget_move (h, 0, w - 6 - 6);
w                 261 src/editor/editdraw.c     Widget *w = WIDGET (edit);
w                 263 src/editor/editdraw.c     int cols = w->cols;
w                 284 src/editor/editdraw.c         tty_printf ("[%s]", str_term_trim (fname, w->cols - 8 - 6));
w                 288 src/editor/editdraw.c     x -= w->x;
w                 301 src/editor/editdraw.c         edit_move (2, w->lines - 1);
w                 315 src/editor/editdraw.c         edit_move (32, w->lines - 1);
w                 352 src/editor/editdraw.c     const Widget *w = CONST_WIDGET (edit);
w                 357 src/editor/editdraw.c     tty_draw_box (w->y, w->x, w->lines, w->cols, !active);
w                 362 src/editor/editdraw.c         widget_move (w, w->lines - 1, w->cols - 1);
w                 378 src/editor/editdraw.c     const Widget *w = CONST_WIDGET (edit);
w                 383 src/editor/editdraw.c         widget_move (w->owner, 0, WIDGET (w->owner)->cols - 6);
w                 385 src/editor/editdraw.c         widget_move (w, 0, w->cols - 8);
w                 396 src/editor/editdraw.c     Widget *w = WIDGET (edit);
w                 421 src/editor/editdraw.c     if (len > 0 && w->y + y >= 0)
w                 424 src/editor/editdraw.c             tty_draw_hline (w->y + y, w->x + x1, ' ', len);
w                 428 src/editor/editdraw.c             tty_draw_hline (w->y + y, w->x + x1, ' ', len);
w                 433 src/editor/editdraw.c                 tty_draw_hline (w->y + y, w->x + x1, ' ', wrap_start);
w                 439 src/editor/editdraw.c                 tty_draw_hline (w->y + y, w->x + x1 + wrap_start, ' ', len);
w                 514 src/editor/editdraw.c     Widget *w = WIDGET (edit);
w                 526 src/editor/editdraw.c     if (row > w->lines - 1 - EDIT_TEXT_VERTICAL_OFFSET - 2 * (edit->fullscreen ? 0 : 1))
w                 543 src/editor/editdraw.c         if (w->x + w->cols <= WIDGET (w->owner)->cols)
w                 864 src/editor/editdraw.c     Widget *w = WIDGET (edit);
w                 865 src/editor/editdraw.c     Widget *wh = WIDGET (w->owner);
w                 877 src/editor/editdraw.c     y1 = w->y;
w                 883 src/editor/editdraw.c     x1 = w->x;
w                 887 src/editor/editdraw.c     y2 = w->y + w->lines - 1;
w                 891 src/editor/editdraw.c     x2 = w->x + w->cols - 1;
w                 901 src/editor/editdraw.c             end_row = w->lines - 1;
w                 908 src/editor/editdraw.c             end_column = w->cols - 1;
w                 993 src/editor/editdraw.c             if ((force & REDRAW_LINE_BELOW) != 0 && row < w->lines - 1)
w                1075 src/editor/editdraw.c     Widget *w = WIDGET (edit);
w                1081 src/editor/editdraw.c     if (w->lines <= 0 || w->cols <= 0)
w                1084 src/editor/editdraw.c     w->lines -= EDIT_TEXT_VERTICAL_OFFSET;
w                1085 src/editor/editdraw.c     w->cols -= EDIT_TEXT_HORIZONTAL_OFFSET + option_line_state_width;
w                1089 src/editor/editdraw.c         w->x++;
w                1090 src/editor/editdraw.c         w->cols -= 2;
w                1091 src/editor/editdraw.c         w->y++;
w                1092 src/editor/editdraw.c         w->lines -= 2;
w                1101 src/editor/editdraw.c         b_extreme = MAX (w->lines / 4, b_extreme);
w                1102 src/editor/editdraw.c         t_extreme = MAX (w->lines / 4, t_extreme);
w                1104 src/editor/editdraw.c     if (b_extreme + t_extreme + 1 > w->lines)
w                1111 src/editor/editdraw.c         b_extreme = (b_extreme * (w->lines - 1)) / n;
w                1112 src/editor/editdraw.c         t_extreme = (t_extreme * (w->lines - 1)) / n;
w                1114 src/editor/editdraw.c     if (l_extreme + r_extreme + 1 > w->cols)
w                1121 src/editor/editdraw.c         l_extreme = (l_extreme * (w->cols - 1)) / n;
w                1122 src/editor/editdraw.c         r_extreme = (r_extreme * (w->cols - 1)) / n;
w                1126 src/editor/editdraw.c     outby = p + edit->start_col - w->cols + 1 + (r_extreme + edit->found_len);
w                1133 src/editor/editdraw.c     outby = p - w->lines + 1 + b_extreme;
w                1141 src/editor/editdraw.c     w->lines += EDIT_TEXT_VERTICAL_OFFSET;
w                1142 src/editor/editdraw.c     w->cols += EDIT_TEXT_HORIZONTAL_OFFSET + option_line_state_width;
w                1145 src/editor/editdraw.c         w->x--;
w                1146 src/editor/editdraw.c         w->cols += 2;
w                1147 src/editor/editdraw.c         w->y--;
w                1148 src/editor/editdraw.c         w->lines += 2;
w                  88 src/editor/editwidget.c static cb_ret_t edit_dialog_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm,
w                 191 src/editor/editwidget.c     Widget *w = WIDGET (edit);
w                 194 src/editor/editwidget.c     w->mouse.forced_capture = FALSE;
w                 195 src/editor/editwidget.c     widget_set_size (w, edit->y_prev, edit->x_prev, edit->lines_prev, edit->cols_prev);
w                 196 src/editor/editwidget.c     dlg_redraw (w->owner);
w                 210 src/editor/editwidget.c     Widget *w = WIDGET (edit);
w                 211 src/editor/editwidget.c     Widget *wh = WIDGET (w->owner);
w                 216 src/editor/editwidget.c         if (w->y > wh->y + 1)   /* menubar */
w                 217 src/editor/editwidget.c             w->y--;
w                 220 src/editor/editwidget.c         if (w->y < wh->y + wh->lines - 2)       /* buttonbar */
w                 221 src/editor/editwidget.c             w->y++;
w                 224 src/editor/editwidget.c         if (w->x + w->cols > wh->x)
w                 225 src/editor/editwidget.c             w->x--;
w                 228 src/editor/editwidget.c         if (w->x < wh->x + wh->cols)
w                 229 src/editor/editwidget.c             w->x++;
w                 236 src/editor/editwidget.c     dlg_redraw (w->owner);
w                 250 src/editor/editwidget.c     Widget *w = WIDGET (edit);
w                 251 src/editor/editwidget.c     Widget *wh = WIDGET (w->owner);
w                 256 src/editor/editwidget.c         if (w->lines > WINDOW_MIN_LINES)
w                 257 src/editor/editwidget.c             w->lines--;
w                 260 src/editor/editwidget.c         if (w->y + w->lines < wh->y + wh->lines - 1)    /* buttonbar */
w                 261 src/editor/editwidget.c             w->lines++;
w                 264 src/editor/editwidget.c         if (w->cols > WINDOW_MIN_COLS)
w                 265 src/editor/editwidget.c             w->cols--;
w                 268 src/editor/editwidget.c         if (w->x + w->cols < wh->x + wh->cols)
w                 269 src/editor/editwidget.c             w->cols++;
w                 276 src/editor/editwidget.c     dlg_redraw (w->owner);
w                 301 src/editor/editwidget.c     GList *w;
w                 310 src/editor/editwidget.c     for (w = h->widgets; w != NULL; w = g_list_next (w))
w                 311 src/editor/editwidget.c         if (edit_widget_is_editor (CONST_WIDGET (w->data)))
w                 313 src/editor/editwidget.c             WEdit *e = (WEdit *) w->data;
w                 419 src/editor/editwidget.c             Widget *w = WIDGET (h->current->data);
w                 421 src/editor/editwidget.c             if (edit_widget_is_editor (w) && ((WEdit *) w)->drag_state != MCEDIT_DRAG_NONE)
w                 422 src/editor/editwidget.c                 edit_restore_size ((WEdit *) w);
w                 747 src/editor/editwidget.c edit_dialog_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data)
w                 749 src/editor/editwidget.c     WDialog *h = DIALOG (w);
w                 764 src/editor/editwidget.c         dlg_default_callback (w, NULL, MSG_RESIZE, 0, NULL);
w                 819 src/editor/editwidget.c                 widget_idle (w, TRUE);
w                 836 src/editor/editwidget.c         widget_idle (w, FALSE);
w                 840 src/editor/editwidget.c         return dlg_default_callback (w, sender, msg, parm, data);
w                 854 src/editor/editwidget.c edit_dialog_mouse_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event)
w                 860 src/editor/editwidget.c         WDialog *h = DIALOG (w);
w                 880 src/editor/editwidget.c             x = w->cols - 6;
w                 913 src/editor/editwidget.c edit_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data)
w                 915 src/editor/editwidget.c     WEdit *e = (WEdit *) w;
w                 920 src/editor/editwidget.c         edit_set_buttonbar (e, find_buttonbar (w->owner));
w                 963 src/editor/editwidget.c             widget_move (w, y, x);
w                 976 src/editor/editwidget.c         return widget_default_callback (w, sender, msg, parm, data);
w                 986 src/editor/editwidget.c edit_mouse_handle_move_resize (Widget * w, mouse_msg_t msg, mouse_event_t * event)
w                 988 src/editor/editwidget.c     WEdit *edit = (WEdit *) (w);
w                 989 src/editor/editwidget.c     Widget *h = WIDGET (w->owner);
w                1011 src/editor/editwidget.c     global_x = event->x + w->x;
w                1012 src/editor/editwidget.c     global_y = event->y + w->y;
w                1020 src/editor/editwidget.c         w->y = global_y;
w                1021 src/editor/editwidget.c         w->x = global_x - edit->drag_state_start;
w                1025 src/editor/editwidget.c         w->lines = MAX (WINDOW_MIN_LINES, global_y - w->y + 1);
w                1026 src/editor/editwidget.c         w->cols = MAX (WINDOW_MIN_COLS, global_x - w->x + 1);
w                1032 src/editor/editwidget.c     dlg_redraw (w->owner);
w                1045 src/editor/editwidget.c edit_mouse_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event)
w                1047 src/editor/editwidget.c     WEdit *edit = (WEdit *) w;
w                1053 src/editor/editwidget.c     close_x = (w->cols - 1) - dx - 1;
w                1059 src/editor/editwidget.c         edit_mouse_handle_move_resize (w, msg, event);
w                1067 src/editor/editwidget.c     if (msg == MSG_MOUSE_DOWN && (event->y + w->y == LINES - 1))
w                1076 src/editor/editwidget.c         widget_select (w);
w                1098 src/editor/editwidget.c             if (event->y == w->lines - 1 && event->x == w->cols - 1)
w                1117 src/editor/editwidget.c                 send_message (w->owner, NULL, MSG_ACTION, CK_Close, NULL);
w                1191 src/editor/editwidget.c     Widget *w;
w                1222 src/editor/editwidget.c     w = WIDGET (menubar);
w                1223 src/editor/editwidget.c     add_widget_autopos (edit_dlg, w, w->pos_flags, NULL);
w                1226 src/editor/editwidget.c     w = WIDGET (buttonbar_new (TRUE));
w                1227 src/editor/editwidget.c     add_widget_autopos (edit_dlg, w, w->pos_flags, NULL);
w                1231 src/editor/editwidget.c         Widget *w = WIDGET (edit_dlg);
w                1235 src/editor/editwidget.c         f_ok = edit_add_window (edit_dlg, w->y + 1, w->x, w->lines - 2, w->cols, f->file_vpath,
w                1277 src/editor/editwidget.c edit_widget_is_editor (const Widget * w)
w                1279 src/editor/editwidget.c     return (w != NULL && w->callback == edit_callback);
w                1316 src/editor/editwidget.c     Widget *w = WIDGET (edit);
w                1318 src/editor/editwidget.c     edit->y_prev = w->y;
w                1319 src/editor/editwidget.c     edit->x_prev = w->x;
w                1320 src/editor/editwidget.c     edit->lines_prev = w->lines;
w                1321 src/editor/editwidget.c     edit->cols_prev = w->cols;
w                1343 src/editor/editwidget.c     Widget *w;
w                1349 src/editor/editwidget.c     w = WIDGET (edit);
w                1350 src/editor/editwidget.c     w->callback = edit_callback;
w                1351 src/editor/editwidget.c     w->mouse_callback = edit_mouse_callback;
w                1353 src/editor/editwidget.c     add_widget_autopos (h, w, WPOS_KEEP_ALL, NULL);
w                1372 src/editor/editwidget.c     Widget *w = WIDGET (edit);
w                1378 src/editor/editwidget.c         w->mouse.forced_capture = FALSE;
w                1397 src/editor/editwidget.c             edit->drag_state_start = w->cols / 2;
w                1474 src/editor/editwidget.c     w->mouse.forced_capture = (edit->drag_state != MCEDIT_DRAG_NONE);
w                1489 src/editor/editwidget.c     Widget *w = WIDGET (edit);
w                1498 src/editor/editwidget.c         w->pos_flags = WPOS_KEEP_DEFAULT;
w                1502 src/editor/editwidget.c         Widget *h = WIDGET (w->owner);
w                1505 src/editor/editwidget.c         widget_set_size (w, h->y + 1, h->x, h->lines - 2, h->cols);
w                1507 src/editor/editwidget.c         w->pos_flags = WPOS_KEEP_ALL;
w                 206 src/file_history.c show_file_history (const Widget * w, int *action)
w                 220 src/file_history.c     history_descriptor_init (&hd, w->y, w->x, file_list, 0);
w                  14 src/file_history.h char *show_file_history (const Widget * w, int *action);
w                 333 src/filemanager/achown.c perm_button_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data)
w                 335 src/filemanager/achown.c     WButton *b = BUTTON (w);
w                 368 src/filemanager/achown.c             update_mode (w->owner);
w                 369 src/filemanager/achown.c             send_message (w, NULL, MSG_KEY, KEY_RIGHT, NULL);
w                 371 src/filemanager/achown.c                 dlg_select_next_widget (w->owner);
w                 414 src/filemanager/achown.c             update_mode (w->owner);
w                 429 src/filemanager/achown.c             update_mode (w->owner);
w                 439 src/filemanager/achown.c         return button_default_callback (w, sender, msg, parm, data);
w                 446 src/filemanager/achown.c perm_button_mouse_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event)
w                 452 src/filemanager/achown.c         BUTTON (w)->hotpos = CLAMP (event->x - 1, 0, 2);
w                 456 src/filemanager/achown.c         button_mouse_default_callback (w, msg, event);
w                 468 src/filemanager/achown.c     Widget *w;
w                 472 src/filemanager/achown.c     w = WIDGET (b);
w                 475 src/filemanager/achown.c     widget_want_hotkey (w, FALSE);
w                 477 src/filemanager/achown.c     w->callback = perm_button_callback;
w                 478 src/filemanager/achown.c     w->mouse_callback = perm_button_mouse_callback;
w                 486 src/filemanager/achown.c chl_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data)
w                 496 src/filemanager/achown.c                 WDialog *h = DIALOG (w);
w                 507 src/filemanager/achown.c         return dlg_default_callback (w, sender, msg, parm, data);
w                 516 src/filemanager/achown.c     Widget *w = WIDGET (button);
w                 531 src/filemanager/achown.c         WDialog *h = w->owner;
w                 659 src/filemanager/achown.c advanced_chown_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data)
w                 661 src/filemanager/achown.c     WDialog *h = DIALOG (w);
w                 714 src/filemanager/achown.c         return dlg_default_callback (w, sender, msg, parm, data);
w                 127 src/filemanager/boxes.c configure_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data)
w                 139 src/filemanager/boxes.c             ww = dlg_find_by_id (DIALOG (w), configure_time_out_id);
w                 147 src/filemanager/boxes.c         return dlg_default_callback (w, sender, msg, parm, data);
w                 186 src/filemanager/boxes.c skin_dlg_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data)
w                 192 src/filemanager/boxes.c             WDialog *d = DIALOG (w);
w                 196 src/filemanager/boxes.c             y = wd->y + (wd->lines - w->lines) / 2;
w                 198 src/filemanager/boxes.c             dlg_set_position (d, y, x, w->lines, w->cols);
w                 204 src/filemanager/boxes.c         return dlg_default_callback (w, sender, msg, parm, data);
w                 275 src/filemanager/boxes.c panel_listing_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data)
w                 277 src/filemanager/boxes.c     WDialog *h = DIALOG (w);
w                 328 src/filemanager/boxes.c         return dlg_default_callback (w, sender, msg, parm, data);
w                 368 src/filemanager/boxes.c tree_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data)
w                 370 src/filemanager/boxes.c     WDialog *h = DIALOG (w);
w                 390 src/filemanager/boxes.c         return dlg_default_callback (w, sender, msg, parm, data);
w                 398 src/filemanager/boxes.c confvfs_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data)
w                 410 src/filemanager/boxes.c             wi = dlg_find_by_id (DIALOG (w), ftpfs_proxy_host_id);
w                 417 src/filemanager/boxes.c         return dlg_default_callback (w, sender, msg, parm, data);
w                1156 src/filemanager/boxes.c     const Widget *w = CONST_WIDGET (current_panel);
w                1166 src/filemanager/boxes.c         w->y + w->lines - 6, w->x, w->cols,
w                 216 src/filemanager/chmod.c chmod_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data)
w                 218 src/filemanager/chmod.c     WDialog *h = DIALOG (w);
w                 273 src/filemanager/chmod.c         return dlg_default_callback (w, sender, msg, parm, data);
w                 175 src/filemanager/chown.c chown_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data)
w                 180 src/filemanager/chown.c         chown_refresh (DIALOG (w));
w                 184 src/filemanager/chown.c         return dlg_default_callback (w, sender, msg, parm, data);
w                 337 src/filemanager/command.c command_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data)
w                 344 src/filemanager/command.c             return enter (INPUT (w));
w                 348 src/filemanager/command.c         return input_callback (w, sender, msg, parm, data);
w                 463 src/filemanager/command.c     Widget *w;
w                 469 src/filemanager/command.c     w = WIDGET (cmd);
w                 471 src/filemanager/command.c     widget_set_options (w, WOP_SELECTABLE, FALSE);
w                 473 src/filemanager/command.c     w->callback = command_callback;
w                 244 src/filemanager/filegui.c     Widget *w;
w                 495 src/filemanager/filegui.c     int w, bw1, bw2;
w                 588 src/filemanager/filegui.c     w = WCOLS (0) + gap + WCOLS (1);
w                 589 src/filemanager/filegui.c     if (w > dlg_width)
w                 593 src/filemanager/filegui.c         w = dlg_width - gap - WCOLS (0);
w                 594 src/filemanager/filegui.c         label_set_text (l, str_trunc (l->text, w));
w                 597 src/filemanager/filegui.c     w = WCOLS (4) + gap + WCOLS (5);
w                 598 src/filemanager/filegui.c     if (w > dlg_width)
w                 602 src/filemanager/filegui.c         w = dlg_width - gap - WCOLS (4);
w                 603 src/filemanager/filegui.c         label_set_text (l, str_trunc (l->text, w));
w                 616 src/filemanager/filegui.c     w = dlg_width - (2 + gap);  /* right bound */
w                 619 src/filemanager/filegui.c     WX (3) = w - WCOLS (3);
w                 620 src/filemanager/filegui.c     WX (7) = w - WCOLS (7);
w                 715 src/filemanager/filegui.c     Widget *w = WIDGET (h);
w                 720 src/filemanager/filegui.c     button_set_text (BUTTON (progress_buttons[i].w), progress_buttons[i].text);
w                 722 src/filemanager/filegui.c     progress_buttons[0].w->x = w->x + (w->cols - buttons_width) / 2;
w                 723 src/filemanager/filegui.c     progress_buttons[i].w->x = progress_buttons[0].w->x + progress_buttons[0].len + 1;
w                 724 src/filemanager/filegui.c     progress_buttons[3].w->x = progress_buttons[i].w->x + progress_buttons[i].len + 1;
w                 887 src/filemanager/filegui.c     progress_buttons[0].w = WIDGET (button_new (y, 0, progress_buttons[0].action,
w                 891 src/filemanager/filegui.c         progress_buttons[0].len = button_get_len (BUTTON (progress_buttons[0].w));
w                 893 src/filemanager/filegui.c     progress_buttons[1].w = WIDGET (button_new (y, 0, progress_buttons[1].action,
w                 897 src/filemanager/filegui.c         progress_buttons[1].len = button_get_len (BUTTON (progress_buttons[1].w));
w                 902 src/filemanager/filegui.c         progress_buttons[2].w = WIDGET (button_new (y, 0, progress_buttons[2].action,
w                 906 src/filemanager/filegui.c         progress_buttons[2].len = button_get_len (BUTTON (progress_buttons[2].w));
w                 907 src/filemanager/filegui.c         send_message (progress_buttons[2].w, NULL, MSG_DESTROY, 0, NULL);
w                 908 src/filemanager/filegui.c         g_free (progress_buttons[2].w);
w                 910 src/filemanager/filegui.c     progress_buttons[2].w = progress_buttons[1].w;
w                 912 src/filemanager/filegui.c     progress_buttons[3].w = WIDGET (button_new (y, 0, progress_buttons[3].action,
w                 916 src/filemanager/filegui.c         progress_buttons[3].len = button_get_len (BUTTON (progress_buttons[3].w));
w                 918 src/filemanager/filegui.c     add_widget (ui->op_dlg, progress_buttons[0].w);
w                 919 src/filemanager/filegui.c     add_widget (ui->op_dlg, progress_buttons[1].w);
w                 920 src/filemanager/filegui.c     add_widget (ui->op_dlg, progress_buttons[3].w);
w                 931 src/filemanager/filegui.c     widget_select (progress_buttons[0].w);
w                 236 src/filemanager/find.c     size_t r = 0, w = 0;        /* read and write iterators */
w                 254 src/filemanager/find.c         if (r != w)
w                 257 src/filemanager/find.c             find_ignore_dirs[w] = find_ignore_dirs[r];
w                 261 src/filemanager/find.c         canonicalize_pathname (find_ignore_dirs[w]);
w                 262 src/filemanager/find.c         if (find_ignore_dirs[w][0] != '\0')
w                 263 src/filemanager/find.c             w++;
w                 265 src/filemanager/find.c             MC_PTR_FREE (find_ignore_dirs[w]);
w                 467 src/filemanager/find.c find_parm_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data)
w                 481 src/filemanager/find.c     WDialog *h = DIALOG (w);
w                 507 src/filemanager/find.c             widget_set_state (w, WST_ACTIVE, TRUE);
w                 517 src/filemanager/find.c             widget_set_state (w, WST_ACTIVE, TRUE);
w                 547 src/filemanager/find.c         return dlg_default_callback (w, sender, msg, parm, data);
w                1250 src/filemanager/find.c     const Widget *w = CONST_WIDGET (h);
w                1253 src/filemanager/find.c     widget_move (h, w->lines - 7, w->cols - 4);
w                1544 src/filemanager/find.c find_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data)
w                1546 src/filemanager/find.c     WDialog *h = DIALOG (w);
w                1576 src/filemanager/find.c         return dlg_default_callback (w, sender, msg, parm, data);
w                1586 src/filemanager/find.c     Widget *w = WIDGET (button);
w                1597 src/filemanager/find.c     find_relocate_buttons (w->owner, FALSE);
w                1598 src/filemanager/find.c     dlg_redraw (w->owner);
w                 238 src/filemanager/hotlist.c     Widget *w = WIDGET (list);
w                 261 src/filemanager/hotlist.c         groupbox_set_title (movelist_group, str_trunc (p, w->cols - 2));
w                 264 src/filemanager/hotlist.c         groupbox_set_title (hotlist_group, str_trunc (p, w->cols - 2));
w                 265 src/filemanager/hotlist.c         label_set_text (pname, str_trunc (text, w->cols));
w                 569 src/filemanager/hotlist.c hotlist_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data)
w                 571 src/filemanager/hotlist.c     WDialog *h = DIALOG (w);
w                 620 src/filemanager/hotlist.c         return dlg_default_callback (w, sender, msg, parm, data);
w                  81 src/filemanager/info.c     Widget *w = WIDGET (info);
w                  88 src/filemanager/info.c     widget_erase (w);
w                  89 src/filemanager/info.c     tty_draw_box (w->y, w->x, w->lines, w->cols, FALSE);
w                  91 src/filemanager/info.c     widget_move (w, 0, (w->cols - len - 2) / 2);
w                  94 src/filemanager/info.c     widget_move (w, 2, 0);
w                  96 src/filemanager/info.c     widget_move (w, 2, w->cols - 1);
w                  98 src/filemanager/info.c     tty_draw_hline (w->y + 2, w->x + 1, ACS_HLINE, w->cols - 2);
w                 106 src/filemanager/info.c     Widget *w = WIDGET (info);
w                 120 src/filemanager/info.c     widget_move (w, 1, 3);
w                 151 src/filemanager/info.c     switch (w->lines - 2)
w                 158 src/filemanager/info.c         widget_move (w, 16, 3);
w                 174 src/filemanager/info.c         widget_move (w, 15, 3);
w                 189 src/filemanager/info.c         widget_move (w, 14, 3);
w                 196 src/filemanager/info.c         widget_move (w, 13, 3);
w                 198 src/filemanager/info.c                     str_trunc (myfs_stats.device, w->cols - i18n_adjust));
w                 203 src/filemanager/info.c         widget_move (w, 12, 3);
w                 205 src/filemanager/info.c                     str_trunc (myfs_stats.mpoint, w->cols - i18n_adjust));
w                 210 src/filemanager/info.c         widget_move (w, 11, 3);
w                 216 src/filemanager/info.c         widget_move (w, 10, 3);
w                 222 src/filemanager/info.c         widget_move (w, 9, 3);
w                 231 src/filemanager/info.c         widget_move (w, 8, 3);
w                 249 src/filemanager/info.c         widget_move (w, 7, 3);
w                 253 src/filemanager/info.c         widget_move (w, 6, 3);
w                 257 src/filemanager/info.c         widget_move (w, 5, 3);
w                 262 src/filemanager/info.c         widget_move (w, 4, 3);
w                 269 src/filemanager/info.c             widget_move (w, 3, 2);
w                 271 src/filemanager/info.c             str_printf (buff, file_label, str_trunc (fname, w->cols - i18n_adjust));
w                 306 src/filemanager/info.c info_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data)
w                 308 src/filemanager/info.c     WInfo *info = (WInfo *) w;
w                 328 src/filemanager/info.c         return widget_default_callback (w, sender, msg, parm, data);
w                 340 src/filemanager/info.c     Widget *w;
w                 343 src/filemanager/info.c     w = WIDGET (info);
w                 344 src/filemanager/info.c     widget_init (w, y, x, lines, cols, info_callback, NULL);
w                 308 src/filemanager/layout.c layout_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data)
w                 310 src/filemanager/layout.c     WDialog *h = DIALOG (w);
w                 438 src/filemanager/layout.c         return dlg_default_callback (w, sender, msg, parm, data);
w                 545 src/filemanager/layout.c         Widget *w;
w                 549 src/filemanager/layout.c         w = WIDGET (groupbox_new (8, 3, 3, l1, title2));
w                 550 src/filemanager/layout.c         w->state |= disabled;
w                 551 src/filemanager/layout.c         add_widget (layout_dlg, w);
w                 553 src/filemanager/layout.c         w = WIDGET (button_new (9, output_lines_label_len + 5, B_PLUS,
w                 555 src/filemanager/layout.c         w->state |= disabled;
w                 556 src/filemanager/layout.c         add_widget (layout_dlg, w);
w                 558 src/filemanager/layout.c         w = WIDGET (button_new (9, output_lines_label_len + 5 + 5, B_MINUS,
w                 560 src/filemanager/layout.c         w->state |= disabled;
w                 561 src/filemanager/layout.c         add_widget (layout_dlg, w);
w                 956 src/filemanager/layout.c     const Widget *w = CONST_WIDGET (midnight_dlg);
w                 961 src/filemanager/layout.c     widget_move (w, (menubar_visible != 0) ? 1 : 0, w->cols - 1);
w                1037 src/filemanager/layout.c         Widget *w = panels[num].widget;
w                1038 src/filemanager/layout.c         WPanel *panel = PANEL (w);
w                1040 src/filemanager/layout.c         x = w->x;
w                1041 src/filemanager/layout.c         y = w->y;
w                1042 src/filemanager/layout.c         cols = w->cols;
w                1043 src/filemanager/layout.c         lines = w->lines;
w                1044 src/filemanager/layout.c         old_widget = w;
w                1490 src/filemanager/midnight.c midnight_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data)
w                1511 src/filemanager/midnight.c         widget_adjust_position (w->pos_flags, &w->y, &w->x, &w->lines, &w->cols);
w                1518 src/filemanager/midnight.c         widget_idle (w, FALSE);
w                1629 src/filemanager/midnight.c         return dlg_default_callback (w, sender, msg, parm, data);
w                 904 src/filemanager/panel.c     Widget *w = WIDGET (panel);
w                 915 src/filemanager/panel.c     width = w->cols - 2;
w                 925 src/filemanager/panel.c             width = w->cols - offset - 2;
w                 940 src/filemanager/panel.c         widget_move (w, ypos, offset + 1);
w                 964 src/filemanager/panel.c         widget_move (w, ypos, offset);
w                 974 src/filemanager/panel.c             widget_move (w, ypos, offset);
w                 986 src/filemanager/panel.c     Widget *w = WIDGET (panel);
w                 991 src/filemanager/panel.c     widget_move (w, panel_lines (panel) + 3, 1);
w                 997 src/filemanager/panel.c         tty_print_string (str_fit_to_term (panel->search_buffer, w->cols - 3, J_LEFT));
w                1019 src/filemanager/panel.c             tty_print_string (str_fit_to_term (link_target, w->cols - 5, J_LEFT_FIT));
w                1022 src/filemanager/panel.c             tty_print_string (str_fit_to_term (_("<readlink failed>"), w->cols - 2, J_LEFT));
w                1030 src/filemanager/panel.c         tty_print_string (str_fit_to_term (_("UP--DIR"), w->cols - 2, J_LEFT));
w                1070 src/filemanager/panel.c     const Widget *w = CONST_WIDGET (panel);
w                1080 src/filemanager/panel.c     cols = w->cols - 2;
w                1095 src/filemanager/panel.c         x = (w->cols - str_term_width1 (buf)) / 2 - 1;
w                1101 src/filemanager/panel.c     widget_move (w, y, x);
w                1113 src/filemanager/panel.c         const Widget *w = CONST_WIDGET (panel);
w                1119 src/filemanager/panel.c         tty_draw_hline (w->y + y, w->x + 1, ACS_HLINE, w->cols - 2);
w                1156 src/filemanager/panel.c         const Widget *w = CONST_WIDGET (panel);
w                1166 src/filemanager/panel.c         widget_move (w, w->lines - 1, w->cols - 2 - (int) strlen (tmp));
w                1257 src/filemanager/panel.c     const Widget *w = CONST_WIDGET (panel);
w                1262 src/filemanager/panel.c     tty_draw_box (w->y, w->x, w->lines, w->cols, FALSE);
w                1270 src/filemanager/panel.c         widget_move (w, y, 0);
w                1272 src/filemanager/panel.c         widget_move (w, y, w->cols - 1);
w                1276 src/filemanager/panel.c     widget_move (w, 0, 1);
w                1283 src/filemanager/panel.c     widget_move (w, 0, w->cols - 6);
w                1288 src/filemanager/panel.c     widget_move (w, 0, 3);
w                1299 src/filemanager/panel.c             widget_move (w, 0, 3 + strlen (tmp));
w                1309 src/filemanager/panel.c     tty_printf (" %s ", str_term_trim (tmp, MIN (MAX (w->cols - 12, 0), w->cols)));
w                1325 src/filemanager/panel.c                 widget_move (w, w->lines - 1, 4);
w                1333 src/filemanager/panel.c             display_total_marked_size (panel, w->lines - 1, 2, TRUE);
w                1555 src/filemanager/panel.c     const Widget *w = CONST_WIDGET (panel);
w                1561 src/filemanager/panel.c     widget_move (w, 1, 1);
w                1564 src/filemanager/panel.c     tty_draw_hline (y, x, ' ', w->cols - 2);
w                3629 src/filemanager/panel.c panel_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data)
w                3631 src/filemanager/panel.c     WPanel *panel = PANEL (w);
w                3638 src/filemanager/panel.c         mc_event_add (w->owner->event_group, MCEVENT_HISTORY_LOAD, panel_load_history, w, NULL);
w                3640 src/filemanager/panel.c         mc_event_add (w->owner->event_group, MCEVENT_HISTORY_SAVE, panel_save_history, w, NULL);
w                3645 src/filemanager/panel.c         widget_erase (w);
w                3675 src/filemanager/panel.c         bb = find_buttonbar (w->owner);
w                3696 src/filemanager/panel.c         mc_event_del (w->owner->event_group, MCEVENT_HISTORY_LOAD, panel_load_history, w);
w                3698 src/filemanager/panel.c         mc_event_del (w->owner->event_group, MCEVENT_HISTORY_SAVE, panel_save_history, w);
w                3704 src/filemanager/panel.c         return widget_default_callback (w, sender, msg, parm, data);
w                3813 src/filemanager/panel.c panel_mouse_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event)
w                3815 src/filemanager/panel.c     WPanel *panel = PANEL (w);
w                3818 src/filemanager/panel.c     is_active = widget_is_active (w);
w                3829 src/filemanager/panel.c             else if (event->x == w->cols - 2)
w                3832 src/filemanager/panel.c             else if (event->x >= w->cols - 5 && event->x <= w->cols - 3)
w                3835 src/filemanager/panel.c             else if (event->x == w->cols - 6)
w                3876 src/filemanager/panel.c                     width = (w->cols - 2) / panel->list_cols;
w                3942 src/filemanager/panel.c         widget_redraw (w);
w                4291 src/filemanager/panel.c     Widget *w;
w                4296 src/filemanager/panel.c     w = WIDGET (panel);
w                4297 src/filemanager/panel.c     widget_init (w, y, x, lines, cols, panel_callback, panel_mouse_callback);
w                4298 src/filemanager/panel.c     w->options |= WOP_SELECTABLE | WOP_TOP_SELECT;
w                 110 src/filemanager/panelize.c panelize_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data)
w                 120 src/filemanager/panelize.c         return dlg_default_callback (w, sender, msg, parm, data);
w                 226 src/filemanager/tree.c     Widget *w = WIDGET (tree);
w                 243 src/filemanager/tree.c         tty_draw_hline (w->y + line, w->x + 1, ' ', tree_cols);
w                 244 src/filemanager/tree.c         widget_move (w, line, 1);
w                 252 src/filemanager/tree.c         WDialog *h = w->owner;
w                 255 src/filemanager/tree.c         tty_draw_hline (w->y + line, w->x + 1, ' ', tree_cols);
w                 256 src/filemanager/tree.c         widget_move (w, line, 1);
w                 267 src/filemanager/tree.c     Widget *w = WIDGET (tree);
w                 268 src/filemanager/tree.c     WDialog *h = w->owner;
w                 277 src/filemanager/tree.c     tree_cols = w->cols;
w                 279 src/filemanager/tree.c     widget_move (w, y, x);
w                 341 src/filemanager/tree.c         tty_draw_hline (w->y + y + i, w->x + x, ' ', tree_cols);
w                 347 src/filemanager/tree.c             tty_setcolor (widget_get_state (w, WST_FOCUSED) && current == tree->selected_ptr
w                1114 src/filemanager/tree.c     Widget *w = WIDGET (tree);
w                1119 src/filemanager/tree.c     widget_erase (w);
w                1125 src/filemanager/tree.c         tty_draw_box (w->y, w->x, w->lines, w->cols, FALSE);
w                1127 src/filemanager/tree.c         widget_move (w, 0, (w->cols - len - 2) / 2);
w                1134 src/filemanager/tree.c             y = w->lines - 3;
w                1135 src/filemanager/tree.c             widget_move (w, y, 0);
w                1137 src/filemanager/tree.c             widget_move (w, y, w->cols - 1);
w                1139 src/filemanager/tree.c             tty_draw_hline (w->y + y, w->x + 1, ACS_HLINE, w->cols - 2);
w                1147 src/filemanager/tree.c tree_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data)
w                1149 src/filemanager/tree.c     WTree *tree = (WTree *) w;
w                1150 src/filemanager/tree.c     WDialog *h = w->owner;
w                1158 src/filemanager/tree.c         if (widget_get_state (w, WST_FOCUSED))
w                1167 src/filemanager/tree.c         buttonbar_set_label (b, 1, Q_ ("ButtonBar|Help"), tree_map, w);
w                1168 src/filemanager/tree.c         buttonbar_set_label (b, 2, Q_ ("ButtonBar|Rescan"), tree_map, w);
w                1169 src/filemanager/tree.c         buttonbar_set_label (b, 3, Q_ ("ButtonBar|Forget"), tree_map, w);
w                1171 src/filemanager/tree.c                              : Q_ ("ButtonBar|Dynamc"), tree_map, w);
w                1172 src/filemanager/tree.c         buttonbar_set_label (b, 5, Q_ ("ButtonBar|Copy"), tree_map, w);
w                1173 src/filemanager/tree.c         buttonbar_set_label (b, 6, Q_ ("ButtonBar|RenMov"), tree_map, w);
w                1176 src/filemanager/tree.c         buttonbar_set_label (b, 7, Q_ ("ButtonBar|Mkdir"), tree_map, w);
w                1178 src/filemanager/tree.c         buttonbar_clear_label (b, 7, w);
w                1180 src/filemanager/tree.c         buttonbar_set_label (b, 8, Q_ ("ButtonBar|Rmdir"), tree_map, w);
w                1200 src/filemanager/tree.c         return widget_default_callback (w, sender, msg, parm, data);
w                1210 src/filemanager/tree.c tree_mouse_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event)
w                1212 src/filemanager/tree.c     WTree *tree = (WTree *) w;
w                1223 src/filemanager/tree.c         if (tree->is_panel && event->y == WIDGET (w->owner)->y)
w                1228 src/filemanager/tree.c         else if (!widget_get_state (w, WST_FOCUSED))
w                1279 src/filemanager/tree.c     Widget *w;
w                1282 src/filemanager/tree.c     w = WIDGET (tree);
w                1284 src/filemanager/tree.c     widget_init (w, y, x, lines, cols, tree_callback, tree_mouse_callback);
w                1285 src/filemanager/tree.c     w->options |= WOP_SELECTABLE | WOP_TOP_SELECT;
w                1293 src/filemanager/tree.c     tree->topdiff = w->lines / 2;
w                 116 src/help.c     static cb_ret_t help_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data);
w                 410 src/help.c             int w;
w                 412 src/help.c             w = str_term_width1 (word->str);
w                 413 src/help.c             if (*col + w >= HELP_WINDOW_WIDTH)
w                 426 src/help.c                 *col += w;
w                 865 src/help.c     help_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data)
w                 867 src/help.c         WDialog *h = DIALOG (w);
w                 895 src/help.c             return dlg_default_callback (w, sender, msg, parm, data);
w                 941 src/help.c     md_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data)
w                 946 src/help.c             w->lines = help_lines;
w                 950 src/help.c             return widget_default_callback (w, sender, msg, parm, data);
w                 957 src/help.c     help_mouse_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event)
w                1019 src/help.c         send_message (w->owner, NULL, MSG_DRAW, 0, NULL);
w                1027 src/help.c         Widget *w;
w                1029 src/help.c         w = g_new0 (Widget, 1);
w                1030 src/help.c         widget_init (w, y, x, yl, xl, md_callback, help_mouse_callback);
w                1031 src/help.c         w->options |= WOP_SELECTABLE | WOP_WANT_CURSOR;
w                1033 src/help.c         return w;
w                 233 src/learn.c    learn_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data)
w                 241 src/learn.c            return dlg_default_callback (w, sender, msg, parm, data);
w                 136 src/vfs/sfs/sfs.c     int w;
w                 148 src/vfs/sfs/sfs.c     w = path_element->class->which (path_element->class, path_element->vfs_prefix);
w                 149 src/vfs/sfs/sfs.c     if (w == -1)
w                 152 src/vfs/sfs/sfs.c     if ((sfs_info[w].flags & F_1) == 0
w                 160 src/vfs/sfs/sfs.c     if ((sfs_info[w].flags & F_NOLOCALCOPY) != 0)
w                 179 src/vfs/sfs/sfs.c     for (s_iter = sfs_info[w].command; *s_iter != '\0'; s_iter++)
w                1534 src/vfs/smbfs/helpers/include/smb.h #define CACHE_ERROR(w,c,e) ((w)->wr_errclass = (c), (w)->wr_error = (e), \
w                1535 src/vfs/smbfs/helpers/include/smb.h 			    w->wr_discard = True, -1)
w                 685 src/viewer/actions_cmd.c mcview_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data)
w                 687 src/viewer/actions_cmd.c     WView *view = (WView *) w;
w                 765 src/viewer/actions_cmd.c         return widget_default_callback (w, sender, msg, parm, data);
w                 772 src/viewer/actions_cmd.c mcview_dialog_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data)
w                 774 src/viewer/actions_cmd.c     WDialog *h = DIALOG (w);
w                 797 src/viewer/actions_cmd.c         return dlg_default_callback (w, sender, msg, parm, data);
w                 353 src/viewer/display.c     Widget *w = WIDGET (view);
w                 356 src/viewer/display.c     widget_erase (w);
w                 358 src/viewer/display.c         tty_draw_box (w->y, w->x, w->lines, w->cols, FALSE);
w                 229 src/viewer/internal.h cb_ret_t mcview_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data);
w                 230 src/viewer/internal.h cb_ret_t mcview_dialog_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm,
w                  89 src/viewer/mcviewer.c mcview_mouse_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event)
w                  91 src/viewer/mcviewer.c     WView *view = (WView *) w;
w                  99 src/viewer/mcviewer.c             if (event->y == WIDGET (w->owner)->y)
w                 108 src/viewer/mcviewer.c             if (!widget_get_state (w, WST_FOCUSED))
w                 198 src/viewer/mcviewer.c     Widget *w;
w                 201 src/viewer/mcviewer.c     w = WIDGET (view);
w                 202 src/viewer/mcviewer.c     widget_init (w, y, x, lines, cols, mcview_callback, mcview_mouse_callback);
w                 203 src/viewer/mcviewer.c     w->options |= WOP_SELECTABLE | WOP_TOP_SELECT;