Re: TKinter Newbie question

2019-01-18 Thread TUA
Thanks for your fresh pair of eyes! -- https://mail.python.org/mailman/listinfo/python-list

Re: TKinter Newbie question

2019-01-17 Thread Peter Otten
TUA wrote: > Why does the button frame in the code below not show? > tk.Button(bf, padx = 10, relief = tk.GROOVE, text = 'Help') You forgot to layout it with .pack(). > I intend to have it displayed in between the notebook at the top and the > fake statusbar at the bottom. I think for

TKinter Newbie question

2019-01-17 Thread TUA
Why does the button frame in the code below not show? I intend to have it displayed in between the notebook at the top and the fake statusbar at the bottom. Thanks for any help! from tkinter import ttk import tkinter as tk class MainForm(): def __init__(self, master):

Re: tkinter newbie question

2016-01-25 Thread KP
On Monday, 25 January 2016 00:51:34 UTC-8, Peter Otten wrote: > KP wrote: > > > See my code below (which works). > > >From the import of lowercase "tkinter" I conclude you are using Python 3. > > > I'd like to have the 2nd window as a > > class in a separate unit. How do I code that unit and h

Re: tkinter newbie question

2016-01-25 Thread KP
On Monday, 25 January 2016 08:22:12 UTC-8, KP wrote: > On Monday, 25 January 2016 00:51:34 UTC-8, Peter Otten wrote: > > KP wrote: > > > > > See my code below (which works). > > > > >From the import of lowercase "tkinter" I conclude you are using Python 3. > > > > > I'd like to have the 2nd w

Re: tkinter newbie question

2016-01-25 Thread KP
On Sunday, 24 January 2016 20:20:07 UTC-8, KP wrote: > See my code below (which works). I'd like to have the 2nd window as a class > in a separate unit. How do I code that unit and how do I call it from my > first unit? > > As always, thanks for all help! > > > > > #!/usr/bin/env python > "

Re: tkinter newbie question

2016-01-25 Thread Peter Otten
KP wrote: > See my code below (which works). >From the import of lowercase "tkinter" I conclude you are using Python 3. > I'd like to have the 2nd window as a > class in a separate unit. How do I code that unit and how do I call it > from my first unit? > > As always, thanks for all help! Mov

tkinter newbie question

2016-01-24 Thread KP
See my code below (which works). I'd like to have the 2nd window as a class in a separate unit. How do I code that unit and how do I call it from my first unit? As always, thanks for all help! #!/usr/bin/env python """ """ from tkinter import * from settings import * class window1():

Re: Tkinter Newbie Question

2007-12-08 Thread robbie
Hi Mark, Thank you so much for the help. I figured it was something pretty simple like that. And I was also puzzled by the concept of the lambda function, so now I know what they do too. I just tried it out, and it works well. Much appreciated, Ciao back at you, Robbie -- http://mail.python.or

Re: Tkinter Newbie Question

2007-12-06 Thread Marc 'BlackJack' Rintsch
On Thu, 06 Dec 2007 23:04:56 -0800, robbie wrote: > This second example doesn't work. The only difference is that I gave > the salutation function a parameter and tried to pass a string as the > parameter from the button. It appears to call the function once for > each window as they're being cre

Tkinter Newbie Question

2007-12-06 Thread robbie
Hello Group, I'm a programmer with many years experience, but am new to Python and to object oriented programming. I'm working my way through a book on Python, and have been tweaking the examples to see what they do. I've run into a situation that I don't understand, though I expect it's pretty si

Re: TKinter newbie

2007-02-15 Thread Steve Holden
Gigs_ wrote: > Hi Im new to gui programming > > from Tkinter import * # get widget classes > from tkMessageBox import askokcancel # get canned std dialog > > class Quitter(Frame): # subclass our GUI > def __init__(self, parent=None)

Re: TKinter newbie

2007-02-15 Thread Peter Otten
Gigs_ wrote: > Hi Im new to gui programming > > from Tkinter import * # get widget classes > from tkMessageBox import askokcancel # get canned std dialog > > class Quitter(Frame): # subclass our GUI > def __init__(self, parent=None

TKinter newbie

2007-02-15 Thread Gigs_
Hi Im new to gui programming from Tkinter import * # get widget classes from tkMessageBox import askokcancel # get canned std dialog class Quitter(Frame): # subclass our GUI def __init__(self, parent=None): # constructor m

Re: Python Tkinter Newbie question

2005-03-12 Thread Harlin Seritt
Try not to triple post if you can help it (I'll assume you accidentally hit the SENT button three times ) Regards, Harlin Seritt -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Tkinter Newbie question

2005-03-12 Thread Harlin Seritt
You have: ="@/test.xbm" take the '/' out or (if it is in a different dir which i think it is), do ="/@test.xbm" also... make sure your *.xbm is really a bitmap file (that would just be another thing to check... not to say its not the proper format)... Regards, Harlin Seritt -- http://mail.

Python Tkinter Newbie question

2005-03-12 Thread Wim Goffin
Hi,   I'm trying to get a bitmap onto a button, but I can't.Can anyone tell me where to look for a solution?   The call I use is this one:self.b = Button(toolbar, text="nieuw", bitmap="@/test.xbm", width=20, command=self.print_msg)   The message I get is this:Traceback (most recent call last