public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* New locals and watch windows
@ 2002-11-06 13:55 Martin M. Hunt
  0 siblings, 0 replies; only message in thread
From: Martin M. Hunt @ 2002-11-06 13:55 UTC (permalink / raw)
  To: insight

[-- Attachment #1: Type: text/plain, Size: 1519 bytes --]

I have just checked in a complete rewrite of the local and watch
windows.  The new window use a new VarTree widget instead of the old Tix
tree widget. The VarTree widget is a pure itcl tree widget that is
designed specifically to display varobjs.

I will not be including any diffs because everything is different.

2002-11-06  Martin M. Hunt  <hunt@redhat.com>

	* library/watch.tcl: Completely rewritten to use VarTree.
	* library/locals.tcl: Completely rewritten to use VarTree.
	* library/variables.tcl: Deleted.
	* library/vartree.ith: New file.
	* library/vartree.itb: New file. Implements a variable
	tree.
	* library/tclIndex: Rebuilt.

I'm attaching some screenshots.  In the Watch window you can see that
"args" and "endp" are not currently valid so they are automatically
grayed out.  There is no menubar; instead a right mousebutton over a
variable pops up a menu.  Right mousebutton over empty space pops up a
smaller menu with just "Sort, Help, and Close".  The reason for this is
simply to maximize the useful space.

You can edit an entry by double-clicking on the value or using the
pop-up menu.

In the screenshot of the locals window, you can see the right
mousebutton popup menu.  If you click on a variable you get the same
menu as the one in the picture of the watch window.  The only difference
between the watch and locals window appearance is that the watch window
has an entry field at the bottom.  I am thinking of removing it and
adding it to the popup menu instead.  Any opinions?

Martin


[-- Attachment #2: Type: image/png, Size: 14695 bytes --]

[-- Attachment #3: locals.png --]
[-- Type: image/png, Size: 12694 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-11-06 21:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-06 13:55 New locals and watch windows Martin M. Hunt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).