public inbox for
 help / color / mirror / Atom feed
From: Keith Seitz <>
To: Gene Smith <>
Subject: Re: GUI configuration changes (How to?)
Date: Fri, 11 Jan 2013 19:34:00 -0000	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

On 12/21/2012 03:54 PM, Gene Smith wrote:
> Unfortunately, some of the source file names are now so long that they
> don't fit in the box in the top upper left of the main window. Is there
> a way to make that box wide enough so accommodate the longest file name
> automatically? (This would require that the middle box containing
> function names to automatically become smaller, however, I never use
> this box anyhow.)

That is a possibility. A nicer (and more costly implementation) would be 
to decide upon some sort of heuristic for displaying very long names, 
e.g, display the last N characters of the filename preceded by "..." and 
then use hover balloons to display the full filename if the user hovers 
over it. [That last bit is probably slightly tricky.]

The code to fill the combobox is in srcwin.itb, SrcWin::fillNameCB.

> But I have no clue where in the code (tk/tcl?) this is determined

These are in srcwin.itb. Look for the combobox::combobox calls for 
$ and $_statbar.func in SrcWin::_build_win.

> I can scroll the file name box content (only when dropped down) but it
> is somewhat awkward and it forces you to always select something.

Hmm. On Linux at least, hitting escape or clicking outside the bounds of 
the combobox will cancel the drop down. Does it not do this for you? 
[What host/Tcl version?]

> There is also a function browser window that does allow you to see a wider
> view of the filename list, but I don't see a way for the selected file
> there to instantly appear in the main window, only in its own file
> viewer window.

Adding an item to open in the main source window should be doable (and 
relatively easy).


      reply	other threads:[~2013-01-11 19:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-21 23:54 Gene Smith
2013-01-11 19:34 ` Keith Seitz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).