glade2perl

Langue: en

Version: 2002-11-16 (mandriva - 01/05/08)

Section: 1 (Commandes utilisateur)

NAME

glade2perl - Builds Gtk-Perl sources from a Glade file

SYNOPSIS

  glade2perl MyProject.glade 2;
 
 

DESCRIPTION

This script will read a Glade file (first arg) and generate Gtk-Perl source application files for the Glade project.

This script is called when you click Glade's 'Build' button or you can call it directly.

If you do not specify a project file as the first arg, Glade-Perl will work on the most recently used file (details kept in the user options file).

Diagnostics are produced if you specify a verbose level as second arg (default level is 0 ie. no messages logged).

     'verbose'          => 0,   # Turn off diagnostics
     'verbose'          => 1,   # Errors only
     'verbose'          => 2,   # Warnings and some diagnostics
     'verbose'          => 4,   # More diagnostics (you get the idea :)
     'verbose'          => 10,  # All diagnostics (more than you want)
 
 

For a user, probably the most useful verbose level is 2.

To save the diagnostics to disk (default 0 is NO output), you can edit the value in glade2perl to change the default verbosity (eg from Glade) or you can specify a 2nd arg to glade2perl if you are calling the script directly.

SEE ALSO

Glade::PerlGenerate(3) Glade::PerlRun(3)

AUTHOR

Dermot Musgrove <dermot.musgrove@virgin.net>