GnomeScannerSelector

GnomeScannerSelector — An auto filled Combo-Box

Synopsis




            GnomeScannerSelector;
GtkWidget*  gnome_scanner_selector_new      (GnomeScanContext *context);

Object Hierarchy


  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkContainer
                           +----GtkBox
                                 +----GtkHBox
                                       +----GnomeScanOptionWidget
                                             +----GnomeScannerSelector

Implemented Interfaces

GnomeScannerSelector implements AtkImplementorIface.

Description

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.

Details

GnomeScannerSelector

typedef struct _GnomeScannerSelector GnomeScannerSelector;


gnome_scanner_selector_new ()

GtkWidget*  gnome_scanner_selector_new      (GnomeScanContext *context);

Create a new GnomeScannerSelector connected to context.

context : a GnomeScanContext
Returns : a new GnomeScannerSelector