Re: Dynamically changing background image?

John Henry <[email protected]> Wed, 29 Jun 2011 15:52:22 -0700
Newsgroups gmane.comp.python.pythoncard
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============9141337595367061858==
Content-Type: multipart/alternative;
	boundary="------------050707020406000809030702"

This is a multi-part message in MIME format.
--------------050707020406000809030702
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

There are things I couldn't change neither (like the ICON for the 
window).  I don't think it's a Pythoncard limitation.  You might have to 
hunt for a wxPython solution and call it.

On 6/29/2011 2:31 PM, Alec Bennett wrote:
> I'm trying to change the background image of my PythonCard application 
> after its been initialized, and having trouble.
>
> By "background image" I mean the image that we set from Background 
> Info --> Image.
>
> I can dynamically change the background color like this:
>
> self.backgroundColor = (255, 255, 255)
>
> And looking at the resource file, the image is in a key called 
> "image". But this doesn't work:
>
> self.image = whatever.jpg
>
> Is there some other trick to it?
>
>
>
>
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2d-c2
>
>
> _______________________________________________
> Pythoncard-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pythoncard-users


--------------050707020406000809030702
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    <tt>There are things I couldn't change neither (like the ICON for
      the window).&nbsp; I don't think it's a Pythoncard limitation.&nbsp; You
      might have to hunt for a wxPython solution and call it.</tt><br>
    <tt><br>
    </tt>On 6/29/2011 2:31 PM, Alec Bennett wrote:
    <blockquote
      cite="mid:[email protected]"
      type="cite">I'm trying to change the background image of my
      PythonCard application after its been initialized, and having
      trouble.<br>
      <br>
      By "background image" I mean the image that we set from Background
      Info --&gt; Image.<br>
      <br>
      I can dynamically change the background color like this:<br>
      <br>
      self.backgroundColor = (255, 255, 255)<br>
      <br>
      And looking at the resource file, the image is in a key called
      "image". But this doesn't work:<br>
      <br>
      self.image = whatever.jpg<br>
      <br>
      Is there some other trick to it?<br>
      <br>
      <br>
      <br>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
<a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/splunk-d2d-c2">http://p.sf.net/sfu/splunk-d2d-c2</a></pre>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Pythoncard-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/pythoncard-users">https://lists.sourceforge.net/lists/listinfo/pythoncard-users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>

--------------050707020406000809030702--


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

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
--===============9141337595367061858==
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

--===============9141337595367061858==--