man Gtk2::SourceView::PrintJob () - Gtk2::SourceView::PrintJob

NAME

Gtk2::SourceView::PrintJob

HIERARCHY

  Glib::Object
  +----Gtk2::SourceView::PrintJob

METHODS

printjob = Gtk2::SourceView::PrintJob->new ($config)

$job->set_buffer ($buffer)

$job->cancel

$job->set_config ($config)

$job->set_font_desc ($desc)

$job->set_font ($font_name)

Format strings are strftime like.

$job->set_header_footer_font_desc ($desc)

$job->set_header_footer_font ($font_name)

Format strings are strftime like.

$job->set_highlight ($highlight)

$job->set_numbers_font_desc ($desc)

$job->set_numbers_font ($font_name)

$job->set_print_footer ($setting)

$job->set_print_header ($setting)

$job->set_print_numbers ($interval)

$job->setup_from_view ($view)

$job->set_tabs_width ($tabs_width)

$job->set_wrap_mode ($wrap)

PROPERTIES

'buffer' (Gtk2::SourceView::Buffer : readable / writable)
GtkSourceBuffer object to print
'config' (Gnome2::Print::Config : readable / writable)
Configuration options for the print job
'font' (string : readable / writable)
GnomeFont name to use for the document text (deprecated)
'font-desc' (Gtk2::Pango::FontDescription : readable / writable)
Font to use for the document text (e.g. Monospace 10)
'header-footer-font' (string : readable / writable)
GnomeFont name to use for the header and footer (deprecated)
'header-footer-font-desc' (Gtk2::Pango::FontDescription : readable / writable)
Font to use for headers and footers (e.g. Monospace 10)
'highlight' (boolean : readable / writable)
Whether to print the document with highlighted syntax
'numbers-font' (string : readable / writable)
GnomeFont name to use for the line numbers (deprecated)
'numbers-font-desc' (Gtk2::Pango::FontDescription : readable / writable)
Font description to use for the line numbers
'print-footer' (boolean : readable / writable)
Whether to print a footer in each page
'print-header' (boolean : readable / writable)
Whether to print a header in each page
'print-numbers' (Glib::UInt : readable / writable)
Interval of printed line numbers (0 means no numbers)
'tabs-width' (Glib::UInt : readable / writable)
Width in equivalent space characters of tabs
'wrap-mode' (Gtk2::WrapMode : readable / writable)
Word wrapping mode

SIGNALS

begin-page (Gtk2::SourceView::PrintJob)
finished (Gtk2::SourceView::PrintJob)

ENUMS AND FLAGS

enum Gtk2::WrapMode

* 'none' / 'GTK_WRAP_NONE'
* 'char' / 'GTK_WRAP_CHAR'
* 'word' / 'GTK_WRAP_WORD'
* 'word-char' / 'GTK_WRAP_WORD_CHAR'

SEE ALSO

Glib::Object

COPYRIGHT

Copyright (C) 2006 Gtk2-Perl Team