For Programmers: Free Programming Magazines  


Home > Archive > Tcl > June 2006 > TreeCtrl -How can I disable the treectrl widget









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author TreeCtrl -How can I disable the treectrl widget
Mona

2006-06-24, 8:23 am

Hi all,

Is there a way I can disable my treectrl widget? I have created it
inside a frame.

Thanks in advance,
Mona.

Tim Baker

2006-06-24, 7:05 pm

> Is there a way I can disable my treectrl widget? I have created it
> inside a frame.



If you want to stop mouse clicks or keypresses having any effect
you can try removing the bindtags from the widget.

% treectrl .t
% bindtags .t
..t TreeCtrl . all
% bindtags .t {}

Then enable the widget again.

% bindtags .t {.t TreeCtrl . all}


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com