[comp.windows.interviews] Scrolling in 3.0

fox@allegra.att.com (David Fox) (05/14/91)

I could probably figure this out if I studied the manual pages a lot
more, but since I don't have enough time now and I could really use this
right away I thought just this once ... could someone show me how
to attach scrollbars to an image in 3.0 so you can use the scrollbars
to make different portions of the image visible?  Thanks.

-david

(Here is a gift to repay your tolerance:)

Interviews 3.0 class heirarchy, more or less:

          +- Action --------------------+- ActionCallback (macro)
          |                             +- Macro
          |- BevelStyle -+- Flat
          |- Bitmap      |- Inset
          |- Brush       +- Outset
          |- Color
          |- Font --------- PSFont
          |                          
          |              +- Aggregate      +- LRBox
          |              |- Box -----------+- Overlay
          |              |- Character      +- TBBox
          |              |- Deck
          |              |- Discretionary
          |              |- Glue ----------+- HGlue
          |              |- Group          +- VGlue
          |              |- HStrut
          |              |- Image          +- Background
          |              |                 |- Bevel
Resource -|--- Glyph ----|                 |- Border          
          |              |                 |- Button (+Handler)   +- VCenter 
          |              |- Label          |- Center -------------+- HCenter
          |              |                 |
          |              |                 |- Telltale----------- ChoiceItem ---- CheckItem
          |              |                 |
          |              |- MonoGlyph -----|- Composition -----+- LRComposition
          |              |- Page           |- FixedSpan        +- TBComposition
          |              |                 |- HScrollBar
          |              |                 |- LRMarker         +- BMargin
          |              |                 |- Listener         |- HMargin
          |              |                 |- Margin ----------|- LMargin
          |              |                 |                   |- RMargin
          |              |                 |                   |- TMargin
          |              |                 |                   +- VMargin
          |              |                 |
          |              |                 |- Menu (+Handler) --+- DecoratingMenu -+- MenuBar
          |              |                 |- Patch                                +- Pulldown
          |              |                 |- Shadow
          |              |                 |- Target
          |              |                 |- TransformSetter
          |              |                 +- XYMarker         
          |              |
          |              |- Rule ----------+- HRule
          |              |- ShapeOf        +- VRule
          |              |- Space
          |              |- Stencil
          |              |- Strut  
          |              +- VStrut
          |               
          |
          |- Handler ------- PointerHandler
          |- Pattern
          |- Raster     
          |- Sensor                       +- LeftMover
          +- Transformer                  |- RightMover
                                          |- UpMover
Adjuster -----+- Mover (+MonoGlyph) ------+- DownMover
              |- Panner (+Handler, Listener)
              +- Scroller (+Listener, PointerHandler) -+- HScroller
                                                       +- VScroller
                              +- ApplicationWindow
                              |- IconWIndow
          +- ManagedWindow ---+- TopLevelWindow -----+- TransientWindow
Window ---+- PopupWindow

Compositor -+- ArrayCompositor
            |- SimpleCompositor
            +- TeXCompositor

Canvas ---+- Offscreen
          +- Printer

Layout ---+- Align
          |- Superpose
          |- Tile
          +- TileReversed

Allocation
Allotment
Cursor
DefaultProperties
Event
Extension
FontFamily
Hit
HitIterator
OptionDesc
PropertyData
PropertyDef
PropertySheet
Regexp
ReqErr
Requirement
Requisition
World
Adjustable

calder@uluru.stanford.edu (Paul Calder) (05/16/91)

David Fox asks ...

    could someone show me how to attach scrollbars to an image in 3.0

There is currently a dearth of glyph-based Interactor-like components.
Unfortunately for David, scrollbars fall into that category.  We are
working to rectify the situation. (The directory IV-look contains the
beginnings of our efforts.)

Thanks, David, for the gift.  Hope we can repay *you* soon.

Paul.
--
Paul Calder
Computer Systems Lab
Stanford University
calder@lurch.stanford.edu