In article ,
best_...@yahoo.com says...
[snip]
> Anyway, I am happy with the outcome even though I have
> not found a way to detect when the program is force
> killed. It is unlikely that would ever occur as long
When your peogram starts, have it create
a small file. As part of your graceful
s
On Tue, 23 Feb 2016 16:19:43 -0600, Wildman wrote:
>
Thanks to Christian and Chris. You both gave me much
to think about and to experiment with. That adds to
my on-going learning experience.
This is the first thing I tried:
The Exit button has this: command=self.quit
Then I have this:
def
On Tue, Feb 23, 2016 at 2:19 PM, Wildman via Python-list <
python-list@python.org> wrote:
> I am familiar with OO programming but I am new to Python
> and Tkinter. I am working on a gui program that creates
> a couple of temporary files. As part of the Exit button
> command they are deleted. If
Am 23.02.16 um 23:19 schrieb Wildman:
I am familiar with OO programming but I am new to Python
and Tkinter. I am working on a gui program that creates
a couple of temporary files. As part of the Exit button
command they are deleted. If the program is shut down
using the window close button [X]
I am familiar with OO programming but I am new to Python
and Tkinter. I am working on a gui program that creates
a couple of temporary files. As part of the Exit button
command they are deleted. If the program is shut down
using the window close button [X], the exit button code
is not executed a
Peter Otten schrieb:
> Pseud O'Nym wrote:
>
>
>>the following fragment doesn't cause any errors and results in buttons the
>>correct size for the images, but the buttons don't work, and the images
>>aren't displayed. If I add a text property, and remove the images, they
>>work fine, so the rest o
Pseud O'Nym wrote:
> the following fragment doesn't cause any errors and results in buttons the
> correct size for the images, but the buttons don't work, and the images
> aren't displayed. If I add a text property, and remove the images, they
> work fine, so the rest of my code's OK. I've searche
"Pseud O'Nym" <[EMAIL PROTECTED]> writes:
> class App:
> def __init__(self, master):
> frame = Frame(master)
> frame.pack(side=LEFT, fill=Y)
> image1 = PhotoImage(file='button_a.gif')
> self.button = Button(frame, image=image1)
> self.button.pack(side=TOP)
>
> Can anyone enli
Hi,
the following fragment doesn't cause any errors and results in buttons the
correct size for the images, but the buttons don't work, and the images
aren't displayed. If I add a text property, and remove the images, they work
fine, so the rest of my code's OK. I've searched this group and Python