1Gtk2::PrintContext(3) User Contributed Perl DocumentationGtk2::PrintContext(3)
2
3
4

NAME

6       Gtk2::PrintContext - wrapper for GtkPrintContext
7

HIERARCHY

9         Glib::Object
10         +----Gtk2::PrintContext
11

METHODS

13   context = $context->get_cairo_context
14   $context->set_cairo_context ($cr, $dpi_x, $dpi_y)
15       ·   $cr (Cairo::Context)
16
17       ·   $dpi_x (double)
18
19       ·   $dpi_y (double)
20
21   context = $context->create_pango_context
22   layout = $context->create_pango_layout
23   double = $context->get_dpi_x
24   double = $context->get_dpi_y
25   (top, bottom, left, right) = $context->get_hard_margins
26       Returns an empty list if the hard margins could not be retrieved.
27
28       Since: gtk+ 2.20
29
30   double = $context->get_height
31   pagesetup = $context->get_page_setup
32   fontmap = $context->get_pango_fontmap
33   double = $context->get_width

SEE ALSO

35       Gtk2, Glib::Object
36
38       Copyright (C) 2003-2011 by the gtk2-perl team.
39
40       This software is licensed under the LGPL.  See Gtk2 for a full notice.
41
42
43
44perl v5.32.0                      2020-07-28             Gtk2::PrintContext(3)
Impressum