Extracted from Pike v7.3 release 18 at 2002-03-27.
pike.roxen.com
[Top]
Gnome
Gnome.Less

Class Gnome.Less

Description

This widget implements a graphical "more" command. It allows the user to view a text file. There are various possible ways to specify the contents to display: loading the data from a file (by providing a filename) or by loading it from an open file data stream or from the output of a Unix command.

 Gnome.Less()->show_string("Example string\nshown in this\nwidget")

 Gnome.Less()->show_file("/usr/dict/words" );

 Gnome.Less()->show_command( "psrinfo -v" )

Inherits

  • GTK.Vbox