Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl --
    use strict;
    use warnings;
    ...
    $tree->ExpandAll;
    $frame->Show(1);
    Wx::SimpleApp->new->MainLoop;
    
  2. or download this
        $self -> {treechecker} = Wx::Perl::TreeChecker->new(
            $panel,
    ...
            | Wx::wxTR_HIDE_ROOT()
            ^ Wx::wxTR_LINES_AT_ROOT()
        );
    
  3. 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});