From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13238 invoked by alias); 11 Jan 2013 19:34:07 -0000 Received: (qmail 13182 invoked by uid 22791); 11 Jan 2013 19:34:05 -0000 X-SWARE-Spam-Status: No, hits=-7.0 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 11 Jan 2013 19:34:01 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r0BJXwK0001955 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 11 Jan 2013 14:33:58 -0500 Received: from valrhona.uglyboxes.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id r0BJXv37003839 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 11 Jan 2013 14:33:58 -0500 Message-ID: <50F06925.9050701@redhat.com> Date: Fri, 11 Jan 2013 19:34:00 -0000 From: Keith Seitz User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0 MIME-Version: 1.0 To: Gene Smith CC: insight@sourceware.org Subject: Re: GUI configuration changes (How to?) References: <50D4F6C2.9050500@chartertn.net> In-Reply-To: <50D4F6C2.9050500@chartertn.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2013-q1/txt/msg00006.txt.bz2 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 $_statbar.name 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). Keith