MCPcopy Create free account
hub / github.com/scanny/python-pptx / _Column

Class _Column

src/pptx/table.py:381–397  ·  view source on GitHub ↗

Table column

Source from the content-addressed store, hash-verified

379
380
381class _Column(Subshape):
382 """Table column"""
383
384 def __init__(self, gridCol: CT_TableCol, parent: _ColumnCollection):
385 super(_Column, self).__init__(parent)
386 self._parent = parent
387 self._gridCol = gridCol
388
389 @property
390 def width(self) -> Length:
391 """Width of column in EMU."""
392 return self._gridCol.w
393
394 @width.setter
395 def width(self, width: Length):
396 self._gridCol.w = width
397 self._parent.notify_width_changed()
398
399
400class _Row(Subshape):

Callers 3

width_get_fixtureMethod · 0.90
width_set_fixtureMethod · 0.90
__getitem__Method · 0.85

Calls

no outgoing calls

Tested by 2

width_get_fixtureMethod · 0.72
width_set_fixtureMethod · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…