def __init__(
        self,
        value,
        name="default_holder",
        font_height=ENC_SANS_BOLD_FONT_HEIGHT,
        font_path=ENC_SANS_BOLD_FONT_PATH,
        max_width=155,
        padding=1,
        foreground_color=(40, 40, 40),
        background_color=(190, 190, 190),
        coordinates_name="topleft",
        coordinates_value=(0, 0),
    ):
        """Perform setups and assign data for reuse.

        Extends appcommon.text.label.main.Label.__init__

        Parameters
        ==========

        value (any python object)
            value of the widget.
        name (string)
            an arbitrary name to help identify the widget.
        font_height (positive integer)
            indicates desired font height in pixels.
        font_path (string)
            represents the font desired. Check local
            font.py module for available styles. In doubt
            use 'default' for default font.
        padding (positive integer or 0, defaults to 5)
            amount of padding in all four sides of the
            text surface.
        max_width
        (positive integer or None, defaults to None)
            indicates maximum width to be assumed by the
            label. If None, it can assume any width.
        foreground_color
        background_color
        (tuple or list with 3 or 4 integers)
            integers ranging from 0 to 255 representing
            red, green, blue and (optionally) alpha values
            of a color. The foreground color must only hold
            RGB values, while the background may hold an
            alpha value to specify how much opacity
            is desired in the background. The background
            may also be None. If the alpha is 0 or the
            background argument is None,  there will be
            no background at all.
        coordinates_name (string)
            name of pygame.Rect attribute to which the
            coordinates_value argument will be assigned.
        coordinates_value (2-tuple or list with 2 integers)
            value representing a position/point in 2d space
            to be assigned to the pygame.Rect attribute in
            order to position it.
        """
        ### store value and name

        self.value = value
        self.name = name

        ### gather text style related arguments in a
        ### single dictionary

        text_kwargs = {
            "font_height": font_height,
            "font_path": font_path,
            "padding": padding,
            "max_width": max_width,
            "foreground_color": foreground_color,
        }

        if background_color:
            text_kwargs["background_color"] = background_color

        ### initialize superclass

        super().__init__(
            text=repr(self.value),
            coordinates_name=coordinates_name,
            coordinates_value=coordinates_value,
            **text_kwargs,
        )
Perform setups and assign data for reuse.

        Extends appcommon.text.label.main.Label.__init__

        Parameters
        ==========

        value (any python object)
            value of the widget.
        name (string)
            an arbitrary name to help identify the widget.
        font_height (positive integer)
            indicates desired font height in pixels.
        font_path (string)
            represents the font desired. Check local
            font.py module for available styles. In doubt
            use 'default' for default font.
        padding (positive integer or 0, defaults to 5)
            amount of padding in all four sides of the
            text surface.
        max_width
        (positive integer or None, defaults to None)
            indicates maximum width to be assumed by the
            label. If None, it can assume any width.
        foreground_color
        background_color
        (tuple or list with 3 or 4 integers)
            integers ranging from 0 to 255 representing
            red, green, blue and (optionally) alpha values
            of a color. The foreground color must only hold
            RGB values, while the background may hold an
            alpha value to specify how much opacity
            is desired in the background. The background
            may also be None. If the alpha is 0 or the
            background argument is None,  there will be
            no background at all.
        coordinates_name (string)
            name of pygame.Rect attribute to which the
            coordinates_value argument will be assigned.
        coordinates_value (2-tuple or list with 2 integers)
            value representing a position/point in 2d space
            to be assigned to the pygame.Rect attribute in
            order to position it.
        
nodezator/widget/defaultholder.py