Re: How to set background color?

Teuvo Eloranta <[email protected]> Fri, 11 Mar 2011 14:03:04 +0200
Newsgroups gmane.comp.python.pythoncard
Message-ID <[email protected]>
--===============9126916973614590060==
Content-Type: multipart/alternative; boundary=20cf305e254fbc2e12049e33bf7a

--20cf305e254fbc2e12049e33bf7a
Content-Type: text/plain; charset=ISO-8859-1

Hi Alec,

self.backgroundColor = (101, 139, 215)

should do the trick,

-Teuvo


2011/3/11 Alec Bennett <[email protected]>

> I'm wondering if anyone might know how to set the background color of a
> PythonCard window? Something akin to the wxPython method of
> SetBackgroundColour("white")?
>
>
>
>
> ------------------------------------------------------------------------------
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
> _______________________________________________
> Pythoncard-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pythoncard-users
>
>

--20cf305e254fbc2e12049e33bf7a
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi Alec,<div><br></div><div>self.backgroundColor =3D (101, 139, 215)</div><=
div><br></div><div>should do the trick,</div><div><br></div><div>-Teuvo</di=
v><div><br></div><br><div class=3D"gmail_quote">2011/3/11 Alec Bennett <spa=
n dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]">[email protected]<=
/a>&gt;</span><br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex;">I&#39;m wondering if anyone might know how =
to set the background color of a PythonCard window? Something akin to the w=
xPython method of SetBackgroundColour(&quot;white&quot;)?<br>

<br><br>
<br>-----------------------------------------------------------------------=
-------<br>
Colocation vs. Managed Hosting<br>
A question and answer guide to determining the best fit<br>
for your organization - today and in the future.<br>
<a href=3D"http://p.sf.net/sfu/internap-sfd2d" target=3D"_blank">http://p.s=
f.net/sfu/internap-sfd2d</a><br>___________________________________________=
____<br>
Pythoncard-users mailing list<br>
<a href=3D"mailto:[email protected]">Pythoncard-users@=
lists.sourceforge.net</a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/pythoncard-users" t=
arget=3D"_blank">https://lists.sourceforge.net/lists/listinfo/pythoncard-us=
ers</a><br>
<br></blockquote></div><br>

--20cf305e254fbc2e12049e33bf7a--


--===============9126916973614590060==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
--===============9126916973614590060==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Pythoncard-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pythoncard-users

--===============9126916973614590060==--