On Sunday, April 17, 2016 at 10:24:32 AM UTC-7, BlueRidiculous wrote:
> On Sunday, April 17, 2016 at 10:18:09 AM UTC-7, BlueRidiculous wrote:
> > On Saturday, April 16, 2016 at 9:30:39 PM UTC-7, Terry Reedy wrote:
> > > On 4/16/2016 9:31 PM, blueridicul...@gmail.com wrote:
> > > > So I was reading
On Mon, Apr 18, 2016 at 3:17 AM, BlueRidiculous
wrote:
>> How did you install Python? The Windows PSF installer from python.org
>> will create this directory unless you uncheck the box to include tcl/tk.
>>
>> --
>> Terry Jan Reedy
>
> What is a PSF installer? Anyway, I installed the "Windows x86
On Sunday, April 17, 2016 at 10:18:09 AM UTC-7, BlueRidiculous wrote:
> On Saturday, April 16, 2016 at 9:30:39 PM UTC-7, Terry Reedy wrote:
> > On 4/16/2016 9:31 PM, blueridicul...@gmail.com wrote:
> > > So I was reading https://wiki.python.org/moin/TkInter for help.
> > > I got to step 3 under "C
On Saturday, April 16, 2016 at 9:30:39 PM UTC-7, Terry Reedy wrote:
> On 4/16/2016 9:31 PM, blueridicul...@gmail.com wrote:
> > So I was reading https://wiki.python.org/moin/TkInter for help.
> > I got to step 3 under "Checking your Tkinter support."
> > Nothing happens when I do steps 1 or 2, an
On 4/16/2016 9:31 PM, blueridicul...@gmail.com wrote:
So I was reading https://wiki.python.org/moin/TkInter for help.
> I got to step 3 under "Checking your Tkinter support."
> Nothing happens when I do steps 1 or 2, and when I do step 3,
> I get this error:
Traceback (most recent call last):
So I was reading https://wiki.python.org/moin/TkInter for help. I got to step 3
under "Checking your Tkinter support." Nothing happens when I do steps 1 or 2,
and when I do step 3, I get this error:
"
Traceback (most recent call last):
File "", line 301, in runcode
File "", line 1, in
Fil
On 6/9/2010 1:13 PM, Dodo wrote:
import Tkinter as tk
from Tkconstants import *
import tkSimpleDialog
class MyDialog(tkSimpleDialog.Dialog):
def body(self, master):
prompt = "Hello from my custom dialog!\nAlthough with
something this simple i should have used tkMessageBox."
tk.Label(self, text=
Le 09/06/2010 19:13, Dodo a écrit :
Le 09/06/2010 18:49, rantingrick a écrit :
On Jun 5, 8:46 am, Dodo wrote:
Hi,
let's consider this exemple :
from tkinter import *
from tkinter.ttk import *
class First:
def __init__(self):
self.root = Tk()
B = Button(self.root, command=self.op)
B.pack()
s
Le 09/06/2010 18:49, rantingrick a écrit :
On Jun 5, 8:46 am, Dodo wrote:
Hi,
let's consider this exemple :
from tkinter import *
from tkinter.ttk import *
class First:
def __init__(self):
self.root = Tk()
B = Button(self.root, command=self.op)
On Jun 5, 8:46 am, Dodo wrote:
> Hi,
>
> let's consider this exemple :
>
> from tkinter import *
> from tkinter.ttk import *
>
> class First:
> def __init__(self):
> self.root = Tk()
> B = Button(self.root, command=self.op)
> B.pack()
>
>
Le 07/06/2010 15:26, Alf P. Steinbach a écrit :
* Dodo, on 07.06.2010 12:38:
Le 05/06/2010 19:07, Alf P. Steinbach a écrit :
* Dodo, on 05.06.2010 15:46:
Hi,
let's consider this exemple :
from tkinter import *
from tkinter.ttk import *
class First:
def __init__(self):
self.root = Tk()
B = B
* Dodo, on 07.06.2010 12:38:
Le 05/06/2010 19:07, Alf P. Steinbach a écrit :
* Dodo, on 05.06.2010 15:46:
Hi,
let's consider this exemple :
from tkinter import *
from tkinter.ttk import *
class First:
def __init__(self):
self.root = Tk()
B = Button(self.root, command=self.op)
B.pack()
self.
Le 05/06/2010 19:07, Alf P. Steinbach a écrit :
* Dodo, on 05.06.2010 15:46:
Hi,
let's consider this exemple :
from tkinter import *
from tkinter.ttk import *
class First:
def __init__(self):
self.root = Tk()
B = Button(self.root, command=self.op)
B.pack()
self.root.mainloop()
def op(self):
* Dodo, on 05.06.2010 15:46:
Hi,
let's consider this exemple :
from tkinter import *
from tkinter.ttk import *
class First:
def __init__(self):
self.root = Tk()
B = Button(self.root, command=self.op)
B.pack()
self.root.mainloop()
def op(self):
Second(self)
print("print")
class Second:
def
Hi,
let's consider this exemple :
from tkinter import *
from tkinter.ttk import *
class First:
def __init__(self):
self.root = Tk()
B = Button(self.root, command=self.op)
B.pack()
self.root.mainloop()
John McMonagle wrote:
> I've made a couple of minor changes to your code from the Cribbage class
> down:
>
> class Cribbage:
> def __init__(self, win):
>
...
> score = run.play()
> if score >= best: best = score
> time.sleep(1) <--- short sleep to see what's
I've made a couple of minor changes to your code from the Cribbage class
down:
class Cribbage:
def __init__(self, win):
self.parent = win# < make the toplevel Tk window an
# < attribute of the class
#Draw the interface
I've been away from Python for some time, and I'm just starting to look
at Tkinter. Just so you know, I'm coming from Visual Basic, where this
would, I *think*, not have been a problem, so it must be a case of
getting my head around the Tkinter way of doing things.
In a nutshell, I've written a
hi,
groves wrote:
> Now let me tell you that i was able to create a simple listbox which
> had 6 options which one can select, but Now what I want is that from
> the available menu, if I select an option it should give me another
> menu associated with that option. Its like digging up that option
On Tue, 2006-07-18 at 08:37 -0700, groves wrote:
> hi eveyrbody , i have started working on python tkinter,
> While I was working on one of the tkinter classes..named listbox
> widget. I had a slight problem.
>
> Now let me tell you that i was able to create a simple listbox which
> had 6 options
add a xscrollcommand and/or yscrollcommand keyword argument to the
construction of your listbox.
def func(*a):
print "i'm a callback!"
L = Tkinter.Listbox(root, yscrollcommand=func)# note no parens
after func
groves wrote:
> hi eveyrbody , i have started working on python tkinter,
> Whi
hi eveyrbody , i have started working on python tkinter,
While I was working on one of the tkinter classes..named listbox
widget. I had a slight problem.
Now let me tell you that i was able to create a simple listbox which
had 6 options which one can select, but Now what I want is that from
the av
In article <[EMAIL PROTECTED]>,
ishtar2020 <[EMAIL PROTECTED]> wrote:
>Hi everybody
>
>I'd appreciate some help on creating a tear off menu with TkInter. I've
>been reading some documentation but still no luck.
>
>Please don't get confused: when I mean "tear off" menu I don't mean a
>drop-down or a
On Thu, 2006-04-06 at 12:27 -0700, ishtar2020 wrote:
> Hi everybody
>
> I'd appreciate some help on creating a tear off menu with TkInter. I've
> been reading some documentation but still no luck.
>
> Please don't get confused: when I mean "tear off" menu I don't mean a
> drop-down or a pop-up me
Hi everybody
I'd appreciate some help on creating a tear off menu with TkInter. I've
been reading some documentation but still no luck.
Please don't get confused: when I mean "tear off" menu I don't mean a
drop-down or a pop-up menu, but those options which yield to another
batch of sub-options w
I've found the solution I must destroy the first window using
self.master.destroy(), but thanks anyway ^_^
--
http://mail.python.org/mailman/listinfo/python-list
since the file where i call the first window and the second window is
different,.If I put app.master.withdraw() there,...won't I get error
message that says; app is not defined as global or something like that?
--
http://mail.python.org/mailman/listinfo/python-list
"Clara" wrote:
> Well, but where do I call withdraw?
when you want the new window to appear, and the old one to
go away, of course. something like this, perhaps?
from mainmenu import FileManager
app2 = FileManager(self.username.get())
app2.master.title("File Manager")
app2.master.maxsiz
Forgive my ignorance, but where do I call withdraw?
--
http://mail.python.org/mailman/listinfo/python-list
Well, but where do I call withdraw?
--
http://mail.python.org/mailman/listinfo/python-list
"Clara" wrote:
> I meant to write an application where there is a button in a window and
> when you click on the button, it will open a new window, but I want the
> first window to close, replaced by the second window.
> I open a login window and start the mainloop, when the user click on
> the lo
Hi,...
I meant to write an application where there is a button in a window and
when you click on the button, it will open a new window, but I want the
first window to close, replaced by the second window.
I open a login window and start the mainloop, when the user click on
the login button, the __c
32 matches
Mail list logo