- or download this
#!/usr/bin/perl --
use strict;
use warnings;
...
$tree->ExpandAll;
$frame->Show(1);
Wx::SimpleApp->new->MainLoop;
- or download this
$self -> {treechecker} = Wx::Perl::TreeChecker->new(
$panel,
...
| Wx::wxTR_HIDE_ROOT()
^ Wx::wxTR_LINES_AT_ROOT()
);
- or download this
if( $tree ->IsEmpty ){
$tree -> AddRoot('/');
...
my $root = $tree->GetRootItem;
my $stream_id = $tree-> AppendItem( $root, $stream );
_populate_tree($tree, $stream_id, $data->{$stream});