<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 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