473,508 Members | 2,216 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Does TKinter Have A Grid ?

Does TKinter have a Grid widget ?
If not (as I assume), what is the alternative ?

Pete

Jul 19 '05 #1
3 2671
Not a grid widget necessarilly but a 'grid' method you can use instead
of pack(). Take a look at
http://www.pythonware.com/library/tk...ction/grid.htm. If
this isn't what you mean, come back.

Harlin Seritt

Jul 19 '05 #2
Peter Moscatt wrote:
Does TKinter have a Grid widget ?
If not (as I assume), what is the alternative ?

Pete


Pete,

If by grid you mean Table widget or Spreadsheet type widget then no Tk
does not have one (therefore nor does Tkinter) However as luck would
have it there are a couple of extensions to Tk that provide a Table
widget both Tk 'c' based and Tcl based.

for more about this (and lots of other useful stuff!)

http://tkinter.unpythonic.net/wiki/Widgets

It mentions two Table widgets, Tktable and tablelist both have python
(tkinter) wrappers

Martin

Jul 19 '05 #3
Mardy..... that's exactly what I was chasing. I have downloaded the
tarball now it's just a matter of working out how I use Tcl with Python -
and I guess it won't hurt if I also use Tk in there as well....

Pete
On Tue, 10
May 2005 10:11:59 +0100, Martin Franklin wrote:
Peter Moscatt wrote:
Does TKinter have a Grid widget ?
If not (as I assume), what is the alternative ?

Pete


Pete,

If by grid you mean Table widget or Spreadsheet type widget then no Tk
does not have one (therefore nor does Tkinter) However as luck would
have it there are a couple of extensions to Tk that provide a Table
widget both Tk 'c' based and Tcl based.

for more about this (and lots of other useful stuff!)

http://tkinter.unpythonic.net/wiki/Widgets

It mentions two Table widgets, Tktable and tablelist both have python
(tkinter) wrappers

Martin


Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
5959
by: Josh | last post by:
Caution, newbie approaching... I'm trying to come up with a very simple Tkinter test application that consists of a window with a drop-down menu bar at the top and a grid of colored rectangles...
3
2136
by: Matt Hammond | last post by:
Here's a strange one in Tkinter that has me stumped: (I'm running python 2.4 on Suse Linux 9.3 64bit) I'm trying to make a set of Entry widgets with Label widgets to the left of each one, using...
3
3594
by: dwelch91 | last post by:
I'm trying unsuccessfully to do something in Tk that I though would be easy. After Googling this all day, I think I need some help. I am admittedly very novice with Tk (I started with it...
3
1990
by: H J van Rooyen | last post by:
Hi, Still struggling with my GUI exercise - I have the following lines of code in a routine that is bound at <Key-Returnto an instance of Entry : self.disp.Amount_des = Label(self.disp,...
6
2502
by: Adam | last post by:
Hey, I'm pretty new to programming. Been trying to learn using Python. The code I'm struggling with is for my GUI. I'm am having trouble getting this to display the way I want with the grid...
2
3512
by: skanemupp | last post by:
so my little calculator works perfectly now. just having some trouble with the layout. this whole tkinter-thing seems to be more tricky than it should be. how can i make the 4 column of buttons...
1
1814
by: viv1tyagi | last post by:
Hi everyone ! ! ! I'm just a month old in the world of Python and trying to develop an application using Tkinter in which a new window pops out on a particular button press.The code for this new...
0
1488
by: Guilherme Polo | last post by:
On Wed, Sep 3, 2008 at 8:57 PM, Kevin McKinley <kem1723@yahoo.comwrote: Come on.. "help on lines 384-403", that is not a good way to look for help. You are supposed to post some minimal code that...
1
1685
by: Francesco Bochicchio | last post by:
Il Mon, 18 Aug 2008 12:15:10 +0100, dudeja.rajat ha scritto: Uhm, I don't think you should use the grid manager to obtain a window like that. The grid manager is for equally distributing...
0
7127
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7331
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7391
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7501
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5633
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5056
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4713
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1564
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
424
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.