<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jan 9, 2012, at 8:14 PM, bino oetomo wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Menlo; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">And if it not to much ... i prefer using twisted .tac file and service.MultiService() and service.Application().<br></span></blockquote></div><br><div>As far as I can tell, you're completely on the right track for what you want to do. &nbsp;I personally wouldn't use twistd for this, but there's nothing stopping you: you just need to make sure to pass the appropriate reactor option. &nbsp;As long as you do 'twistd --reactor wx -y Your-App.tac' &nbsp;you should be fine. &nbsp;(Although some GUI libraries are highly sensitive to the use of fork(), so you may need to toss a -n in there as well; I don't know specifically about wx.)</div><div><br></div><div>-glyph</div><div><br></div></body></html>