Module cups :: Class Group
[show private | hide private]
[frames | no frames]

Type Group

object --+
         |
        Group


PPD option group

A PPD option group.
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
    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)

Instance Variable Summary
string name: unique group name
Option list options: list of options in the group
Group list subgroups: list of subgroups in the group
string text: user-presentable group name

Method Details

__init__(...)
(Constructor)

x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides:
__builtin__.object.__init__

__new__(T, S, ...)

T.__new__(S, ...) -> a new object with type S, a subtype of T
Returns:
a new object with type S, a subtype of T
Overrides:
__builtin__.object.__new__

Instance Variable Details

name

unique group name
Type:
string
Value:
<attribute 'name' of 'cups.Group' objects>                             

options

list of options in the group
Type:
Option list
Value:
<attribute 'options' of 'cups.Group' objects>                          

subgroups

list of subgroups in the group
Type:
Group list
Value:
<attribute 'subgroups' of 'cups.Group' objects>                        

text

user-presentable group name
Type:
string
Value:
<attribute 'text' of 'cups.Group' objects>                             

Generated by Epydoc 2.1 on Sat Nov 10 20:08:39 2007 http://epydoc.sf.net