FXScrollWindow

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.


FXScrollWindow(p, opts=0, x=0, y=0, w=0, h=0)

Construct a scroll window.

ArgumentTypeDefaultDescription
pFXComposite  
optsInt0 
xInt0 
yInt0 
wInt0 
hInt0 


contentWindow()

Return a pointer to the contents window.


create()

Create server-side resources.

Reimplemented from FXComposite.


getContentHeight()

Return the height of the contents.

Reimplemented from FXScrollArea.

Reimplemented in AFXOptionTreeList.


getContentWidth()

Return the width of the contents.

Reimplemented from FXScrollArea.

Reimplemented in AFXOptionTreeList.


moveContents(x, y)

Move contents to the specified position.

Reimplemented from FXScrollArea.

Reimplemented in AFXOptionTreeList.

ArgumentTypeDefaultDescription
xInt  
yInt