Meta::Widget::Gtk::DirTree - widget to show you parts of the file system.


Meta documentation Contained in the Meta distribution.

Index


Code Index:

NAME

Top

Meta::Widget::Gtk::DirTree - widget to show you parts of the file system.

COPYRIGHT

Top

LICENSE

Top

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.

DETAILS

Top

	MANIFEST: DirTree.pm
	PROJECT: meta
	VERSION: 0.06

SYNOPSIS

Top

	package foo;
	use Meta::Widget::Gtk::DirTree qw();
	my($object)=Meta::Widget::Gtk::DirTree->new();
	my($result)=$object->set_root("/");

DESCRIPTION

Top

This is a Widget which inherits from the Gtk::Tree widget and which shows a part of the file system in it,

FUNCTIONS

Top

	new($)
	set_root($)
	TEST($)

FUNCTION DOCUMENTATION

Top

new($)

This is a constructor for the Meta::Widget::Gtk::DirTree object.

set_root($)

This method will set the root which will be displayed in the widget.

TEST($)

Test suite for this module.

SUPER CLASSES

Top

Gtk::Tree(3)

BUGS

Top

None.

AUTHOR

Top

	Name: Mark Veltzer
	Email: mailto:veltzer@cpan.org
	WWW: http://www.veltzer.org
	CPAN id: VELTZER

HISTORY

Top

	0.00 MV graph visualization
	0.01 MV thumbnail user interface
	0.02 MV more thumbnail issues
	0.03 MV website construction
	0.04 MV web site automation
	0.05 MV SEE ALSO section fix
	0.06 MV md5 issues

SEE ALSO

Top

Gtk(3), strict(3)

TODO

Top

-add capability for the widget to save/load state information (which nodes are open).


Meta documentation Contained in the Meta distribution.

#!/bin/echo This is a perl module and should not be run

package Meta::Widget::Gtk::DirTree;

use strict qw(vars refs subs);
use Gtk qw();

our($VERSION,@ISA);
$VERSION="0.06";
@ISA=qw(Gtk::Tree);

#sub new($);
#sub set_root($);
#sub TEST($);

#__DATA__

sub new($) {
	my($class)=@_;
	my($self)=Gtk::Tree->new();
	$self->{ROOT}=defined;
	bless($self,$class);
	return($self);
}

sub set_root($$) {
	my($self,$val)=@_;
	$self->{ROOT}=$val;
	#lets add the root element
	#$self->node_add($node,$self,$self);
}

sub TEST($) {
	my($context)=@_;
	return(1);
}

1;

__END__