Antwort: Re: [Twisted-Python] (no subject)

mmoellenbeck at plus.de mmoellenbeck at plus.de
Tue May 6 01:28:43 MDT 2003


Hi,

I have also thought about this way. 

My problem is to open a new dialog on the client by an onClick()-event, 
for example.

Do you have an idea? I would appreciate any examples ;-).

regards

Martin





An:     twisted-python at twistedmatrix.com
Kopie: 
 

Thema:  Re: [Twisted-Python] (no subject)

 
"Uwe C. Schroeder" <uwe at oss4u.com>
Gesendet von:
twisted-python-admin at twistedmatrix.com
06.05.2003 02:59
Bitte antworten an twisted-python






On Monday 05 May 2003 07:26 am, mmoellenbeck at plus.de wrote:
> Hello,
>
> I'm new to twisted and have some questions:
>
> - Can I use a pb.Copyable as pb.RemoteReference?
>
> I have designed an wx-application and want request the wxframe from the
> server by the client.
> Events from the client should call methods of the server.

I don't think that's going to work. A wxFrame is basically a stub class to 
an 
underlying c++ extension. There are already some issues with subclassing 
wxPython classes, not to speak of redistributing them over the network.

What my applications do is to fetch a xrc file (wx xml ressource) from the 

server and instanciate the gui locally on the client. That works quite 
fine 
and btw decouples the gui from the business logic, which is normally what 
you 
want in a multi tier application.



                 UC

--
Open Source Solutions 4U, LLC            2570 Fleetwood Drive
Phone:  +1 650 872 2425                          San Bruno, CA 94066
Cell:   +1 650 302 2405                          United States
Fax:    +1 650 872 2417


_______________________________________________
Twisted-Python mailing list
Twisted-Python at twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20030506/56c8e73d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 47 bytes
Desc: not available
URL: </pipermail/twisted-python/attachments/20030506/56c8e73d/attachment-0002.gif>


More information about the Twisted-Python mailing list