docs: def restore_geometry_on_layout_change(self, value):
          """
          Setter for **self.__restore_geometry_on_layout_change** attribute.
  
          :param value: Attribute value.
          :type value: bool
          """
  
          if value is not None:
              assert type(value) is bool, "'{0}' attribute: '{1}' type is not 'bool'!".format(
                  "restore_geometry_on_layout_change", value)
          self.__restore_geometry_on_layout_change = value