<?xml version="1.0" standalone="no"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">

<refentry id="class-mateprintuipreview">
  <refnamediv>
    <refname>mateprint.ui.Preview</refname>
    <refpurpose>Preview object for MatePrintui</refpurpose>
  </refnamediv>

<!-- ************************************* -->
<!-- BEGIN OF MATEPRINTUIPREVIEW SYNOPSIS -->
<!-- ************************************* -->

<refsect1>
    <title>Synopsis</title>

    <classsynopsis language="python">
    <ooclass><classname>mateprint.ui.Preview</classname></ooclass>
    <ooclass><classname><link linkend="class-mateprintcontext">mateprint.Context</link></classname></ooclass>
    
    <constructorsynopsis language="python">
	   <methodname><link linkend="constructor-mateprintuipreview">mateprint.ui.Preview</link></methodname>
       <methodparam><parameter role="keyword">config</parameter></methodparam>
       <methodparam><parameter role="keyword">canvas</parameter></methodparam>
    </constructorsynopsis>
  </classsynopsis>
</refsect1>

<!-- ************************************* -->
<!-- BEGIN OF MATEPRINTUIPREVIEW ANCESTRY -->
<!-- ************************************* -->

<refsect1>
    <title>Ancestry</title>

<synopsis>+-- <link linkend="class-gobject">gobject.GObject</link>
  +-- <link linkend="class-mateprintcontext">mateprint.Context</link>
    +-- <link linkend="class-mateprintuipreview">mateprint.ui.Preview</link>
</synopsis>
</refsect1>

<!-- *************************************** -->
<!-- BEGIN OF MATEPRINTUIPREVIEW PROPERTIES -->
<!-- *************************************** -->

<refsect1>
    <title>Properties</title>
    
    <blockquote role="properties">
        <informaltable pgwide="1" frame="none">
            <tgroup cols="3">
                <colspec column="1" colwidth="1in"/>
                <colspec column="2" colwidth="1in"/>
                <colspec column="3" colwidth="4in"/>
                <tbody>
                    
                    <row valign="top">
                        <entry>"group"</entry>
                        <entry>Read-Write</entry>
                        <entry>Group.</entry>
                    </row>
                    <row valign="top">
                        <entry>"use-theme"</entry>
                        <entry>Read-Write</entry>
                        <entry>Use theme. Default value: <literal>FALSE</literal></entry>
                    </row>
                    <row valign="top">
                        <entry>"theme-compliance"</entry>
                        <entry>Read-Write</entry>
                        <entry>Theme compliance. Default value: <literal>TRUE</literal></entry>
                    </row>

                </tbody>
            </tgroup>
        </informaltable>
    </blockquote>
</refsect1>

<!-- **************************************** -->
<!-- BEGIN OF MATEPRINTUIPREVIEW DESCRIPTION -->
<!-- **************************************** -->

<refsect1 id="description-mateprintuipreview">
    <title>Description</title>

<para>

</para>
</refsect1>

<!-- **************************************** -->
<!-- BEGIN OF MATEPRINTUIPREVIEW CONSTRUCTOR -->
<!-- **************************************** -->

<refsect1 id="constructor-mateprintuipreview">
  <title>Constructor</title>

  <programlisting><constructorsynopsis language="python">
	  <methodname>mateprint.ui.Preview</methodname>
      <methodparam><parameter role="keyword">config</parameter></methodparam>
      <methodparam><parameter role="keyword">canvas</parameter></methodparam>
  </constructorsynopsis></programlisting>
    
  <variablelist>
    <varlistentry>
        <term><parameter role="keyword">config</parameter>&nbsp;:</term>
        <listitem><simpara> a <classname><link linkend="class-mateprintconfig">mateprint.Config</link></classname>.</simpara></listitem>
    </varlistentry>
    <varlistentry>
        <term><parameter role="keyword">canvas</parameter>&nbsp;:</term>
        <listitem><simpara> a <classname><link linkend="class-matecanvas">mateprint.Canvas</link></classname> on which we 
        display the print preview.</simpara></listitem>
    </varlistentry>
    <varlistentry>
	    <term><emphasis>Returns</emphasis>&nbsp;:</term>
	    <listitem><simpara>a new <link linkend="class-mateprintuipreview"><classname>mateprint.ui.Preview</classname></link>.
        </simpara></listitem>
    </varlistentry>
  </variablelist>

  <para>
    Creates a new <link linkend="class-mateprintuipreview"><classname>mateprint.ui.Preview</classname></link> object that use the 
    <methodname>canvas</methodname> <classname><link linkend="class-matecanvas">mateprint.Canvas</link></classname> as its rendering backend.
  </para>
 </refsect1>
</refentry>
