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 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
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
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
> "
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
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
--
http://mail.python.or
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
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
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)
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
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
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
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.
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
17 matches
Mail list logo