Updates the Widget geometry.

        :return: Method success.
        :rtype: bool

def update_geometry(self):
        """
        Updates the Widget geometry.

        :return: Method success.
        :rtype: bool
        """

        self.setGeometry(self.__editor.contentsRect().left(),
                         self.__editor.contentsRect().top(),
                         self.get_width(),
                         self.__editor.contentsRect().height())
        return True