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

Method __init__

src/pptx/action.py:27–37  ·  view source on GitHub ↗
(
        self,
        xPr: CT_NonVisualDrawingProps | CT_TextCharacterProperties,
        parent: BaseShape,
        hover: bool = False,
    )

Source from the content-addressed store, hash-verified

25 # -- relationships, which is where hyperlinks live.
26
27 def __init__(
28 self,
29 xPr: CT_NonVisualDrawingProps | CT_TextCharacterProperties,
30 parent: BaseShape,
31 hover: bool = False,
32 ):
33 super(ActionSetting, self).__init__(parent)
34 # xPr is either a cNvPr or rPr element
35 self._element = xPr
36 # _hover determines use of `a:hlinkClick` or `a:hlinkHover`
37 self._hover = hover
38
39 @property
40 def action(self):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected