Thanks for your fresh pair of eyes!
--
https://mail.python.org/mailman/listinfo/python-list
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
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):
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
>
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
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
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!
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():
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
--
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
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
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):
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
--
Try not to triple post if you can help it (I'll assume you accidentally
hit the SENT button three times whistles)
Regards,
Harlin Seritt
--
http://mail.python.org/mailman/listinfo/python-list
14 matches
Mail list logo