Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Perl Modules

    Gnome2::Vte 0.08

    Download button

    No screenshots available
    Downloads: 670  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Fair (2.5/5)
    4 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Torsten Schoenfeld | More programs
    Perl Artistic License / FREE
    August 6th, 2008, 19:59 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Gnome2::Vte description

    Gnome2::Vte is a Perl interface to the Virtual Terminal Emulation library.

    Gnome2::Vte is a Perl interface to the Virtual Terminal Emulation library.

    SYNOPSIS

    use strict;
    use Glib qw(TRUE FALSE);
    use Gtk2 -init;
    use Gnome2::Vte;

    # create things
    my $window = Gtk2::Window->new;
    my $scrollbar = Gtk2::VScrollbar->new;
    my $hbox = Gtk2::HBox->new;
    my $terminal = Gnome2::Vte::Terminal->new;

    # set up scrolling
    $scrollbar->set_adjustment ($terminal->get_adjustment);

    # lay 'em out
    $window->add ($hbox);
    $hbox->pack_start ($terminal, TRUE, TRUE, 0);
    $hbox->pack_start ($scrollbar, FALSE, FALSE, 0);
    $window->show_all;

    # hook 'em up
    $terminal->fork_command ('/bin/bash', ['bash', '-login'], undef,
    '/tmp', FALSE, FALSE, FALSE);
    $terminal->signal_connect (child_exited => sub { Gtk2->main_quit });
    $window->signal_connect (delete_event =>
    sub { Gtk2->main_quit; FALSE });

    # turn 'em loose
    Gtk2->main;

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    VTE interface | Virtual Terminal Emulation | Perl module | GNOME | VTE | Perl

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM