Libinsane.Item

g GObject.Object GObject.Object Libinsane.Item Libinsane.Item GObject.Object->Libinsane.Item

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

close ()

get_children ()

get_item_type ()

get_name ()

get_options ()

scan_start ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GObject.Object

r

Class Details

class Libinsane.Item(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Libinsane.ItemClass

close()
Raises:

GLib.Error

get_children()
Raises:

GLib.Error

Returns:

list of children items (usually scan sources)

Return type:

[Libinsane.Item]

See C-API

get_item_type()
Return type:

Libinsane.ItemType

get_name()
Returns:

Item’s name

Return type:

str

get_options()
Raises:

GLib.Error

Returns:

item scan options.

Return type:

[Libinsane.OptionDescriptor]

See C-API

scan_start()
Raises:

GLib.Error

Returns:

item scan parameters.

Return type:

Libinsane.ScanSession