def _flush_items ( self, content, items ):
        if len( items ) > 0:
            content.append(
                # Set shadow before hand to prevent delegation errors
                ShadowGroup( shadow      = self.shadow).set(
                             groups      = 0,
                             label       = '',
                             show_border = False,
                             content     = items,
                             show_labels = self.show_labels,
                             show_left   = self.show_left,
                             springy     = self.springy,
                             orientation = self.orientation
                ))
            del items[:]

    #---------------------------------------------------------------------------
    #  Returns a 'pretty print' version of the Group:
    #---------------------------------------------------------------------------
Creates a sub-group for any items contained in a specified list.
dataset/ETHPy150Open enthought/traitsui/traitsui/group.py/ShadowGroup._flush_items