Interface
GtkPrintOperationPreview
Prerequisite
In order to implement PrintOperationPreview, your type must inherit fromGObject
.
Instance methods
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 |
|
No description available. |
|
ready |
|
No description available. |
|
got_page_size |
|
No description available. |
|
render_page |
|
No description available. |
|
is_selected |
|
No description available. |
|
end_preview |
|
No description available. |
|
_gtk_reserved1 |
|
No description available. |
|
_gtk_reserved2 |
|
No description available. |
|
_gtk_reserved3 |
|
No description available. |
|
_gtk_reserved4 |
|
No description available. |
|
_gtk_reserved5 |
|
No description available. |
|
_gtk_reserved6 |
|
No description available. |
|
_gtk_reserved7 |
|
No description available. |
|
_gtk_reserved8 |
|
No description available. |
Virtual methods
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.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