Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

dirtree Class Reference

A view to the file system. More...

#include <dirtree.h>

List of all members.

Public Member Functions

 dirtree (wxWindow *parent, wxWindowID id=wxID_ANY)
void onExpand (wxTreeEvent &evt)
 Called when the user expands a node.
void onSelect (wxTreeEvent &evt)
 Called when a node is selected.
void onRightClick (wxTreeEvent &evt)
 Called when the user right-clicks a node.
void onLabelEdit (wxCommandEvent &evt)
 Called when user starts to edit a label.
void onEndLabelEdit (wxTreeEvent &evt)
 Called when user has finihed editing a label.
void onBookmarks (wxCommandEvent &evt)
 Pop up a bookmark dialog.
void onMakeRoot (wxCommandEvent &evt)
 Makes the selected node the new root of the tree.
void onRoot (wxCommandEvent &evt)
 Rebuilds the root node from the root filesystem.
void onRefresh (wxCommandEvent &evt)
 Repopulates the child nodes of the selected node.
void onNewFolder (wxCommandEvent &evt)
 Create a new folder beneath the selected node.
void onRename (wxCommandEvent &evt)
 Rename the disk artifact of the selected node.
void onDelete (wxCommandEvent &evt)
 Delete the disk artifact of the selected node.
void onExecute (wxCommandEvent &evt)
 Attempt to execute the file at the selected node.
void onProperties (wxCommandEvent &evt)
 Show properties dialog at the selected node.
void onCopy (wxCommandEvent &evt)
 Copy the selected node.
void onMove (wxCommandEvent &evt)
 Move a node in the tree.
void onBeginDrag (wxTreeEvent &evt)
 Called when user initiates a drap operation.
void onEndDrag (wxTreeEvent &evt)
 Called when user has finished drag operation.


Detailed Description

A view to the file system.

View and manipulate the file system.


Constructor & Destructor Documentation

dirtree::dirtree wxWindow *  parent,
wxWindowID  id = wxID_ANY
 

Author:
J. Knight <jnite@users.sourceforge.net>
Version:
Id
dirtree.cpp,v 1.8 2006/02/08 02:32:13 jimbag Exp


Member Function Documentation

void dirtree::onBeginDrag wxTreeEvent &  evt  ) 
 

Called when user initiates a drap operation.

Parameters:
evt generated by wx

void dirtree::onBookmarks wxCommandEvent &  evt  ) 
 

Pop up a bookmark dialog.

Parameters:
evt generated by wx

void dirtree::onCopy wxCommandEvent &  evt  ) 
 

Copy the selected node.

Copy a node in the tree and the associated file on disk.

Parameters:
evt generated by wx

void dirtree::onDelete wxCommandEvent &  evt  ) 
 

Delete the disk artifact of the selected node.

Parameters:
evt generated by wx

void dirtree::onEndDrag wxTreeEvent &  evt  ) 
 

Called when user has finished drag operation.

Parameters:
evt generated by wx
Bug:
__WXGTK__ still has the mouse captured when this gets called so popping a dialog effectively freezes everything.
A fix was contributed to the list but this is disabled until the official wx 2.6.3

void dirtree::onEndLabelEdit wxTreeEvent &  evt  ) 
 

Called when user has finihed editing a label.

Attempts to rename the disk artifact.

Parameters:
evt generated by wx

void dirtree::onExecute wxCommandEvent &  evt  ) 
 

Attempt to execute the file at the selected node.

Parameters:
evt generated by wx

void dirtree::onExpand wxTreeEvent &  evt  ) 
 

Called when the user expands a node.

Builds the child nodes beneath the selected node.

Parameters:
evt generated by wx

void dirtree::onLabelEdit wxCommandEvent &  evt  ) 
 

Called when user starts to edit a label.

Parameters:
evt generated by wx

void dirtree::onMakeRoot wxCommandEvent &  evt  ) 
 

Makes the selected node the new root of the tree.

Parameters:
evt generated by wx

void dirtree::onMove wxCommandEvent &  evt  ) 
 

Move a node in the tree.

Move node in the tree and the associated disk file.

Parameters:
evt generated by wx

void dirtree::onNewFolder wxCommandEvent &  evt  ) 
 

Create a new folder beneath the selected node.

Parameters:
evt generated by wx

void dirtree::onProperties wxCommandEvent &  evt  ) 
 

Show properties dialog at the selected node.

Parameters:
evt generated by wx

void dirtree::onRefresh wxCommandEvent &  evt  ) 
 

Repopulates the child nodes of the selected node.

Parameters:
evt generated by wx

void dirtree::onRename wxCommandEvent &  evt  ) 
 

Rename the disk artifact of the selected node.

Parameters:
evt generated by wx

void dirtree::onRightClick wxTreeEvent &  evt  ) 
 

Called when the user right-clicks a node.

Builds and shows a popup contextual menu.

Parameters:
evt generated by wx

void dirtree::onRoot wxCommandEvent &  evt  ) 
 

Rebuilds the root node from the root filesystem.

Parameters:
evt generated by wx

void dirtree::onSelect wxTreeEvent &  evt  ) 
 

Called when a node is selected.

Parameters:
evt generated by wx


The documentation for this class was generated from the following files:
Generated on Fri Mar 10 12:32:03 2006 for MonkeyFish by  doxygen 1.4.4