Interface
GtkPrintOperationPreview
Description [src]
interface Gtk.PrintOperationPreview : GObject.Object
GtkPrintOperationPreview
is the interface that is used to
implement print preview.
A GtkPrintOperationPreview
object is passed to the
GtkPrintOperation::preview
signal by
GtkPrintOperation
.
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.
Signals
Gtk.PrintOperationPreview::got-page-size
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,
int page_nr
);
gboolean (* is_selected) (
GtkPrintOperationPreview* preview,
int 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.