(self, widget)
Set the central widget in the view.

        This means that the initial zoom will fit the central widget, and may
        cut out any other widgets.

        Parameters
        ----------
        widget : QGraphicsWidget
Set the central widget in the view.
Set the central widget in the view .
def set_central_widget(self, widget):
        """Set the central widget in the view.

        This means that the initial zoom will fit the central widget, and may
        cut out any other widgets.

        Parameters
        ----------
        widget : QGraphicsWidget

        """
        self.__central_widget = widget
def set_central_widget ( self , widget ) : self . __central_widget = widget