Logo Search packages:      
Sourcecode: pcmanfm version File versions  Download package

ptk-dir-tree-view.h

/*
*  C Interface: ptkdirtreeview
*
* Description:
*
*
* Author: Hong Jen Yee (PCMan) <pcman.tw (AT) gmail.com>, (C) 2006
*
* Copyright: See COPYING file that comes with this distribution
*
*/

#ifndef _PTK_DIR_TREE_VIEW_H_
#define _PTK_DIR_TREE_VIEW_H_

#include <gtk/gtk.h>
#include "ptk-file-browser.h"

G_BEGIN_DECLS

/* Create a new dir tree view */
GtkWidget* ptk_dir_tree_view_new( PtkFileBrowser* browser,
                                  gboolean show_hidden );

gboolean ptk_dir_tree_view_chdir( GtkTreeView* dir_tree_view, const char* path );

/* Return a newly allocated string containing path of current selected dir. */
char* ptk_dir_tree_view_get_selected_dir( GtkTreeView* dir_tree_view );

void ptk_dir_tree_view_show_hidden_files( GtkTreeView* dir_tree_view,
                                          gboolean show_hidden );

G_END_DECLS

#endif


Generated by  Doxygen 1.6.0   Back to index