On Fri, Nov 14, 2014 at 7:45 AM, Rich Cook wrote:
> print "There are", numimages, "images" # 256 in fact...
> for imagenum, (row, col) in enumerate([(row,col) for row in range(numrows)
> for col in range(numcols)]):
> b = Tkinter.Label(frame, compound = Tkinter.TOP)
> b['text'] = os.path
On 11/13/2014 3:45 PM, Rich Cook wrote:
Hi, I'm trying to toss together an image browser in tkinter, and it is so slow
it is unworkable. Here is my code. Can someone point out why it's so slw?
:-) Thanks
root = Tkinter.Tk()
root.geometry("1000x280+300+300")
label = Tkinter.Button(root,
Hi, I'm trying to toss together an image browser in tkinter, and it is so slow
it is unworkable. Here is my code. Can someone point out why it's so slw?
:-) Thanks
root = Tkinter.Tk()
root.geometry("1000x280+300+300")
label = Tkinter.Button(root, compound=Tkinter.TOP)
label.pack()
numim
Eric Brunel wrote:
> So you should either make your MainWindow class inherit from Tk, which
> eliminates the unneeded container and the problems it may cause, or make
> sure the pack or grid on your MainWindow instance actually tells the
> container to grow with its container. With pack, it's q
On Wed, 06 Jul 2005 16:32:42 GMT, William Gill <[EMAIL PROTECTED]> wrote:
> Excuse me for intruding, but I followed examples and ended up with a
> similar architecture:
>
> from Tkinter import *
> class MyMain(Frame):
> def __init__(self, master):
> self.root = mast
On Wed, 06 Jul 2005 16:32:42 GMT, "William Gill" <[EMAIL PROTECTED]>
said:
> Excuse me for intruding, but I followed examples and ended up with a
> similar architecture:
>
> from Tkinter import *
> class MyMain(Frame):
> def __init__(self, master):
> self.root = m
Excuse me for intruding, but I followed examples and ended up with a
similar architecture:
from Tkinter import *
class MyMain(Frame):
def __init__(self, master):
self.root = master
self.master=master
root = Tk()
app = MyMain(root)
app.ma
On Wed, 06 Jul 2005 17:36:01 +0200, "Eric Brunel"
<[EMAIL PROTECTED]> said:
> On Wed, 06 Jul 2005 11:44:55 +0100, Richard Lewis
> <[EMAIL PROTECTED]> wrote:
>
> > Hi there,
> >
> > I've got a tree control in Tkinter (using the ESRF Tree module) but I
> > can't get it to layout how I want it.
> >
On Wed, 06 Jul 2005 11:44:55 +0100, Richard Lewis <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> I've got a tree control in Tkinter (using the ESRF Tree module) but I
> can't get it to layout how I want it.
>
> I'd like to have it so that it streches north/south (anchored to the top
> and bottom), is
On Wed, 06 Jul 2005 11:44:55 +0100, "Richard Lewis"
<[EMAIL PROTECTED]> said:
> Hi there,
>
> I've got a tree control in Tkinter (using the ESRF Tree module) but I
> can't get it to layout how I want it.
>
> I'd like to have it so that it streches north/south (anchored to the top
> and bottom),
Hi there,
I've got a tree control in Tkinter (using the ESRF Tree module) but I
can't get it to layout how I want it.
I'd like to have it so that it streches north/south (anchored to the top
and bottom), is of a fixed width and is anchored to the left hand side.
Here's my code (its derived from o
11 matches
Mail list logo