Module cups :: Class Option
[hide private]
[frames] | no frames]

Class Option

object --+
         |
        Option

PPD option

A PPD option.

Instance Methods [hide private]
 
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
a new object with type S, a subtype of T
__new__(T, S, ...)
 
__repr__(x)
repr(x)

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Instance Variables [hide private]
list choices
list of the option's choices
boolean conflicted
whether this option is in conflict
string defchoice
the default option choice
string keyword
the option keyword e.g.
string text
the user-presentable option name e.g.
integer ui
the option type; one of PPD_UI_BOOLEAN, PPD_UI_PICKONE, PPD_UI_PICKMANY
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(...)
(Constructor)

 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__

__new__(T, S, ...)

 
Returns: a new object with type S, a subtype of T
Overrides: object.__new__

__repr__(x)
(Representation operator)

 

repr(x)

Overrides: object.__repr__

Instance Variable Details [hide private]

keyword

the option keyword e.g. Duplex

text

the user-presentable option name e.g. Double-sided printing