Re: Photoimage on button appears pixelated when button is disabled

2009-05-18 Thread Dustan
On May 17, 7:11 am, Tim Golden  wrote:
> Dustan wrote:
> > On May 15, 2:59 pm, Dustan  wrote:
> >> In tkinter, when I place a photoimage on a button and disable the
> >> button, the image has background dots scattered through the image.
> >> Searching the web, I wasn't able to find any documentation on this
> >> behavior, nor how to turn it off. So here I am. How do I keep this
> >> from happening?
>
> >> Also, how can I extract the base-64 encoding of a GIF, so I can put
> >> the image directly into the code instead of having to keep a separate
> >> file for the image?
>
> >> All responses appreciated,
> >> Dustan
>
> > At the very least, someone ought to be able to provide an answer to
> > the second question.
>
> Well I know nothing about Tkinter, but to do base64 encoding,
> you want to look at the base64 module.
>
> TJG

Thanks.

And for my former question, I worked something out, figuring there
must be no solution.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Photoimage on button appears pixelated when button is disabled

2009-05-17 Thread Tim Golden

Dustan wrote:

On May 15, 2:59 pm, Dustan  wrote:

In tkinter, when I place a photoimage on a button and disable the
button, the image has background dots scattered through the image.
Searching the web, I wasn't able to find any documentation on this
behavior, nor how to turn it off. So here I am. How do I keep this
from happening?

Also, how can I extract the base-64 encoding of a GIF, so I can put
the image directly into the code instead of having to keep a separate
file for the image?

All responses appreciated,
Dustan


At the very least, someone ought to be able to provide an answer to
the second question.


Well I know nothing about Tkinter, but to do base64 encoding,
you want to look at the base64 module.

TJG
--
http://mail.python.org/mailman/listinfo/python-list


Re: Photoimage on button appears pixelated when button is disabled

2009-05-17 Thread Dustan
On May 15, 2:59 pm, Dustan  wrote:
> In tkinter, when I place a photoimage on a button and disable the
> button, the image has background dots scattered through the image.
> Searching the web, I wasn't able to find any documentation on this
> behavior, nor how to turn it off. So here I am. How do I keep this
> from happening?
>
> Also, how can I extract the base-64 encoding of a GIF, so I can put
> the image directly into the code instead of having to keep a separate
> file for the image?
>
> All responses appreciated,
> Dustan

At the very least, someone ought to be able to provide an answer to
the second question.
-- 
http://mail.python.org/mailman/listinfo/python-list


Photoimage on button appears pixelated when button is disabled

2009-05-15 Thread Dustan
In tkinter, when I place a photoimage on a button and disable the
button, the image has background dots scattered through the image.
Searching the web, I wasn't able to find any documentation on this
behavior, nor how to turn it off. So here I am. How do I keep this
from happening?

Also, how can I extract the base-64 encoding of a GIF, so I can put
the image directly into the code instead of having to keep a separate
file for the image?

All responses appreciated,
Dustan
-- 
http://mail.python.org/mailman/listinfo/python-list