bb 65 lib/widget/buttonbar.c buttonbar_init_button_positions (WButtonBar *bb) bb 77 lib/widget/buttonbar.c bb->labels[i].end_coord = pos; bb 96 lib/widget/buttonbar.c bb->labels[i].end_coord = pos; bb 105 lib/widget/buttonbar.c bb->labels[i].end_coord = pos; bb 114 lib/widget/buttonbar.c buttonbar_get_button_width (const WButtonBar *bb, int i) bb 117 lib/widget/buttonbar.c return bb->labels[0].end_coord; bb 118 lib/widget/buttonbar.c return bb->labels[i].end_coord - bb->labels[i - 1].end_coord; bb 124 lib/widget/buttonbar.c buttonbar_get_button_by_x_coord (const WButtonBar *bb, int x) bb 129 lib/widget/buttonbar.c if (bb->labels[i].end_coord > x) bb 138 lib/widget/buttonbar.c set_label_text (WButtonBar *bb, int idx, const char *text) bb 140 lib/widget/buttonbar.c g_free (bb->labels[idx - 1].text); bb 141 lib/widget/buttonbar.c bb->labels[idx - 1].text = g_strdup (text); bb 148 lib/widget/buttonbar.c buttonbar_call (WButtonBar *bb, int i) bb 151 lib/widget/buttonbar.c Widget *w = WIDGET (bb); bb 154 lib/widget/buttonbar.c if ((bb != NULL) && (bb->labels[i].command != CK_IgnoreKey)) bb 156 lib/widget/buttonbar.c target = (bb->labels[i].receiver != NULL) ? bb->labels[i].receiver : WIDGET (w->owner); bb 157 lib/widget/buttonbar.c ret = send_message (target, w, MSG_ACTION, bb->labels[i].command, NULL); bb 167 lib/widget/buttonbar.c WButtonBar *bb = BUTTONBAR (w); bb 174 lib/widget/buttonbar.c if (parm == KEY_F (i + 1) && buttonbar_call (bb, i)) bb 181 lib/widget/buttonbar.c buttonbar_init_button_positions (bb); bb 192 lib/widget/buttonbar.c width = buttonbar_get_button_width (bb, i); bb 200 lib/widget/buttonbar.c text = (bb->labels[i].text != NULL) ? bb->labels[i].text : ""; bb 208 lib/widget/buttonbar.c g_free (bb->labels[i].text); bb 225 lib/widget/buttonbar.c WButtonBar *bb = BUTTONBAR (w); bb 228 lib/widget/buttonbar.c button = buttonbar_get_button_by_x_coord (bb, event->x); bb 230 lib/widget/buttonbar.c buttonbar_call (bb, button); bb 247 lib/widget/buttonbar.c WButtonBar *bb; bb 250 lib/widget/buttonbar.c bb = g_new0 (WButtonBar, 1); bb 251 lib/widget/buttonbar.c w = WIDGET (bb); bb 257 lib/widget/buttonbar.c return bb; bb 263 lib/widget/buttonbar.c buttonbar_set_label (WButtonBar *bb, int idx, const char *text, const global_keymap_t *keymap, bb 266 lib/widget/buttonbar.c if ((bb != NULL) && (idx >= 1) && (idx <= BUTTONBAR_LABELS_NUM)) bb 274 lib/widget/buttonbar.c set_label_text (bb, idx, ""); bb 276 lib/widget/buttonbar.c set_label_text (bb, idx, text); bb 278 lib/widget/buttonbar.c bb->labels[idx - 1].command = command; bb 279 lib/widget/buttonbar.c bb->labels[idx - 1].receiver = WIDGET (receiver); bb 16 lib/widget/buttonbar.h #define buttonbar_clear_label(bb, idx, recv) buttonbar_set_label (bb, idx, "", NULL, recv) bb 40 lib/widget/buttonbar.h void buttonbar_set_label (WButtonBar * bb, int idx, const char *text, bb 672 src/editor/editwidget.c edit_set_buttonbar (WEdit *edit, WButtonBar *bb) bb 676 src/editor/editwidget.c buttonbar_set_label (bb, 1, Q_ ("ButtonBar|Help"), w->keymap, NULL); bb 677 src/editor/editwidget.c buttonbar_set_label (bb, 2, Q_ ("ButtonBar|Save"), w->keymap, w); bb 678 src/editor/editwidget.c buttonbar_set_label (bb, 3, Q_ ("ButtonBar|Mark"), w->keymap, w); bb 679 src/editor/editwidget.c buttonbar_set_label (bb, 4, Q_ ("ButtonBar|Replac"), w->keymap, w); bb 680 src/editor/editwidget.c buttonbar_set_label (bb, 5, Q_ ("ButtonBar|Copy"), w->keymap, w); bb 681 src/editor/editwidget.c buttonbar_set_label (bb, 6, Q_ ("ButtonBar|Move"), w->keymap, w); bb 682 src/editor/editwidget.c buttonbar_set_label (bb, 7, Q_ ("ButtonBar|Search"), w->keymap, w); bb 683 src/editor/editwidget.c buttonbar_set_label (bb, 8, Q_ ("ButtonBar|Delete"), w->keymap, w); bb 684 src/editor/editwidget.c buttonbar_set_label (bb, 9, Q_ ("ButtonBar|PullDn"), w->keymap, NULL); bb 685 src/editor/editwidget.c buttonbar_set_label (bb, 10, Q_ ("ButtonBar|Quit"), w->keymap, NULL); bb 3857 src/filemanager/panel.c WButtonBar *bb; bb 3900 src/filemanager/panel.c bb = buttonbar_find (h); bb 3901 src/filemanager/panel.c midnight_set_buttonbar (bb); bb 892 src/help.c WButtonBar *bb; bb 899 src/help.c bb = buttonbar_find (h); bb 900 src/help.c widget_set_size (WIDGET (bb), LINES - 1, 0, 1, COLS);