def draw_outline(self):
        """Draw outline around self.rect.

        Used when the menu manager instance is initialized
        with the use_outline option set to True (use this
        option for popup menus).
        """
        ### draw the slightly inflated rect of the menu
        ### manager on the screen, so that it works as an
        ### outline

        draw_rect(
            SCREEN,
            BLACK,
            ## XXX in theory, we shouldn't need to move the
            ## rect as well; investigate why this is needed
            ## and explain/fix as needed;
            self.rect.inflate(2, 2).move(1, 0),
            1,
        )
Draw outline around self.rect.

        Used when the menu manager instance is initialized
        with the use_outline option set to True (use this
        option for popup menus).
        
nodezator/menu/behaviour.py