T.R | Title | User | Personal Name | Date | Lines |
---|
1171.1 | | CB750C::BOLGATZ | | Tue Jul 25 1989 16:46 | 9 |
| DwtNspacing and DwtNmarginHeight listbox attributes are passed directly
to the listbox menu (a listbox is simply a scroll window with a menu
for its work area). The reason there is still a fair amount of space
between the entries is because each entry is a separate gadget. And
pushbutton gadgets do not support marginHeight. Therefore, for V2
atleast, what you see is what you get...
Jay
|
1171.2 | | SMAUG::FLOWERS | IBM Interconnect Eng. 226-7716 | Wed Jul 26 1989 09:38 | 5 |
| Wow. >10,000 lines in one listbox? Have you checked out the Vlist widget?
It would let you display entries across also...just a thought.
Dan
|
1171.3 | 10,000 lines seems a bit much for a listbox... | JER::HARROW | POSIX what? | Wed Jul 26 1989 09:52 | 13 |
| Another thought might be to check out the SVN widget (press KP7 to add the
conferece to you notebook). It might be applicable because it has a couple
nice navigation aids: an index window during scrolling, and you set special
indexed entries that you can jump to using an additional pair of scroll buttons.
I would think that the overhead for SVN would be less than having the 10,000
gadgets that the list box is going to create.
If your 10,000 entries have any type of hierarchy then I would strongly
recommend that you take a look at SVN.
-Jer
|
1171.4 | | LEOVAX::TREGGIARI | | Wed Jul 26 1989 10:33 | 13 |
| > I would think that the overhead for SVN would be less than having the 10,000
> gadgets that the list box is going to create.
The list box only creates enough gadgets for the number of *visible* entries.
It changes the labels of these gadgets as needed when you scroll.
> If your 10,000 entries have any type of hierarchy then I would strongly
> recommend that you take a look at SVN.
I agree.
Leo
|
1171.5 | What about patents & Motif?? | SKYLRK::LOSCHEN | | Wed Jul 26 1989 13:02 | 12 |
| After reading the documentation for the SVN widget it sounds like it
would be a much better solution. However, I also saw a note about a
possible patent on the thing, and not to mention it to anyone outside
DEC. The date on the note was early 1988. Is it still true? Any
chance of Motiff including it? The customer I am working with will
host the software on many platforms and has decided to use Motif - any
suggestions???
Thanks again,
Brent
|
1171.6 | | SKYLRK::LOSCHEN | | Wed Jul 26 1989 13:18 | 10 |
| I should have put this in .5, but I forgot. Regarding .2, what is a
vlist widget? I saw the documentation on the viewport and vpaned
widget, but not a vlist. Also, what type of widget does bookreader
use? I like the way the viewing area shrinks and scrolls a much smaller
window. That would work well for my > 10,000 list.
Brent
|
1171.7 | SVN = internal only | R2ME2::GRASS | Steve Grass | Wed Jul 26 1989 13:44 | 6 |
| SVN is STILL an internal-only widget (along with GObE and NetEd). We are
formulating a plan for the distribution of these widgets to customers, but for
now, they're for the use of DEC products only.
steve
|
1171.8 | Where to find the VList widget | DECWIN::KLEIN | | Wed Jul 26 1989 16:30 | 10 |
| See ELKTRA::DW_EXAMPLES, note 50 for the VList widget. This widget is
available in source form and may be given to customers (with the appropriate
"this is now yours" message). I have a variant of the VList widget that
was optimized for very large (> 1000) lists and avoids sequential scans
through the list (at the expense of a limited add/remove entry capability).
Take a look at the sample program provided with the widget sources.
-steve-
|
1171.9 | Bookreader slider? | SKYLRK::LOSCHEN | | Thu Jul 27 1989 13:38 | 12 |
| I would like to thank everyone who gave me pointers and suggestions. I
now have several possible solutions. I will code them up and let the
customer decide which is best.
I am still curious to know what bookreader uses to make that slider
shrinke the size of the scroll window down to a few lines for rapid
navigation through the list. Can anyone enlighten me?
Thanks again,
Brent
|