AUI framemanager Update

Hi all,

I am (still) playing with the AUI demo.
Question:
The panes are managed by the framemanager Auiframe._mgr
What would be the recommended way to say, update one pane's content,
i.e. a text pane with new text ..., via a click in another pane.
What I did so far was geting the pane via
self._mgr.GetPane('panename')
destroy it and create a new pane w/ different content
which obviously is not the way to go ....

ThanX

I think using pubsub might be a good way of doing this.

Or

pane = self._mgr.GetPane('panename')
pane.UpdateWithNewText(text)

Werner

ยทยทยท

On 09/28/2011 04:04 PM, Tobias Weber wrote:

Hi all,

I am (still) playing with the AUI demo.
Question:
The panes are managed by the framemanager Auiframe._mgr
What would be the recommended way to say, update one pane's content,
i.e. a text pane with new text ..., via a click in another pane.
What I did so far was geting the pane via
self._mgr.GetPane('panename')
destroy it and create a new pane w/ different content
which obviously is not the way to go ....