def check_scrollability(self):
        """Checks if the menu manager needs scrollability.

        If so, triggers the method responsible for building
        special objects to support the scrollability feature.

        The scroll orientation also depends on the initial
        orientation of the menu manager.
        """
        ### check need to build scrolling support objects
        ### according to whether or not the children trepass
        ### the maximum dimensions defined; depends on
        ### whether the menu manager is a menubar

        if self.is_menubar:

            ## calculate width occupied by children by
            ## measuring the distance between the first
            ## child's left corner and the last child's right
            ## corner

            first_child_left = self.children[0].rect.left
            last_child_right = self.children[-1].rect.right

            children_width = last_child_right - first_child_left

            ## if the children width ends up surpassing
            ## the acceptable width for the menu manager,
            ## build the scrolling objects
            if children_width > self.max_width:
                self.build_scrolling_objects()

        else:

            ## calculate height occupied by children by
            ## measuring the distance between the last
            ## child's bottom corner and the first child's
            ## top corner

            last_child_bottom = self.children[-1].rect.bottom
            first_child_top = self.children[0].rect.top

            children_height = last_child_bottom - first_child_top

            ## if the children height ends up surpassing
            ## the acceptable height for the menu manager,
            ## build the scrolling objects
            if children_height > self.max_height:
                self.build_scrolling_objects()
Checks if the menu manager needs scrollability.

        If so, triggers the method responsible for building
        special objects to support the scrollability feature.

        The scroll orientation also depends on the initial
        orientation of the menu manager.
        
nodezator/menu/scroll.py