Philippe C. Martin wrote:
> PS: Since your starting with TKinter, and although I do not know what your
> goal is, I suggest you take a look at wxPython: it is _wonderfull_ ! (no
> offence to TCL/TK)
>
> Regards,
>
> Philippe
>
>
>
>
>
>
> VK wrote:
>
>
>>Philippe C. Martin wrote:
>>
>>>Hi
Philippe C. Martin wrote:
> Then I guess you need a TopLevel widget instead:
>
>
> (I still suggest you look at wxPython)
>
>
> from Tkinter import *
> class GetVariant:
> def __init__(self,p):
> self.root = p
>
> self.firstframe = Frame(self.root,bg="red")
> se
Then I guess you need a TopLevel widget instead:
(I still suggest you look at wxPython)
from Tkinter import *
class GetVariant:
def __init__(self,p):
self.root = p
self.firstframe = Frame(self.root,bg="red")
self.firstframe.pack(side=BOTTOM,expand=1)
Philippe C. Martin wrote:
> Sorry,
>
> I still had your code in my clipboard :-) here goes:
So, your code works, but I need, that first window calls another
separate window. In your programm they stick together.
Reg, VK
>
>
>
> from Tkinter import *
> class GetVariant(Frame):
> def __in
PS: Since your starting with TKinter, and although I do not know what your
goal is, I suggest you take a look at wxPython: it is _wonderfull_ ! (no
offence to TCL/TK)
Regards,
Philippe
VK wrote:
> Philippe C. Martin wrote:
>> Hi,
>>
>> I think your second call to Tk() does it: this works
Philippe C. Martin wrote:
> Hi,
>
> I think your second call to Tk() does it: this works although the look is
> different:
>
>
> from Tkinter import *
> class GetVariant:
> def __init__(self):
> self.root = Tk()
> self.mainframe = Frame(self.root,bg="yellow")
> s
Sorry,
I still had your code in my clipboard :-) here goes:
from Tkinter import *
class GetVariant(Frame):
def __init__(self,p):
self.root = p
self.mainframe = Frame(self.root,bg="yellow")
self.mainframe.pack(fill=BOTH,expand=1)
self.firstframe = Frame(
Hi,
I think your second call to Tk() does it: this works although the look is
different:
from Tkinter import *
class GetVariant:
def __init__(self):
self.root = Tk()
self.mainframe = Frame(self.root,bg="yellow")
self.mainframe.pack(fill=BOTH,expand=1)
s
Hi!
What I'm missing in following code? Cannot get the values of
radiobuttons. Starting only one class (GetVariant), it works. When I put
two classes together, it doesn't.
Regards, VK
from Tkinter import *
class GetVariant:
def __init__(self):
self.root = Tk()
self.mainfra