Hello all,
as I don't like to write new widgets in C, I use Tk to implement them. Further
I want to integrate them into vTcl. I have already send some mails about this
topic. The Tix library extension example lib_tix.tcl send to me by Kenneth
H. Cox, has helped me to answer many questions. But two questions remain yet.
There is an array entry vTcl(<class name>,dump_children) which determines
whether vTcl should dump the sub widgets of an widget of a certain class or
not.
Now I also need:
- an possibility to force the Widget tree not to show the children of my
megawidget.
- If, in Edit mode, I click on an children of my megawidget, it will be
selected, and I can manipulate it with the Attribute Editor. There should be
an possibility, that if I select an children of my megawidget, the megawidget
should be selected, and not the child. For example: Suppose I migrate the
tk_optionMenu into vTcl. Addtional to the known optionmenu, I have a label in
front of the menu like that:
+-----------------------------+
This is the label: | And this the optionmenu === |
+-----------------------------+
The whole object is my megawidget which is packed into a frame of class
Optionmenu. If I select the label, for example, I want that the frame is
selected, and its attributes are shown, instead of that of the label.
Now I want to know if such possibilities already exists in vTcl? If yes, how I
can get this behavior. If not, is it possible to introduce these in vTcl.
If there is no such possibility yet, I would like to know, which procedures of
vTcl I have to adapt to implement these features on my own. I need them, as I
use vTcl for a real project now, and I guess that I have no time to wait for
vTcl 1.1.
Thanks you a lot.
Bye,
Cle.
--
| Clemens Hintze * ACB/EO ____ OMC-R Software Developement
| Phone: +49 30 7002-3241 \ / ALCATEL Mobile Communication Division ITD
| Fax : +49 30 7002-3851 \/ Colditzstr. 34-36, D-12099 Berlin, Germany
| mailto:[EMAIL PROTECTED]