Libinsane.OptionDescriptor

g GObject.Object GObject.Object Libinsane.OptionDescriptor Libinsane.OptionDescriptor GObject.Object->Libinsane.OptionDescriptor

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_capabilities ()

get_constraint ()

get_constraint_type ()

get_desc ()

get_name ()

get_title ()

get_value ()

get_value_type ()

get_value_unit ()

is_readable ()

is_writable ()

set_value (value)

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.OptionDescriptor(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Libinsane.OptionDescriptorClass

get_capabilities()
Return type:

Libinsane.Capability

get_constraint()
Returns:

item scan options.

Return type:

[GObject.Value]

self option for which we want the constraint

get_constraint_type()
Return type:

Libinsane.ConstraintType

get_desc()
Return type:

str

get_name()
Return type:

str

get_title()
Return type:

str

get_value()
Raises:

GLib.Error

Return type:

GObject.Value

get_value_type()
Return type:

GObject.GType

get_value_unit()
Return type:

Libinsane.Unit

is_readable()
Return type:

bool

is_writable()
Return type:

bool

set_value(value)
Parameters:

value (GObject.Value) –

Raises:

GLib.Error

Return type:

Libinsane.SetFlag