Cython APi: Added a width property to views, corresponding to their
column count
This commit is contained in:
@ -329,6 +329,13 @@ cdef class View(OBIWrapper) :
|
||||
return to_print
|
||||
|
||||
|
||||
# Width (column count) property getter
|
||||
@property
|
||||
def width(self):
|
||||
return self.pointer().infos.column_count
|
||||
|
||||
|
||||
# DMS property getter
|
||||
@property
|
||||
def dms(self):
|
||||
return self._dms
|
||||
|
Reference in New Issue
Block a user