Interface

GtkPrintOperationPreview

Description

interface Gtk.PrintOperationPreview : GObject.Object

No description available.

Prerequisite

In order to implement PrintOperationPreview, your type must inherit fromGObject.

Implementations

Instance methods

gtk_print_operation_preview_end_preview

Ends a preview.

since: 2.10

gtk_print_operation_preview_is_selected

Returns whether the given page is included in the set of pages that have been selected for printing.

since: 2.10

gtk_print_operation_preview_render_page

Renders a page to the preview, using the print context that was passed to the GtkPrintOperation::preview handler together with preview.

since: 2.10

Signals

Gtk.PrintOperationPreview::got-page-size

The ::got-page-size signal is emitted once for each page that gets rendered to the preview.

Gtk.PrintOperationPreview::ready

The ::ready signal gets emitted once per preview operation, before the first page is rendered.

Interface structure

struct GtkPrintOperationPreviewIface {
  GTypeInterface g_iface;
  void (* ready) (
    GtkPrintOperationPreview* preview,
    GtkPrintContext* context
  );
  void (* got_page_size) (
    GtkPrintOperationPreview* preview,
    GtkPrintContext* context,
    GtkPageSetup* page_setup
  );
  void (* render_page) (
    GtkPrintOperationPreview* preview,
    gint page_nr
  );
  gboolean (* is_selected) (
    GtkPrintOperationPreview* preview,
    gint page_nr
  );
  void (* end_preview) (
    GtkPrintOperationPreview* preview
  );
  void (* _gtk_reserved1) (
void
  );
  void (* _gtk_reserved2) (
void
  );
  void (* _gtk_reserved3) (
void
  );
  void (* _gtk_reserved4) (
void
  );
  void (* _gtk_reserved5) (
void
  );
  void (* _gtk_reserved6) (
void
  );
  void (* _gtk_reserved7) (
void
  );
  void (* _gtk_reserved8) (
void
  );
  
}

No description available.

Interface members
g_iface
GTypeInterface
 

No description available.

ready
void (* ready) (
    GtkPrintOperationPreview* preview,
    GtkPrintContext* context
  )
 

No description available.

got_page_size
void (* got_page_size) (
    GtkPrintOperationPreview* preview,
    GtkPrintContext* context,
    GtkPageSetup* page_setup
  )
 

No description available.

render_page
void (* render_page) (
    GtkPrintOperationPreview* preview,
    gint page_nr
  )
 

No description available.

is_selected
gboolean (* is_selected) (
    GtkPrintOperationPreview* preview,
    gint page_nr
  )
 

No description available.

end_preview
void (* end_preview) (
    GtkPrintOperationPreview* preview
  )
 

No description available.

_gtk_reserved1
void (* _gtk_reserved1) (
void
  )
 

No description available.

_gtk_reserved2
void (* _gtk_reserved2) (
void
  )
 

No description available.

_gtk_reserved3
void (* _gtk_reserved3) (
void
  )
 

No description available.

_gtk_reserved4
void (* _gtk_reserved4) (
void
  )
 

No description available.

_gtk_reserved5
void (* _gtk_reserved5) (
void
  )
 

No description available.

_gtk_reserved6
void (* _gtk_reserved6) (
void
  )
 

No description available.

_gtk_reserved7
void (* _gtk_reserved7) (
void
  )
 

No description available.

_gtk_reserved8
void (* _gtk_reserved8) (
void
  )
 

No description available.

Virtual methods

Gtk.PrintOperationPreview.end_preview

Ends a preview.

since: 2.10

Gtk.PrintOperationPreview.got_page_size
No description available.

Gtk.PrintOperationPreview.is_selected

Returns whether the given page is included in the set of pages that have been selected for printing.

since: 2.10

Gtk.PrintOperationPreview.ready
No description available.

Gtk.PrintOperationPreview.render_page

Renders a page to the preview, using the print context that was passed to the GtkPrintOperation::preview handler together with preview.

since: 2.10