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

2009-08-12 Thread Tomeu Vizoso
On Wed, Aug 12, 2009 at 19:42, Albert Cahalan wrote: > On Wed, Aug 12, 2009 at 10:26 AM, Benjamin M. > Schwartz 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 s

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. Schwartz 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 really should

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 f

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. ___ Sugar-d

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. Schwartz 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.  set_canvas is > never called

[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() to