

def create_contents(self, parent):
    ' Create and return the toolkit-specific contents of the dock pane.\n        '
    self.ui = self.edit_traits(kind='subpanel', parent=parent)
    return self.ui.control

dataset/ETHPy150Open enthought/pyface/pyface/tasks/traits_dock_pane.py TraitsDockPane.create_contents/original