473,503 Members | 1,671 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Tree control with TKinter

Hi,
I would like to implement a tree control inside a Python application. It
should be similar to GTK's TreeStore widget, but I need it for TKinter.
Any ideas?
thanks
Marco
Jul 18 '05 #1
2 3438
Marco Terzuoli wrote:
Hi,
I would like to implement a tree control inside a Python application. It
should be similar to GTK's TreeStore widget, but I need it for TKinter.
Any ideas?
thanks
Marco


There is a tree widget in IDLE, which is part of all Python distribution. With
Python 2.1, it's located under Tools/idle in the Python installation directory
and is named TreeWidget.py. AFAIK, there's no documentation for it, but it is
quite easy to use and also includes an example application.

There are many others alternatives around; Google is your friend.

HTH
--
- Eric Brunel <eric (underscore) brunel (at) despammed (dot) com> -
PragmaDev : Real Time Software Development Tools - http://www.pragmadev.com

Jul 18 '05 #2
Eric Brunel <er*********@despammed.com> wrote in message news:<c8**********@news-reader1.wanadoo.fr>...
Marco Terzuoli wrote:
Hi,
I would like to implement a tree control inside a Python application. It
should be similar to GTK's TreeStore widget, but I need it for TKinter.
Any ideas?
thanks
Marco


There is a tree widget in IDLE, which is part of all Python distribution. With
Python 2.1, it's located under Tools/idle in the Python installation directory
and is named TreeWidget.py. AFAIK, there's no documentation for it, but it is
quite easy to use and also includes an example application.

There are many others alternatives around; Google is your friend.

HTH


Check out Gene Cash´s tree widget, it beats far Idle´s tree and all
the others I have seen:

http://home.cfl.rr.com/genecash/tree.html

Regards

Michael
Jul 18 '05 #3

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

Similar topics

0
1506
by: Sylwia | last post by:
Hi! Have anyone ever tried to modify the Gene Cash's Tkinter tree widget (available from http://home.cfl.rr.com/genecash/) so it supports multiple items selection ( selection of multiple files...
0
2066
by: Ringwraith | last post by:
Hi! Have anyone ever tried to modify the Gene Cash's Tkinter tree widget (available from http://home.cfl.rr.com/genecash/) so it supports multiple items selection ( selection of multiple files...
3
1678
by: Sean McIlroy | last post by:
I'm looking for a widget, to be used with Tkinter, that displays a tree whose leaves are strings. I thought there was something like that in the Python Megawidgets, but when I look at the...
3
1945
by: Adam Munoz Lopez | last post by:
Can anyone help with this code... I have infinite recursion but since I'm pretty new to Python (and programming in general) I can't find where I did the mistake. Thanks a lot in advance. ...
4
2570
by: David W. Simmonds | last post by:
Outside of building a custom ActiveX control that would need to run on the user's machine and have security attributes set to allow such, does anyone have any code that will allow a combobox to...
10
2500
by: dwok | last post by:
Does anyone know of a good article that discusses creating a "Tree View" control in ASP.NET? Or perhaps a Tree View Control that comes with source code? I have come across a lot of tree controls...
3
2538
by: _DS | last post by:
Problem with mapping a directory tree to a tree control: It takes a while to recurse subdirs and map them to nodes. This is solved in some books I've seen (MacDonald, Albahari) by reading the...
0
1495
by: Tim N. van der Leeuw | last post by:
Hi, I need to display some hierarchical data, and because I don't want to force users to install too many things beyond Python itself, I'm hoping to use Tix which is at least included with...
2
2776
by: sumanthsclsdc | last post by:
Hello friends, I have a problem, I implemented a class which uses tkinter and displays the window as required, the class will create a window with listbox and inserts some items into it, I...
0
7202
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7332
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...
1
6991
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7462
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...
1
5014
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
4673
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
3167
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3154
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
736
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.