![]() |
![]() |
![]() |
Gnome Scan Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy |
#define GS_DEFINE_PREVIEW_PLUGIN (Name, name, options) GnomeScanPreviewPlugin; GnomeScanPreviewPlugin * gnome_scan_preview_plugin (GType type
,GnomeScanPlugin *plugin
,GParamSpec *pspec
,GtkWidget *gspa
,GnomeScanSettings *settings
,GtkBox *bbox
); void gnome_scan_preview_plugin_freeze (GnomeScanPreviewPlugin *gspp
); void gnome_scan_preview_plugin_thaw (GnomeScanPreviewPlugin *gspp
); void gnome_scan_preview_plugin_changed (GnomeScanPreviewPlugin *gspp
); void gnome_scan_preview_plugin_draw_buffer (GnomeScanPreviewPlugin *gspp
,GtkWidget *gspa
,cairo_t *cr
); void gnome_scan_preview_plugin_destroy (GnomeScanPreviewPlugin *gspp
);
GnomeScanPreviewPlugin +----GnomeScanPreviewPluginRotation +----GnomeScanPreviewPluginArea
#define GS_DEFINE_PREVIEW_PLUGIN(Name, name, options)
Generate glib boiler plate code for creatin a new preview plugin.
|
Class name |
|
function prefix |
|
options to watch. |
GnomeScanPreviewPlugin * gnome_scan_preview_plugin (GType type
,GnomeScanPlugin *plugin
,GParamSpec *pspec
,GtkWidget *gspa
,GnomeScanSettings *settings
,GtkBox *bbox
);
|
subtype of GnomeScanPreviewPlugin to instanciate |
|
the GSParamSpec to manage |
|
the GnomeScanPreviewArea to extend |
|
the GnomeScanSettings where to store value |
Returns : |
a GnomeScanPreviewPlugin |
void gnome_scan_preview_plugin_freeze (GnomeScanPreviewPlugin *gspp
);
Freeze the plugin so that it doesn't react on value changes.
|
a GnomeScanPreviewPlugin |
void gnome_scan_preview_plugin_thaw (GnomeScanPreviewPlugin *gspp
);
Thaw the plugin so that it react on value changes.
|
a GnomeScanPreviewPlugin |
void gnome_scan_preview_plugin_changed (GnomeScanPreviewPlugin *gspp
);
To be called when the preview has been changed.
|
a GnomeScanPreviewPlugin |
void gnome_scan_preview_plugin_draw_buffer (GnomeScanPreviewPlugin *gspp
,GtkWidget *gspa
,cairo_t *cr
);
For use by GnomeScanPreviewArea
|
a GnomeScanPreviewPlugin |
|
a GnomeScaPreviewArea |
|
a cairo context |
Stability Level: Private
void gnome_scan_preview_plugin_destroy (GnomeScanPreviewPlugin *gspp
);
|
the dying GnomeScanPreviewPlugin |