Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Gtk2::PrintContext(3) User Contributed Perl DocumentationGtk2::PrintContext(3)

NAME
       Gtk2::PrintContext - wrapper for	GtkPrintContext

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

METHODS
   context = $context->get_cairo_context
   $context->set_cairo_context ($cr, $dpi_x, $dpi_y)
       o   $cr (Cairo::Context)

       o   $dpi_x (double)

       o   $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
SEE ALSO
       Gtk2, Glib::Object

COPYRIGHT
       Copyright (C) 2003-2011 by the gtk2-perl	team.

       This software is	licensed under the LGPL.  See Gtk2 for a full notice.

perl v5.24.1			  2017-07-08		 Gtk2::PrintContext(3)

NAME | HIERARCHY | METHODS | SEE ALSO | COPYRIGHT

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Gtk2::PrintContext&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help