Gnome2::Vte man page on OpenMandriva

Man page or keyword search:  
man Server   8135 pages
apropos Keyword Search (all sections)
Output format
OpenMandriva logo
[printable version]

Vte(3)		      User Contributed Perl Documentation		Vte(3)

NAME
       Gnome2::Vte - 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;

ABSTRACT
       This module allows a Perl developer to use the Virtual Terminal
       Emulator library (libvte for short).

SEE ALSO
       Gnome2::Vte::index(3pm), Gtk2(3pm), Gtk2::api(3pm) and
       <http://developer.gnome.org/doc/API/2.0/vte/>.

AUTHOR
       Torsten Schoenfeld <kaffeetisch at gmx dot de>

COPYRIGHT AND LICENSE
       Copyright (C) 2003-2006 by the gtk2-perl team

perl v5.16.3			  2012-03-01				Vte(3)
[top]

List of man pages available for OpenMandriva

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net