![]() |
![]() |
![]() |
GNOME Scan UI Reference Manual | ![]() |
---|---|---|---|---|
GnomeScannerSelector; GtkWidget* gnome_scanner_selector_new (GnomeScanContext *context);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBox +----GtkHBox +----GnomeScanOptionWidget +----GnomeScannerSelector
The GnomeScannerSelector is a composed widget that is connected to the GnomeScanContext::"probe-done" signal to fill itself the ComboBox store. When a device is selected, the choice is directly transmitted to the GnomeScanContext which then emit the GnomeScanContext::"scanner-seleted" signal. The GnomeScannerSelector shows a pretty ComboBox containing a device per row. Each row contain an icon, the name of the product, the vendor and the type of the device. The icon reflects the type of the device.
GtkWidget* gnome_scanner_selector_new (GnomeScanContext *context);
Create a new GnomeScannerSelector connected to context
.
context : |
a GnomeScanContext |
Returns : | a new GnomeScannerSelector |