![]() |
![]() |
![]() |
Gnome Scan Reference Manual | ![]() |
---|---|---|---|---|
typedef GnomeScanEvent; GnomeScanner; const gchar* gnome_scanner_get_icon_name (GnomeScanner *scanner);
"icon-name" gchararray : Read / Write / Construct Only "sensors" gpointer : Read "status" GnomeScannerStatus : Read
GnomeScanner is the base class for backend specific scanner (like e.g SANE). Following SANE design, Gnome Scan scanner has an undefined set of option. But unlike SANE, the scanner itself handle acquisition.
Each GnomeScanner should monitor its sensor (e.g. paper-in) and trigger an event on sensor state changes.
typedef struct { GnomeScannerStatus status; } GnomeScanner;
A GnomeScanner publish all instance specific plugins parameters and handle the real acquisition work (e.g. throug SANE, TWAIN, etc.)
const gchar* gnome_scanner_get_icon_name (GnomeScanner *scanner);
Return the icon-name representing the type of the device.
scanner : |
a GnomeScanner |
Returns : | a icon-name string |
icon-name
" property"icon-name" gchararray : Read / Write / Construct Only
The icon name representing the device.
Default value: NULL
void user_function (GnomeScanner *scanner, gpointer event, gpointer user_data) : Run Last
Emitted when an hardware event is triggered. (button, wheel, paper-in, etc.)
scanner : |
the emitting GnomeScanner |
event : |
the emitted even. |
user_data : |
user data set when the signal handler was connected. |
void user_function (GnomeScanner *scanner, gpointer user_data) : Run Last
Emitted when the scanner has settings are hard setted.
scanner : |
the emitting GnomeScanner |
user_data : |
user data set when the signal handler was connected. |
void user_function (GnomeScanner *scanner, gpointer user_data) : Run Last
Emitted when the scanner status as changed.
scanner : |
the emitting GnomeScanner |
user_data : |
user data set when the signal handler was connected. |