Re: [Sugar-devel] How to not make a window?

2009-08-12 Thread Albert Cahalan
Benjamin M. Schwartz writes: I am trying to create a sugar activity that wraps a simple X application. Have you tried using the sugarize code? If it fails, let me know how. You really shouldn't need Python to wrap a simple X application. ___

Re: [Sugar-devel] How to not make a window?

2009-08-12 Thread Benjamin M. Schwartz
Albert Cahalan wrote: Benjamin M. Schwartz writes: I am trying to create a sugar activity that wraps a simple X application. Have you tried using the sugarize code? If it fails, let me know how. You really shouldn't need Python to wrap a simple X application. Good point. I'd forgotten

Re: [Sugar-devel] How to not make a window?

2009-08-12 Thread Albert Cahalan
On Wed, Aug 12, 2009 at 10:26 AM, Benjamin M. Schwartzbmsch...@fas.harvard.edu wrote: Albert Cahalan wrote: Benjamin M. Schwartz writes: I am trying to create a sugar activity that wraps a simple X application. Have you tried using the sugarize code? If it fails, let me know how. You

Re: [Sugar-devel] How to not make a window?

2009-08-12 Thread Tomeu Vizoso
On Wed, Aug 12, 2009 at 19:42, Albert Cahalanacaha...@gmail.com wrote: On Wed, Aug 12, 2009 at 10:26 AM, Benjamin M. Schwartzbmsch...@fas.harvard.edu wrote: Albert Cahalan wrote: Benjamin M. Schwartz writes: I am trying to create a sugar activity that wraps a simple X application. Have

Re: [Sugar-devel] How to not make a window?

2009-08-11 Thread Tomeu Vizoso
On Tue, Aug 11, 2009 at 07:09, Benjamin M. Schwartzbmsch...@fas.harvard.edu wrote: I am trying to create a sugar activity that wraps a simple X application.  Specifically, my activity is a standard python activity, inheriting from the sugar.activity.activity.Activity, but it has no GUI.  

[Sugar-devel] How to not make a window?

2009-08-10 Thread Benjamin M. Schwartz
I am trying to create a sugar activity that wraps a simple X application. Specifically, my activity is a standard python activity, inheriting from the sugar.activity.activity.Activity, but it has no GUI. set_canvas is never called, and nor is self.show_all(). Instead, I use subprocess.Popen()