| Eye of GNOME Reference Manual | ||||
|---|---|---|---|---|
EogPrintImageSetup;
GtkWidget* eog_print_image_setup_new (EogImage *image,
GtkPageSetup *page_setup);
void eog_print_image_setup_get_options (EogPrintImageSetup *setup,
gdouble *left,
gdouble *top,
gdouble *scale,
GtkUnit *unit);
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkTable
+----EogPrintImageSetup
GtkWidget* eog_print_image_setup_new (EogImage *image, GtkPageSetup *page_setup);
Creates a new EogPrintImageSetup widget, to be used as a custom widget in a GtkPrinUnixDialog. This widgets allows to set the image position and scale in a page.
|
the EogImage to print |
|
a GtkPageSetup specifying the page where the image will be print |
Returns : |
a new EogPrintImageSetup |
void eog_print_image_setup_get_options (EogPrintImageSetup *setup, gdouble *left, gdouble *top, gdouble *scale, GtkUnit *unit);
Gets the options set by the EogPrintImageSetup.
|
a EogPrintImageSetup |
|
a pointer where to store the image's left position |
|
a pointer where to store the image's top position |
|
a pointer where to store the image's scale |
|
a pointer where to store the GtkUnit used by the left and top values.
|
"image" property"image" EogImage* : Read / Write
The image whose printing properties will be setup.