ShowFrame(3X) manual page
Table of Contents
ShowFrame - IVFrame classes that respond to enter and leave events
There is no corresponding Motif widget for this interactor. It may
not be suitable for Motif user interface design. See Frame(3X)
with a BevelType
of BevelHighlight as a possible replacement.
#include <ivplus/frame.h>
ShowFrame is an IVFrame subclass that outlines another interactor
based on enter and leave events. There are two classes derived from ShowFrame:
TitleFrame and BorderFrame.
ShowFrame is an abstract base class.
ShowFrame->IVFrame->Interactor
Construct a showframe.
Since ShowFrame is an abstract base class, these constructors are protected.
If the given interactor is not nil, it is inserted as the showframe’s component.
The showframe extends width pixels outside of the interactor.
This constructor is used by subclasses
to explicitly set the width of each line in the outline. The integers specify
the width of the left, bottom, right, and top lines, respectively.
Showframes listen for enter and leave
events. By default the Handle() operation checks the events. When an EnterEvent
is received, InsideFrame(true) is called. When a LeaveEvent is received,
InsideFrame(false) is called. If any other event is received, it is passed
on to HandleInput() and in turn calls Handle() on the frame’s components.
Calls the Handle() operation for all components
contained inside the show frame. This operation only gets called if the
event is not an EnterEvent or LeaveEvent.
The
showframe implementation of InsideFrame() does nothing. It is meant to
be re-defined in derived classes.
Calculates
the shape of the frame based on the size of the interactor that it contains.
Draws the frame using the given coordinates.
None.
There is no example for this abstract base class. See BorderFrame(3X)
and TitleFrame(3X)
for examples.
frame.h
frame.C
BorderFrame(3X)
, Event(3X)
, Frame(3X)
, Interactor(3X)
, IVFrame(3X)
,
MarginFrame(3X)
, Scene(3X)
, ShadowFrame(3X)
, TitleFrame(3X)
.
Table of Contents