Second of two responses:

Attached is my activity, OurMusic-1.xo.

As it is, it gives a partial display on SoaS of the reduced screen layout (upper-left corner). The basic python script that illustrates my (very) basic coding is ourmusic.py. (Notice my dependence on text!)

It, of course, doesn't actually "work" because of the problem of Csound with python.

If you'd like to see it running as intended, install it on the XO - but first enable three lines in csndsugui.py:
take out the leading #'s in these three spots:
in the "install csnd" toward the beginning;
in the two lines toward the end of the file.

In terms of my "coding style", except for the opening header text, it's basically boxes packed within boxes all the way through.

FWIW, if the text remains the size it is (with SoaS on the XO), I'd guess this activity just wouldn't work in this context.

I'd appreciate any and all suggestions/comments - of course, *especially* how best to deal with screen reposition (if not default type size).

Art Hunkins

----- Original Message ----- From: "Tomeu Vizoso" <to...@sugarlabs.org>
To: "Art Hunkins" <abhun...@uncg.edu>
Cc: <sugar-devel@lists.sugarlabs.org>
Sent: Saturday, August 01, 2009 10:47 AM
Subject: Re: [Sugar-devel] Screen Reposition?


On Fri, Jul 31, 2009 at 21:13, Art Hunkins<abhun...@uncg.edu> wrote:
I finally managed to see a mockup of my XO Activity on one of my SoaS setups
(large monitor).

As I feared, everything displayed in the upper left corner of the screen.

I know this issue has been frequently discussed here.

Can someone point me to the simplest python code for placing an XO
screen-full square in the middle of any monitor display? No resizing (at
least, not necessarily), just placement in mid-screen (vertically and
horizontally).

I've got some general ideas, but am not a coder - and my knowledge of PyGTK
is skin-deep.

If I understood correctly what you are asking, it will depend on how
you are doing your drawing. Maybe you have the code online somewhere
where we can see it?

Regards,

Tomeu

Art Hunkins

_______________________________________________
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel

_______________________________________________
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel

Attachment: OurMusic-1.xo
Description: Binary data

_______________________________________________
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel

Reply via email to