pike.ida.liu.se
Search for
Home > Docs > Pike reference

[Top]
Gnome
Gnome.Less

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" )


Inherit Vbox

inherit GTK.Vbox : Vbox

Module reference for Pike v7.8 release 116, 2008-12-31