Gtk2::PrintContext(3pm)

Gtk2::PrintContext3pm

Wrapper for gtkprintcontext

Hierarchy

  Glib::Object
  +----Gtk2::PrintContext

Methods

context = $context->get_cairo_context

$context->set_cairo_context ($cr, $dpi_x, $dpi_y)

•

$cr (Cairo::Context)

•

$dpi_x (double)

•

$dpi_y (double)

context = $context->create_pango_context

layout = $context->create_pango_layout

double = $context->get_dpi_x

double = $context->get_dpi_y

(top, bottom, left, right) = $context->get_hard_margins

Returns an empty list if the hard margins could not be retrieved.

Since: gtk+ 2.20

double = $context->get_height

pagesetup = $context->get_page_setup

fontmap = $context->get_pango_fontmap

double = $context->get_width

Releases

5 releases since Debian 5.0 (Lenny); the text changed 4 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 9
  5. 10

From libgtk2-perl-doc 2:1.24992-1 in Debian 10 (Buster). Parsed by carta from the page's man source.