Name

Viewport —

A Viewport a helper widget that adds Adjustment slots to a widget, i.e. the widget becomes scrollable. It can then be put into ScrolledWindow and will behave as expected.

Synopsis

viewportNew:: Adjustment -> Adjustment -> IO Viewport
viewportGetHAdjustment:: ViewportClass v => v -> IO Adjustment
viewportGetVAdjustment:: ViewportClass v => v -> IO Adjustment
viewportSetHAdjustment:: ViewportClass v => v -> Adjustment -> IO ()
viewportSetShadowType:: ViewportClass v => v -> ShadowType -> IO ()
viewportSetVAdjustment:: ViewportClass v => v -> Adjustment -> IO ()

Introduction

The binding of this widget is superfluous as far as I can tell.

The only signal this widget registers is "set-scroll-adjustments". It is not bound because it is meant to be received by the Viewport and sent by ScrolledWindow.

Constructors

viewportNew

Create a new Viewport.

viewportNew:: Adjustment:: Adjustment:: IO Viewport
vAdjhAdj

Methods

viewportGetHAdjustment

Retrieve the horizontal Adjustment of the Viewport.

viewportGetHAdjustment:: v:: IO Adjustment
v

viewportGetVAdjustment

Retrieve the vertical Adjustment of the Viewport.

viewportGetVAdjustment:: v:: IO Adjustment
v

viewportSetHAdjustment

Set the horizontal Adjustment of the Viewport.

viewportSetHAdjustment:: v:: Adjustment:: IO ()
vadj

viewportSetShadowType

Specify if and how an outer frame should be drawn around the child.

viewportSetShadowType:: v:: ShadowType:: IO ()
vst

viewportSetVAdjustment

Set the vertical Adjustment of the Viewport.

viewportSetVAdjustment:: v:: Adjustment:: IO ()
vadj