List of all members.
Detailed Description
Constructor & Destructor Documentation
virtual Gtk::PrintOperationPreview::~PrintOperationPreview |
( |
| ) |
[virtual] |
Member Function Documentation
static void Gtk::PrintOperationPreview::add_interface |
( |
GType |
gtype_implementer | ) |
[static] |
void Gtk::PrintOperationPreview::end_preview |
( |
| ) |
|
Ends a preview.
This function must be called to finish a custom print preview.
- Since gtkmm 2.10:
virtual void Gtk::PrintOperationPreview::end_preview_vfunc |
( |
| ) |
[virtual] |
GtkPrintOperationPreview* Gtk::PrintOperationPreview::gobj |
( |
| ) |
[inline] |
const GtkPrintOperationPreview* Gtk::PrintOperationPreview::gobj |
( |
| ) |
const [inline] |
bool Gtk::PrintOperationPreview::is_selected |
( |
int |
page_nr | ) |
const |
Returns whether the given page is included in the set of pages that have been selected for printing.
- Since gtkmm 2.10:
- Parameters:
-
- Returns:
true
if the page has been selected for printing.
virtual bool Gtk::PrintOperationPreview::is_selected_vfunc |
( |
int |
page_nr | ) |
const [virtual] |
void Gtk::PrintOperationPreview::render_page |
( |
int |
page_nr | ) |
|
Renders a page to the preview, using the print context that was passed to the Gtk::PrintOperation::preview handler together with preview.
A custom iprint preview should use this function in its ::expose handler to render the currently selected page.
Note that this function requires a suitable cairo context to be associated with the print context.
- Since gtkmm 2.10:
- Parameters:
-
page_nr | The page to render. |
virtual void Gtk::PrintOperationPreview::render_page_vfunc |
( |
int |
page_nr | ) |
[virtual] |
- Prototype:
void on_my_got_page_size(const Glib::RefPtr<PrintContext>& context, const Glib::RefPtr<PageSetup>& page_setup)
- Prototype:
void on_my_ready(const Glib::RefPtr<PrintContext>& context)
Friends And Related Function Documentation
A Glib::wrap() method for this object.
- Parameters:
-
object | The C instance. |
take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |
- Returns:
- A C++ instance that wraps this C instance.
The documentation for this class was generated from the following file:
- gtkmm/printoperationpreview.h