>From [EMAIL PROTECTED] Wed May 3 11:52:41 2000
Received: (qmail 19040 invoked from network); 3 May 2000 18:52:36 -0000
Resent-From: [EMAIL PROTECTED]
Date: Wed, 3 May 2000 11:51:50 -0400
From: Alex Yukhimets <[EMAIL PROTECTED]>
To: Danny Backx <[EMAIL PROTECTED]>
Subject: Re: resize columns from button labels
Message-ID: <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
References: <0353F391038820B4*/c=be/admd=isa/prmd=kb/o=KBMI/s=U27113/@MHS>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
User-Agent: Mutt/1.0.1i
In-Reply-To: <0353F391038820B4*/c=be/admd=isa/prmd=kb/o=KBMI/s=U27113/@MHS>; from
[EMAIL PROTECTED] on Wed, May 03, 2000 at 04:32:34PM +0200
Resent-Date: Wed, 3 May 2000 14:52:12 -0400
Resent-To: [EMAIL PROTECTED]
Resent-Message-Id: <E12n4Fo-0001E4-00@jessica>
X-Filter: ezmlm-reject hungry.com
On Wed, May 03, 2000 at 04:32:34PM +0200, Danny Backx wrote:
> Let me rephrase.
>
> I see two possible solutions, with different consequences.
>
> 1. create a widget per separator between row and column labels
> -> many widgets
Bad solution.
> 2. change the events that the widget is interested in
> (so you can track pointer movement one some part of the window)
> -> get more network traffic (if you're on a network) at run time
Not really. Moving a mouse across a widget would generate only a handful
of events. But if you put a single clipping widget over ALL headers and
track mouse motion only in this widget - there would be even less. In fact,
no noticable performace degrade whatsoever (unless one would intentionally
move pointer very fast across the labels back and forth - but even then
user would not notice anything - as no visual feedback is expected).
> P.S. Which performance problem with XbaeMatrix were you trying to avoid when writing
>XmAxyList ?
Ever tried scrolling (or repopulating, resizing, etc.) the matrix with 80 rows
(and about 15 of them visible) on 486 ? :) Even on PII-300 the difference
in performance is noticable between XbaeMatrix and XmAxyList.
Plus, the code is big and there is no way to turn off many features one does
not need (when compiling it statically into the application).
Thanks,
Alex Y.
--
_
_( )_
( (o___ +-------------------------------------------+
| _ 7 | Alexander Yukhimets |
\ (") | http://pages.nyu.edu/~aqy6633/ |
/ \ \ +-------------------------------------------+