Object window#

ObjectEditWindow#

class tkclasswiz.object_frame.window.ObjectEditWindow(*args, **kwargs)#

Top level window for creating and editing new objects.

open_object_edit_frame(class_, return_widget, old_data=None, check_parameters: bool = True, allow_save: bool = True, **kwargs)#

Opens new frame for defining an object. Parameters are the same as for NewObjectFrameBase.

Parameters:
  • class (Any) – The class we are defining for.

  • return_widget (Any) – The widget to insert the ObjectInfo into after saving.

  • old_data (Any) – The old_data gui data.

  • check_parameters (bool) – Check parameters (by creating the real object) upon saving. This is ignored if editing a function instead of a class.

  • allow_save (bool) – If False, will open in read-only mode.

set_default_size_y()#

Sets window Y size to default