| Top |
| GtkWidget * | vik_print_preview_new () |
| void | vik_print_preview_set_image_dpi () |
| void | vik_print_preview_set_page_setup () |
| void | vik_print_preview_set_image_offsets () |
| void | vik_print_preview_set_image_offsets_max () |
| void | vik_print_preview_set_use_full_page () |
GObject ╰── GInitiallyUnowned ╰── GtkObject ╰── GtkWidget ╰── GtkContainer ╰── GtkBin ╰── GtkFrame ╰── GtkAspectFrame ╰── VikPrintPreview
GtkWidget * vik_print_preview_new (GtkPageSetup *page,GdkDrawable *drawable);
Creates a new VikPrintPreview widget.
void vik_print_preview_set_image_dpi (VikPrintPreview *preview,gdouble xres,gdouble yres);
Sets the resolution of the image/drawable displayed by the VikPrintPreview.
void vik_print_preview_set_page_setup (VikPrintPreview *preview,GtkPageSetup *page);
Sets the page setup to use by the VikPrintPreview.
void vik_print_preview_set_image_offsets (VikPrintPreview *preview,gdouble offset_x,gdouble offset_y);
Sets the offsets of the image/drawable displayed by the VikPrintPreview. It does not emit the "offsets-changed" signal.
void vik_print_preview_set_image_offsets_max (VikPrintPreview *preview,gdouble offset_x_max,gdouble offset_y_max);
Sets the maximum offsets of the image/drawable displayed by the VikPrintPreview. It does not emit the "offsets-changed" signal.
void vik_print_preview_set_use_full_page (VikPrintPreview *preview,gboolean full_page);
If full_page
is TRUE, the page margins are ignored and the full page
can be used to setup printing.
“offsets-changed” signalvoid user_function (VikPrintPreview *vikprintpreview, gdouble arg1, gdouble arg2, gpointer user_data)
Flags: Run First