954,525 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Visual Tkinter always showing run time error

Hello

I am trying to use Visual Tkinter but it's giving an "Invalid procedure call" error each time I try to place something on the form and the program closes.

Screenshot of what I'm getting:
http://i48.tinypic.com/10zy5br.jpg

I'm not even able to add a simple button to the form & when I try to add it gives this error & closes.

How do I get this to work?

Thank you

bharatk
Light Poster
33 posts since Jan 2010
Reputation Points: 10
Solved Threads: 0
 

and also I am not able to select any items other than button & the arrow:

http://i47.tinypic.com/wlyxxw.jpg

bharatk
Light Poster
33 posts since Jan 2010
Reputation Points: 10
Solved Threads: 0
 

You are working with a version 0.0.115 beta. You should probably consider using another IDE, unless you want to join the Visual Tkinter team.

Gribouillis
Posting Maven
Moderator
2,786 posts since Jul 2008
Reputation Points: 1,044
Solved Threads: 691
 

I tired out all their versions listed here: http://code.google.com/p/visualtkinter/downloads/list

But every version gives the same error. I think there is no stable version yet.

I just wanted a IDE in which I could develop like developing in Visual Basic.

Is there anything like that for tkinter?

bharatk
Light Poster
33 posts since Jan 2010
Reputation Points: 10
Solved Threads: 0
 

IMHO, Tkinter GUI code is too simple to write to warrant a visual approach. It's so much easier to build yourself a few Tkinter code templates and go with that.

BTW, code produced by Visual Tkinter doesn't seem to follow any Python syntax guidelines.

vegaseat
DaniWeb's Hypocrite
Moderator
5,989 posts since Oct 2004
Reputation Points: 1,345
Solved Threads: 1,417
 

IMHO, Tkinter GUI code is too simple to write to warrant a visual approach. It's so much easier to build yourself a few Tkinter code templates and go with that.

BTW, code produced by Visual Tkinter doesn't seem to follow any Python syntax guidelines.

ok.. I wanted an IDE like that coz I am a absolute beginner in python programming and was too used to using Visual Studio.
Guess I'd find coding in tkinter easier as I go.

Thank you for the replies.

bharatk
Light Poster
33 posts since Jan 2010
Reputation Points: 10
Solved Threads: 0
 

ok.. I wanted an IDE like that coz I am a absolute beginner in python programming and was too used to using Visual Studio. Guess I'd find coding in tkinter easier as I go.

Thank you for the replies.


If you are an absolute beginner, use only robust and well known IDEs. Idle is a good first choice.

Gribouillis
Posting Maven
Moderator
2,786 posts since Jul 2008
Reputation Points: 1,044
Solved Threads: 691
 

See also this page .

Gribouillis
Posting Maven
Moderator
2,786 posts since Jul 2008
Reputation Points: 1,044
Solved Threads: 691
 

I am right now using Netbeans IDE & Wing IDE. These appear more friednly than IDLE.
I wanted an IDE where I could just drag and drop buttons & text boxes like in visual basic,instead of coding them.
I guess I'll have to only write the code for the GUI elements.

bharatk
Light Poster
33 posts since Jan 2010
Reputation Points: 10
Solved Threads: 0
 

If you want to use drag and drop to design your widget layout then the PyQT GUI toolkit comes with QTdesigner, see:
http://www.daniweb.com/forums/post1108430.html#post1108430

The wxPython GUI toolkit can use BOA constructor, see:
http://www.daniweb.com/forums/post400296.html#post400296

Another nice drag and drop utility for wxPython is wxGlade.

Ene Uran
Posting Virtuoso
1,723 posts since Aug 2005
Reputation Points: 625
Solved Threads: 213
 

Visual Tkinter new version :

macroasm
Newbie Poster
6 posts since Sep 2008
Reputation Points: 10
Solved Threads: 0
 

Thank you macroasm. I'll check it out.

bharatk
Light Poster
33 posts since Jan 2010
Reputation Points: 10
Solved Threads: 0
 

In the drag and drop section there is also the SpecTcl project, see:
http://spectcl.sourceforge.net/spectcl.html

The guibuilder-win32-ix86-20070129.exe works on Windows, but the code is scattered all over the map and maintenance would be a nightmare.

wxGlade is just a builder/designer for wxPython widgets, but the code it produces is the cleanest I have seen. It is easy to flesh out and maintain. For an example see:
http://www.daniweb.com/forums/post1135561.html#post1135561

vegaseat
DaniWeb's Hypocrite
Moderator
5,989 posts since Oct 2004
Reputation Points: 1,345
Solved Threads: 1,417
 

tanks. I agreen. but we have visual tkinter.

macroasm
Newbie Poster
6 posts since Sep 2008
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You