~ubuntu-branches/ubuntu/utopic/pcmanfm/utopic

« back to all changes in this revision

Viewing changes to src/ptk/ptk-dir-tree-view.h

  • Committer: Bazaar Package Importer
  • Author(s): Andrew Lee
  • Date: 2006-10-16 16:47:04 UTC
  • Revision ID: james.westby@ubuntu.com-20061016164704-w8zobnrvdxc7rvm5
Tags: upstream-0.3.2.1
ImportĀ upstreamĀ versionĀ 0.3.2.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
*  C Interface: ptkdirtreeview
 
3
*
 
4
* Description:
 
5
*
 
6
*
 
7
* Author: Hong Jen Yee (PCMan) <pcman.tw (AT) gmail.com>, (C) 2006
 
8
*
 
9
* Copyright: See COPYING file that comes with this distribution
 
10
*
 
11
*/
 
12
 
 
13
#ifndef _PTK_DIR_TREE_VIEW_H_
 
14
#define _PTK_DIR_TREE_VIEW_H_
 
15
 
 
16
#include <gtk/gtk.h>
 
17
#include "ptk-file-browser.h"
 
18
 
 
19
G_BEGIN_DECLS
 
20
 
 
21
/* Create a new dir tree view */
 
22
GtkWidget* ptk_dir_tree_view_new( PtkFileBrowser* browser,
 
23
                                  gboolean show_hidden );
 
24
 
 
25
gboolean ptk_dir_tree_view_chdir( GtkTreeView* dir_tree_view, const char* path );
 
26
 
 
27
/* Return a newly allocated string containing path of current selected dir. */
 
28
char* ptk_dir_tree_view_get_selected_dir( GtkTreeView* dir_tree_view );
 
29
 
 
30
void ptk_dir_tree_view_show_hidden_files( GtkTreeView* dir_tree_view,
 
31
                                          gboolean show_hidden );
 
32
 
 
33
G_END_DECLS
 
34
 
 
35
#endif
 
36