class WidgetEditor(object): def __init__(self, propsframe, layoutframe, bindingstree): self.properties_editor = PropertiesEditor(propsframe) self.layout_editor = LayoutEditor(layoutframe) self.bindings_editor = BindingsEditor(bindingstree) def edit(self, wdescr): self.properties_editor.edit(wdescr) self.layout_editor.edit(wdescr) self.bindings_editor.edit(wdescr) def hide_all(self): self.properties_editor.hide_all() self.layout_editor.hide_all() self.bindings_editor.hide_all()
def __init__(self, propsframe, layoutframe, bindingstree): self.properties_editor = PropertiesEditor(propsframe) self.layout_editor = LayoutEditor(layoutframe) self.bindings_editor = BindingsEditor(bindingstree)