def pack(self): super().pack() Modify the XLoader class to include the ProgressBar component and update its progress in real-time as the data is loaded.