On 8/24/07, Lamonte Harris <[EMAIL PROTECTED]> wrote:
> How to fix my code, wth that doesn't help solve anything really.the Tkinter
> tutorial doesn't even explain radio buttons correctly, let alone, everything
> else. gah. can you give a answer that I can work from.
You asked, "what can I do to f
> text="Action?",command=self.V(a,b,c,d)).pack(anchor=W) doesn't even do
> anything, what can I do to fix this problem?
I see many mistakes.
First: `command=self.V(a,b,c,d)' is actually calling self.V. You don't
want to call self.V, which will assing `command' to the return value,
you want to pas
How do I add a command to a button say for instance
class MYCLASNAME:
def choices(self):
choices = Toplevel()
v = IntVar()
a = Radiobutton(choices, text="Add News",
variable=v,value=1).pack(anchor=W)
b = Radiobutton(choices, text="Edit News",
variable=v,value=2).
I don't know, and I'm sorry this isn't more helpful, but...if you don't
get an answer here, I suggest you post to the python apple mailing list.
If you prefer a newsgroup interface (as I do), use gmane's news server
and subscribe to gmane.comp.python.apple (you may still have to join the
mailin
i've built a Python 2.5a0 interpreter on my iBook using gcc 3.3-1666
using the tarball from last nite...
$ uname -a
Darwin myMac.local 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30
20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC Power
Macintosh powerpc
$
$ python
Python 2.5a0 (trunk, M