Method Summary |
|
__init__ (...)
x.__init__(...) initializes x; see x.__class__.__doc__ for
signature |
|
__new__ (T,
S,
...)
T.__new__(S, ...) -> a new object with type S, a subtype of T |
integer |
conflicts ()
Return number of conflicts. |
Attribute or None
|
findAttr (name)
Return matching attribute, or None if not found. |
Attribute or None
|
findNextAttr (name)
Return next matching attribute, or None if not found. |
Option or None
|
findOption (name)
Return named option, or None if not found. |
None |
localize ()
Localize PPD to the current locale. |
None |
markDefaults ()
Set (mark) all options to their default choices. |
integer |
markOption (option,
choice)
Set an option to a particular choice. |
boolean |
nondefaultsMarked ()
Returns true if any non-default option choices are marked. |
None |
writeFd (fd)
Write PPD file, with marked choices as defaults, to file
descriptor. |
Inherited from object |
|
__delattr__ (...)
x.__delattr__('name') <==> del x.name |
|
__getattribute__ (...)
x.__getattribute__('name') <==> x.name |
|
__hash__ (x)
x.__hash__() <==> hash(x) |
|
__reduce__ (...)
helper for pickle |
|
__reduce_ex__ (...)
helper for pickle |
|
__repr__ (x)
x.__repr__() <==> repr(x) |
|
__setattr__ (...)
x.__setattr__('name', value) <==> x.name = value |
|
__str__ (x)
x.__str__() <==> str(x) |