Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FXScrollWindow Class Reference

#include <FXScrollWindow.h>

Inheritance diagram for FXScrollWindow:

FXScrollArea FXComposite FXWindow FXDrawable FXId FXObject List of all members.

Public Methods

 FXScrollWindow (FXComposite *p, FXuint opts=0, FXint x=0, FXint y=0, FXint w=0, FXint h=0)
 Construct a scroll window.

FXWindowcontentWindow () const
 Return a pointer to the contents window.

virtual FXint getContentWidth ()
 Return the width of the contents.

virtual FXint getContentHeight ()
 Return the height of the contents.

virtual void moveContents (FXint x, FXint y)
 Move contents to the specified position.


Detailed Description

The scroll window widget scrolls an arbitrary child window. Use the scroll window when parts of the user interface itself need to be scrolled, for example when applications need to run on small screens.