[Tutor] : finding out if the horizontal scrollbar on a Tix.CheckList is being used or not

Michael Lange klappnase at freenet.de
Fri Jul 21 11:40:38 CEST 2006


On Fri, 21 Jul 2006 03:02:30 -0400
Orri Ganel <singingxduck at gmail.com> wrote:

> Hello all,
> 
> I'm working on the GUI for my extended iTunes search, which allows 
> searches far beyond the native iTunes capability.  Once the search has 
> been completed, a window contining a Tix.CheckList with the resulting 
> tracks is displayed.  If anyone has any idea how to figure out whether 
> or not the horizontal scrollbar is visible (ie if the length of the 
> track name extends beyond the width of the CheckList) programmatically, 
> I'd be extremely grateful :-).
> 

Hi Orri,

how about check_list.hsb.get() ?
I think in case it is != (0.0, 1.0) the scrollbar should be visible.

I hope this helps

Michael


More information about the Tutor mailing list