def draw(self):
        """Draw itself and widgets.

        Extends Object2D.draw.
        """
        ### draw self (background)
        super().draw()

        ### draw widgets
        self.widgets.draw()

        ### update screen
        SERVICES_NS.update_screen()
Draw itself and widgets.

        Extends Object2D.draw.
        
nodezator/editing/nodepacksforms/renaming.py