Logo Search packages:      
Sourcecode: xcb-proto version File versions

def xcbgen::xtypes::Event::resolve (   self,

Abstract method for resolving a type.
This should make sure any referenced types are already declared.

Reimplemented from xcbgen::xtypes::ComplexType.

Definition at line 427 of file xtypes.py.

00427                              :
        if self.resolved:

        # Add the automatic protocol fields
        self.fields.append(Field(tcard8, tcard8.name, 'response_type', False, True, True))
        if self.has_seq:
            self.fields.append(Field(tcard16, tcard16.name, 'sequence', False, True, True))
        ComplexType.resolve(self, module)

    out = __main__.output['event']

Generated by  Doxygen 1.6.0   Back to index