def field_widths(self): "Returns a list of the maximum field widths for the features." return [capi.get_field_width(capi.get_field_defn(self._ldefn, i)) for i in xrange(self.num_fields)]
def width(self): "Returns the width of this Field." return capi.get_field_width(self.ptr)