[GUI Design] How to achieve short comm paths between controls?

F. GEIGER fgeiger at datec.at
Sun Aug 31 03:42:05 EDT 2003


Hi Cliff,

> If you're using wxPython, you might take a look at the dispatcher
> module.  I haven't used it yet, but it might be appropriate to this sort

Good hint, thank you!

Kind regards
Franz

"Cliff Wells" <clifford.wells at comcast.net> schrieb im Newsbeitrag
news:mailman.1062149877.20435.python-list at python.org...
> On Wed, 2003-08-27 at 12:29, F. GEIGER wrote:
>
> [snip nice diagram]
>
> > Should I create a dict with control name/object pairs, held by the
> > MainFrame?
>
> This doesn't sound too bad.
>
> > Or should the rhs group box a globally accessible singleton or Borg?
>
> Trying to get past my prejudice against the word global to see this
> solution objectively and just can't.
>
> > Any other hint? How do you handle such situations?
>
> Perhaps by generating a custom event and posting it to the main window?
> If you're using wxPython, you might take a look at the dispatcher
> module.  I haven't used it yet, but it might be appropriate to this sort
> of task.  Regardless, I'd certainly post to the wxPython user list to
> see what people there come up with.
>
> Regards,
> Cliff
>
> --
> She clings to the nearest passerby, she's lost control again
>                                               -Joy Division
>
>






More information about the Python-list mailing list