Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Perl / Tk / July 2009



Tip: Looking for answers? Try searching our database.

Tree view using tkx module.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Prathap - 02 Jul 2009 20:58 GMT
Hi:

  I'm trying to use tkx module and want to know how do I add
scrolling capabilities to the Tree view?
 Also, where do I  read more about the tkx tree view interface?

Regards,
Prathap
Jeff  Hobbs - 02 Jul 2009 23:43 GMT
>    I'm trying to use tkx module and want to know how do I add
> scrolling capabilities to the Tree view?

The ttk__treeview (ttk::treeview) has the same scrolling support as
other Tk widgets, so you would use a scrollbar tied to -xscrollcommand
with -command of the scrollbar pointing at the treeview.  There is
also the widget__scrolledwindow that may have an example around
somewhere to make this easier.

>   Also, where do I  read more about the tkx tree view interface?

Currently via the core Tk doc page is best:

http://www.tcl.tk/man/tcl8.5/TkCmd/ttk_treeview.htm

Jeff
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.