Menu

#16 aliases in tree labels

closed-out-of-date
None
5
2007-11-11
2002-03-21
Eric Taylor
No

This patch is to vtcl 1.6a2

The patch is to provide additional information
in the widget tree.

For most widgets, it changes the fixed text, such as
BUT, or RB, to the alias used for the widget. This is
especially useful if you enable automatic widget
aliases.

Frames are a bit different. For frames, it will scan
the
children widgets and look at the placement manager, as
well
as count the widgets. So, you might see:

Frame22 grid (15)

For more info, see the included readme.txt file.

There is one small proc that must be added to the main
vtcl.tct code. You need to copy this from the
readme.txt file, (oh, well, here it is)

proc vTcl:tree_alias {wid {def {?}}} {
global widget
set ans $def
catch {set ans $widget(rev,$wid)}
return $ans
}

Discussion

  • Eric Taylor

    Eric Taylor - 2002-03-21

    zip file with all .wgt files and readme.txt

     
  • Ken Parker

    Ken Parker - 2007-11-11
    • status: open --> open-out-of-date
     
  • Ken Parker

    Ken Parker - 2007-11-11

    Logged In: YES
    user_id=933468
    Originator: NO

    Patch is out of date I was unable to run in the latest version. I will come up with a new solution. Adding this to a feature request.

     
  • Ken Parker

    Ken Parker - 2007-11-11
    • assigned_to: nobody --> kenparkerjr
    • status: open-out-of-date --> closed-out-of-date
     

Log in to post a comment.