| Eye of MATE Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | ||||
struct EomPrintImageSetup; GtkWidget * eom_print_image_setup_new (EomImage *image,GtkPageSetup *page_setup); void eom_print_image_setup_get_options (EomPrintImageSetup *setup,gdouble *left,gdouble *top,gdouble *scale,GtkUnit *unit); void eom_print_image_setup_update (GtkPrintOperation *operation,GtkWidget *custom_widget,GtkPageSetup *page_setup,GtkPrintSettings *print_settings,gpointer user_data);
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkTable
+----EomPrintImageSetup
GtkWidget * eom_print_image_setup_new (EomImage *image,GtkPageSetup *page_setup);
Creates a new EomPrintImageSetup widget, to be used as a custom widget in a GtkPrintUnixDialog. This widgets allows to set the image position and scale in a page.
|
the EomImage to print |
|
a GtkPageSetup specifying the page where the image will be print |
Returns : |
a new EomPrintImageSetup |
void eom_print_image_setup_get_options (EomPrintImageSetup *setup,gdouble *left,gdouble *top,gdouble *scale,GtkUnit *unit);
Gets the options set by the EomPrintImageSetup.
|
a EomPrintImageSetup |
|
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" EomImage* : Read / Write
The image whose printing properties will be set up.