Hey guys, well how would you go about making a GUI, i've seen examples with Tkinter. But how would you place the button exactly where you want them. Also would you set an event for a button or field for example if the button is clicked it connects to a socket. Thanks, Clipper34.
Clipper34
0
Newbie Poster
Recommended Answers
Jump to PostHi Clipper34. I'm not 100% sure what you're asking specifically, but I use wxPython. I prefer it to Tkinter - just a personal choice. You can go to http://wxpython.org/ to download wxPython and begin using it.
As for positioning a button absolutely, just set it's position …
Jump to PostHere is simple example using Tkinter GUI toolkit that is usually included with Python:
# using geometry manager place() for absolute layouts import Tkinter as tk def connect(): "make your connection" # your connection code here # ... root.title("Connected!") # test # the root window root = …
All 8 Replies
shadwickman
159
Posting Pro in Training
bumsfeld
413
Nearly a Posting Virtuoso
Stefano Mtangoo
455
Senior Poster
Clipper34
0
Newbie Poster
shadwickman
159
Posting Pro in Training
Stefano Mtangoo
455
Senior Poster
Clipper34
0
Newbie Poster
Stefano Mtangoo
455
Senior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.