tree             1711 src/filemanager/file.c         WTree *tree;
tree             1714 src/filemanager/file.c         tree = (WTree *) get_panel_widget (get_current_index ());
tree             1715 src/filemanager/file.c         selected_name = tree_selected_name (tree);
tree              788 src/filemanager/midnight.c         WTree *tree;
tree              791 src/filemanager/midnight.c         tree = (WTree *) get_panel_widget (get_current_index ());
tree              792 src/filemanager/midnight.c         selected_name = tree_selected_name (tree);
tree              151 src/filemanager/tree.c     WTree *tree = data;
tree              153 src/filemanager/tree.c     if (tree->selected_ptr == entry)
tree              155 src/filemanager/tree.c         if (tree->selected_ptr->next != NULL)
tree              156 src/filemanager/tree.c             tree->selected_ptr = tree->selected_ptr->next;
tree              158 src/filemanager/tree.c             tree->selected_ptr = tree->selected_ptr->prev;
tree              166 src/filemanager/tree.c save_tree (WTree * tree)
tree              170 src/filemanager/tree.c     (void) tree;
tree              187 src/filemanager/tree.c tree_remove_entry (WTree * tree, const vfs_path_t * name_vpath)
tree              189 src/filemanager/tree.c     (void) tree;
tree              196 src/filemanager/tree.c tree_destroy (WTree * tree)
tree              199 src/filemanager/tree.c     save_tree (tree);
tree              201 src/filemanager/tree.c     MC_PTR_FREE (tree->tree_shown);
tree              202 src/filemanager/tree.c     tree->selected_ptr = NULL;
tree              209 src/filemanager/tree.c load_tree (WTree * tree)
tree              215 src/filemanager/tree.c     tree->selected_ptr = tree->store->tree_first;
tree              217 src/filemanager/tree.c     tree_chdir (tree, vpath);
tree              224 src/filemanager/tree.c tree_show_mini_info (WTree * tree, int tree_lines, int tree_cols)
tree              226 src/filemanager/tree.c     Widget *w = WIDGET (tree);
tree              230 src/filemanager/tree.c     if (tree->is_panel)
tree              239 src/filemanager/tree.c     if (tree->searching)
tree              246 src/filemanager/tree.c         tty_print_string (str_fit_to_term (tree->search_buffer, tree_cols - 2, J_LEFT_FIT));
tree              254 src/filemanager/tree.c         tty_setcolor (tree->is_panel ? NORMAL_COLOR : TREE_NORMALC (h));
tree              258 src/filemanager/tree.c                           (vfs_path_as_str (tree->selected_ptr->name), tree_cols, J_LEFT_FIT));
tree              265 src/filemanager/tree.c show_tree (WTree * tree)
tree              267 src/filemanager/tree.c     Widget *w = WIDGET (tree);
tree              276 src/filemanager/tree.c     tree_lines = tlines (tree);
tree              280 src/filemanager/tree.c     if (tree->is_panel)
tree              286 src/filemanager/tree.c     g_free (tree->tree_shown);
tree              287 src/filemanager/tree.c     tree->tree_shown = g_new0 (tree_entry *, tree_lines);
tree              289 src/filemanager/tree.c     if (tree->store->tree_first != NULL)
tree              290 src/filemanager/tree.c         topsublevel = tree->store->tree_first->sublevel;
tree              292 src/filemanager/tree.c     if (tree->selected_ptr == NULL)
tree              294 src/filemanager/tree.c         tree->selected_ptr = tree->store->tree_first;
tree              295 src/filemanager/tree.c         tree->topdiff = 0;
tree              297 src/filemanager/tree.c     current = tree->selected_ptr;
tree              301 src/filemanager/tree.c         current = back_ptr (current, &tree->topdiff);
tree              306 src/filemanager/tree.c         while (current->prev != NULL && i < tree->topdiff)
tree              310 src/filemanager/tree.c             if (current->sublevel < tree->selected_ptr->sublevel)
tree              312 src/filemanager/tree.c                 if (vfs_path_equal (current->name, tree->selected_ptr->name))
tree              315 src/filemanager/tree.c             else if (current->sublevel == tree->selected_ptr->sublevel)
tree              322 src/filemanager/tree.c                 if (vfs_path_equal_len (current->name, tree->selected_ptr->name, j))
tree              325 src/filemanager/tree.c             else if (current->sublevel == tree->selected_ptr->sublevel + 1)
tree              327 src/filemanager/tree.c                 j = vfs_path_len (tree->selected_ptr->name);
tree              328 src/filemanager/tree.c                 if (j > 1 && vfs_path_equal_len (current->name, tree->selected_ptr->name, j))
tree              332 src/filemanager/tree.c         tree->topdiff = i;
tree              338 src/filemanager/tree.c         tty_setcolor (tree->is_panel ? NORMAL_COLOR : TREE_NORMALC (h));
tree              346 src/filemanager/tree.c         if (tree->is_panel)
tree              347 src/filemanager/tree.c             tty_setcolor (widget_get_state (w, WST_FOCUSED) && current == tree->selected_ptr
tree              350 src/filemanager/tree.c             tty_setcolor (current == tree->selected_ptr ? TREE_CURRENTC (h) : TREE_NORMALC (h));
tree              352 src/filemanager/tree.c         tree->tree_shown[i] = current;
tree              357 src/filemanager/tree.c                                tree_cols + (tree->is_panel ? 0 : 1), J_LEFT_FIT));
tree              395 src/filemanager/tree.c                 if (current->sublevel < tree->selected_ptr->sublevel)
tree              397 src/filemanager/tree.c                     if (vfs_path_equal_len (current->name, tree->selected_ptr->name,
tree              401 src/filemanager/tree.c                 else if (current->sublevel == tree->selected_ptr->sublevel)
tree              408 src/filemanager/tree.c                     if (vfs_path_equal_len (current->name, tree->selected_ptr->name, j))
tree              411 src/filemanager/tree.c                 else if (current->sublevel == tree->selected_ptr->sublevel + 1
tree              412 src/filemanager/tree.c                          && vfs_path_len (tree->selected_ptr->name) > 1)
tree              414 src/filemanager/tree.c                     if (vfs_path_equal_len (current->name, tree->selected_ptr->name,
tree              415 src/filemanager/tree.c                                             vfs_path_len (tree->selected_ptr->name)))
tree              421 src/filemanager/tree.c     tree_show_mini_info (tree, tree_lines, tree_cols);
tree              427 src/filemanager/tree.c tree_check_focus (WTree * tree)
tree              429 src/filemanager/tree.c     if (tree->topdiff < 3)
tree              430 src/filemanager/tree.c         tree->topdiff = 3;
tree              431 src/filemanager/tree.c     else if (tree->topdiff >= tlines (tree) - 3)
tree              432 src/filemanager/tree.c         tree->topdiff = tlines (tree) - 3 - 1;
tree              438 src/filemanager/tree.c tree_move_backward (WTree * tree, int i)
tree              441 src/filemanager/tree.c         tree->selected_ptr = back_ptr (tree->selected_ptr, &i);
tree              447 src/filemanager/tree.c         current = tree->selected_ptr;
tree              449 src/filemanager/tree.c                && current->prev->sublevel >= tree->selected_ptr->sublevel)
tree              452 src/filemanager/tree.c             if (current->sublevel == tree->selected_ptr->sublevel)
tree              454 src/filemanager/tree.c                 tree->selected_ptr = current;
tree              461 src/filemanager/tree.c     tree->topdiff -= i;
tree              462 src/filemanager/tree.c     tree_check_focus (tree);
tree              468 src/filemanager/tree.c tree_move_forward (WTree * tree, int i)
tree              471 src/filemanager/tree.c         tree->selected_ptr = forw_ptr (tree->selected_ptr, &i);
tree              477 src/filemanager/tree.c         current = tree->selected_ptr;
tree              479 src/filemanager/tree.c                && current->next->sublevel >= tree->selected_ptr->sublevel)
tree              482 src/filemanager/tree.c             if (current->sublevel == tree->selected_ptr->sublevel)
tree              484 src/filemanager/tree.c                 tree->selected_ptr = current;
tree              491 src/filemanager/tree.c     tree->topdiff += i;
tree              492 src/filemanager/tree.c     tree_check_focus (tree);
tree              498 src/filemanager/tree.c tree_move_to_child (WTree * tree)
tree              503 src/filemanager/tree.c     if (tree->selected_ptr == NULL)
tree              507 src/filemanager/tree.c     current = tree->selected_ptr->next;
tree              509 src/filemanager/tree.c     if (current != NULL && current->sublevel > tree->selected_ptr->sublevel)
tree              512 src/filemanager/tree.c         tree->selected_ptr = current;
tree              513 src/filemanager/tree.c         tree->topdiff++;
tree              514 src/filemanager/tree.c         tree_check_focus (tree);
tree              519 src/filemanager/tree.c         tree_rescan (tree);
tree              520 src/filemanager/tree.c         current = tree->selected_ptr->next;
tree              521 src/filemanager/tree.c         if (current != NULL && current->sublevel > tree->selected_ptr->sublevel)
tree              523 src/filemanager/tree.c             tree->selected_ptr = current;
tree              524 src/filemanager/tree.c             tree->topdiff++;
tree              525 src/filemanager/tree.c             tree_check_focus (tree);
tree              533 src/filemanager/tree.c tree_move_to_parent (WTree * tree)
tree              538 src/filemanager/tree.c     if (tree->selected_ptr == NULL)
tree              541 src/filemanager/tree.c     old = tree->selected_ptr;
tree              543 src/filemanager/tree.c     for (current = tree->selected_ptr->prev;
tree              544 src/filemanager/tree.c          current != NULL && current->sublevel >= tree->selected_ptr->sublevel;
tree              546 src/filemanager/tree.c         tree->topdiff--;
tree              549 src/filemanager/tree.c         current = tree->store->tree_first;
tree              550 src/filemanager/tree.c     tree->selected_ptr = current;
tree              551 src/filemanager/tree.c     tree_check_focus (tree);
tree              552 src/filemanager/tree.c     return tree->selected_ptr != old;
tree              558 src/filemanager/tree.c tree_move_to_top (WTree * tree)
tree              560 src/filemanager/tree.c     tree->selected_ptr = tree->store->tree_first;
tree              561 src/filemanager/tree.c     tree->topdiff = 0;
tree              567 src/filemanager/tree.c tree_move_to_bottom (WTree * tree)
tree              569 src/filemanager/tree.c     tree->selected_ptr = tree->store->tree_last;
tree              570 src/filemanager/tree.c     tree->topdiff = tlines (tree) - 3 - 1;
tree              576 src/filemanager/tree.c tree_chdir_sel (WTree * tree)
tree              578 src/filemanager/tree.c     if (tree->is_panel)
tree              582 src/filemanager/tree.c         if (do_cd (tree->selected_ptr->name, cd_exact))
tree              586 src/filemanager/tree.c                      vfs_path_as_str (tree->selected_ptr->name), unix_error_string (errno));
tree              590 src/filemanager/tree.c         show_tree (tree);
tree              594 src/filemanager/tree.c         WDialog *h = WIDGET (tree)->owner;
tree              604 src/filemanager/tree.c maybe_chdir (WTree * tree)
tree              606 src/filemanager/tree.c     if (xtree_mode && tree->is_panel && is_idle ())
tree              607 src/filemanager/tree.c         tree_chdir_sel (tree);
tree              614 src/filemanager/tree.c search_tree (WTree * tree, char *text)
tree              622 src/filemanager/tree.c     current = tree->selected_ptr;
tree              624 src/filemanager/tree.c     while (!found && (!wrapped || current != tree->selected_ptr))
tree              627 src/filemanager/tree.c             tree->selected_ptr = current;
tree              635 src/filemanager/tree.c                 current = tree->store->tree_first;
tree              639 src/filemanager/tree.c             tree->topdiff++;
tree              642 src/filemanager/tree.c     tree_check_focus (tree);
tree              649 src/filemanager/tree.c tree_do_search (WTree * tree, int key)
tree              653 src/filemanager/tree.c     l = strlen (tree->search_buffer);
tree              655 src/filemanager/tree.c         tree->search_buffer[--l] = '\0';
tree              656 src/filemanager/tree.c     else if (key && l < sizeof (tree->search_buffer) - 1)
tree              658 src/filemanager/tree.c         tree->search_buffer[l] = key;
tree              659 src/filemanager/tree.c         tree->search_buffer[++l] = '\0';
tree              662 src/filemanager/tree.c     if (!search_tree (tree, tree->search_buffer))
tree              663 src/filemanager/tree.c         tree->search_buffer[--l] = '\0';
tree              665 src/filemanager/tree.c     show_tree (tree);
tree              666 src/filemanager/tree.c     maybe_chdir (tree);
tree              674 src/filemanager/tree.c     WTree *tree = data;
tree              681 src/filemanager/tree.c     if (tree->selected_ptr != NULL && mc_chdir (tree->selected_ptr->name) == 0)
tree              685 src/filemanager/tree.c         tree_store_rescan (tree->selected_ptr->name);
tree              697 src/filemanager/tree.c     WTree *tree = data;
tree              699 src/filemanager/tree.c     if (tree->selected_ptr != NULL)
tree              700 src/filemanager/tree.c         tree_remove_entry (tree, tree->selected_ptr->name);
tree              706 src/filemanager/tree.c tree_copy (WTree * tree, const char *default_dest)
tree              711 src/filemanager/tree.c     if (tree->selected_ptr == NULL)
tree              715 src/filemanager/tree.c                 str_trunc (vfs_path_as_str (tree->selected_ptr->name), 50));
tree              729 src/filemanager/tree.c         copy_dir_dir (tctx, ctx, vfs_path_as_str (tree->selected_ptr->name), dest, TRUE, FALSE,
tree              741 src/filemanager/tree.c tree_move (WTree * tree, const char *default_dest)
tree              750 src/filemanager/tree.c     if (tree->selected_ptr == NULL)
tree              754 src/filemanager/tree.c                 str_trunc (vfs_path_as_str (tree->selected_ptr->name), 50));
tree              780 src/filemanager/tree.c     move_dir_dir (tctx, ctx, vfs_path_as_str (tree->selected_ptr->name), dest);
tree              793 src/filemanager/tree.c tree_mkdir (WTree * tree)
tree              797 src/filemanager/tree.c     if (tree->selected_ptr == NULL || chdir (tree->selected_ptr->name) != 0)
tree              802 src/filemanager/tree.c     tree_rescan (tree);
tree              812 src/filemanager/tree.c     WTree *tree = data;
tree              816 src/filemanager/tree.c     if (tree->selected_ptr == NULL)
tree              824 src/filemanager/tree.c         buf = g_strdup_printf (_("Delete %s?"), vfs_path_as_str (tree->selected_ptr->name));
tree              836 src/filemanager/tree.c     if (erase_dir (tctx, ctx, tree->selected_ptr->name) == FILE_CONT)
tree              837 src/filemanager/tree.c         tree_forget (tree);
tree              845 src/filemanager/tree.c tree_move_up (WTree * tree)
tree              847 src/filemanager/tree.c     tree_move_backward (tree, 1);
tree              848 src/filemanager/tree.c     show_tree (tree);
tree              849 src/filemanager/tree.c     maybe_chdir (tree);
tree              855 src/filemanager/tree.c tree_move_down (WTree * tree)
tree              857 src/filemanager/tree.c     tree_move_forward (tree, 1);
tree              858 src/filemanager/tree.c     show_tree (tree);
tree              859 src/filemanager/tree.c     maybe_chdir (tree);
tree              865 src/filemanager/tree.c tree_move_home (WTree * tree)
tree              867 src/filemanager/tree.c     tree_move_to_top (tree);
tree              868 src/filemanager/tree.c     show_tree (tree);
tree              869 src/filemanager/tree.c     maybe_chdir (tree);
tree              875 src/filemanager/tree.c tree_move_end (WTree * tree)
tree              877 src/filemanager/tree.c     tree_move_to_bottom (tree);
tree              878 src/filemanager/tree.c     show_tree (tree);
tree              879 src/filemanager/tree.c     maybe_chdir (tree);
tree              885 src/filemanager/tree.c tree_move_pgup (WTree * tree)
tree              887 src/filemanager/tree.c     tree_move_backward (tree, tlines (tree) - 1);
tree              888 src/filemanager/tree.c     show_tree (tree);
tree              889 src/filemanager/tree.c     maybe_chdir (tree);
tree              895 src/filemanager/tree.c tree_move_pgdn (WTree * tree)
tree              897 src/filemanager/tree.c     tree_move_forward (tree, tlines (tree) - 1);
tree              898 src/filemanager/tree.c     show_tree (tree);
tree              899 src/filemanager/tree.c     maybe_chdir (tree);
tree              905 src/filemanager/tree.c tree_move_left (WTree * tree)
tree              911 src/filemanager/tree.c         v = tree_move_to_parent (tree);
tree              912 src/filemanager/tree.c         show_tree (tree);
tree              913 src/filemanager/tree.c         maybe_chdir (tree);
tree              922 src/filemanager/tree.c tree_move_right (WTree * tree)
tree              928 src/filemanager/tree.c         tree_move_to_child (tree);
tree              929 src/filemanager/tree.c         show_tree (tree);
tree              930 src/filemanager/tree.c         maybe_chdir (tree);
tree              940 src/filemanager/tree.c tree_start_search (WTree * tree)
tree              942 src/filemanager/tree.c     if (tree->searching)
tree              944 src/filemanager/tree.c         if (tree->selected_ptr == tree->store->tree_last)
tree              945 src/filemanager/tree.c             tree_move_to_top (tree);
tree              957 src/filemanager/tree.c             tree_move_forward (tree, 1);
tree              960 src/filemanager/tree.c         tree_do_search (tree, 0);
tree              964 src/filemanager/tree.c         tree->searching = TRUE;
tree              965 src/filemanager/tree.c         tree->search_buffer[0] = '\0';
tree              972 src/filemanager/tree.c tree_toggle_navig (WTree * tree)
tree              978 src/filemanager/tree.c     b = find_buttonbar (WIDGET (tree)->owner);
tree              981 src/filemanager/tree.c                          tree_map, WIDGET (tree));
tree              988 src/filemanager/tree.c tree_execute_cmd (WTree * tree, long command)
tree              993 src/filemanager/tree.c         tree->searching = FALSE;
tree             1004 src/filemanager/tree.c         tree_forget (tree);
tree             1007 src/filemanager/tree.c         tree_toggle_navig (tree);
tree             1010 src/filemanager/tree.c         tree_copy (tree, "");
tree             1013 src/filemanager/tree.c         tree_move (tree, "");
tree             1016 src/filemanager/tree.c         tree_move_up (tree);
tree             1019 src/filemanager/tree.c         tree_move_down (tree);
tree             1022 src/filemanager/tree.c         tree_move_home (tree);
tree             1025 src/filemanager/tree.c         tree_move_end (tree);
tree             1028 src/filemanager/tree.c         tree_move_pgup (tree);
tree             1031 src/filemanager/tree.c         tree_move_pgdn (tree);
tree             1034 src/filemanager/tree.c         tree_chdir_sel (tree);
tree             1037 src/filemanager/tree.c         tree_rescan (tree);
tree             1040 src/filemanager/tree.c         tree_start_search (tree);
tree             1043 src/filemanager/tree.c         tree_rmdir (tree);
tree             1046 src/filemanager/tree.c         if (!tree->is_panel)
tree             1047 src/filemanager/tree.c             dlg_stop (WIDGET (tree)->owner);
tree             1053 src/filemanager/tree.c     show_tree (tree);
tree             1061 src/filemanager/tree.c tree_key (WTree * tree, int key)
tree             1067 src/filemanager/tree.c         if (tree->is_panel)
tree             1069 src/filemanager/tree.c             tree->searching = FALSE;
tree             1070 src/filemanager/tree.c             show_tree (tree);
tree             1078 src/filemanager/tree.c     if (tree->searching && ((key >= ' ' && key <= 255) || key == KEY_BACKSPACE))
tree             1080 src/filemanager/tree.c         tree_do_search (tree, key);
tree             1081 src/filemanager/tree.c         show_tree (tree);
tree             1090 src/filemanager/tree.c                 return tree_move_left (tree) ? MSG_HANDLED : MSG_NOT_HANDLED;
tree             1092 src/filemanager/tree.c                 return tree_move_right (tree) ? MSG_HANDLED : MSG_NOT_HANDLED;
tree             1094 src/filemanager/tree.c                 tree_execute_cmd (tree, tree_map[i].command);
tree             1101 src/filemanager/tree.c         tree_start_search (tree);
tree             1102 src/filemanager/tree.c         tree_do_search (tree, key);
tree             1112 src/filemanager/tree.c tree_frame (WDialog * h, WTree * tree)
tree             1114 src/filemanager/tree.c     Widget *w = WIDGET (tree);
tree             1120 src/filemanager/tree.c     if (tree->is_panel)
tree             1149 src/filemanager/tree.c     WTree *tree = (WTree *) w;
tree             1156 src/filemanager/tree.c         tree_frame (h, tree);
tree             1157 src/filemanager/tree.c         show_tree (tree);
tree             1185 src/filemanager/tree.c         tree->searching = FALSE;
tree             1189 src/filemanager/tree.c         return tree_key (tree, parm);
tree             1193 src/filemanager/tree.c         return tree_execute_cmd (tree, parm);
tree             1196 src/filemanager/tree.c         tree_destroy (tree);
tree             1212 src/filemanager/tree.c     WTree *tree = (WTree *) w;
tree             1216 src/filemanager/tree.c     if (tree->is_panel)
tree             1223 src/filemanager/tree.c         if (tree->is_panel && event->y == WIDGET (w->owner)->y)
tree             1236 src/filemanager/tree.c             lines = tlines (tree);
tree             1240 src/filemanager/tree.c                 tree_move_backward (tree, lines - 1);
tree             1241 src/filemanager/tree.c                 show_tree (tree);
tree             1245 src/filemanager/tree.c                 tree_move_forward (tree, lines - 1);
tree             1246 src/filemanager/tree.c                 show_tree (tree);
tree             1250 src/filemanager/tree.c                 if (tree->tree_shown[y] != NULL)
tree             1252 src/filemanager/tree.c                     tree->selected_ptr = tree->tree_shown[y];
tree             1253 src/filemanager/tree.c                     tree->topdiff = y;
tree             1256 src/filemanager/tree.c                 tree_chdir_sel (tree);
tree             1278 src/filemanager/tree.c     WTree *tree;
tree             1281 src/filemanager/tree.c     tree = g_new (WTree, 1);
tree             1282 src/filemanager/tree.c     w = WIDGET (tree);
tree             1286 src/filemanager/tree.c     tree->is_panel = is_panel;
tree             1287 src/filemanager/tree.c     tree->selected_ptr = NULL;
tree             1289 src/filemanager/tree.c     tree->store = tree_store_get ();
tree             1290 src/filemanager/tree.c     tree_store_add_entry_remove_hook (remove_callback, tree);
tree             1291 src/filemanager/tree.c     tree->tree_shown = NULL;
tree             1292 src/filemanager/tree.c     tree->search_buffer[0] = '\0';
tree             1293 src/filemanager/tree.c     tree->topdiff = w->lines / 2;
tree             1294 src/filemanager/tree.c     tree->searching = FALSE;
tree             1296 src/filemanager/tree.c     load_tree (tree);
tree             1297 src/filemanager/tree.c     return tree;
tree             1303 src/filemanager/tree.c tree_chdir (WTree * tree, const vfs_path_t * dir)
tree             1310 src/filemanager/tree.c         tree->selected_ptr = current;
tree             1311 src/filemanager/tree.c         tree_check_focus (tree);
tree             1319 src/filemanager/tree.c tree_selected_name (const WTree * tree)
tree             1321 src/filemanager/tree.c     return tree->selected_ptr->name;
tree               27 src/filemanager/tree.h void tree_chdir (WTree * tree, const vfs_path_t * dir);
tree               28 src/filemanager/tree.h const vfs_path_t *tree_selected_name (const WTree * tree);
tree               16 src/filemanager/treestore.h typedef void (*tree_store_remove_fn) (struct tree_entry * tree, void *data);