|
Graphics.UI.Gtk.Misc.Viewport | Portability | portable (depends on GHC) | Stability | provisional | Maintainer | gtk2hs-users@lists.sourceforge.net |
|
|
|
|
|
Description |
An adapter which makes widgets scrollable
|
|
Synopsis |
|
|
|
|
Detail
|
|
A Viewport is 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.
|
|
Class Hierarchy
|
|
| GObject
| +----Object
| +----Widget
| +----Container
| +----Bin
| +----Viewport
|
|
Types
|
|
data Viewport |
Instances | |
|
|
class BinClass o => ViewportClass o |
| Instances | |
|
|
castToViewport :: GObjectClass obj => obj -> Viewport |
|
Constructors
|
|
viewportNew |
|
|
Methods
|
|
viewportGetHAdjustment :: ViewportClass self => self -> IO Adjustment |
Returns the horizontal adjustment of the viewport.
|
|
viewportGetVAdjustment :: ViewportClass self => self -> IO Adjustment |
Returns the vertical adjustment of the viewport.
|
|
viewportSetHAdjustment :: ViewportClass self => self -> Adjustment -> IO () |
Sets the horizontal adjustment of the viewport.
|
|
viewportSetVAdjustment :: ViewportClass self => self -> Adjustment -> IO () |
Sets the vertical adjustment of the viewport.
|
|
data ShadowType |
Shadow types
| Constructors | ShadowNone | | ShadowIn | | ShadowOut | | ShadowEtchedIn | | ShadowEtchedOut | |
| Instances | |
|
|
viewportSetShadowType |
|
|
viewportGetShadowType |
|
|
Attributes
|
|
viewportHAdjustment :: ViewportClass self => Attr self Adjustment |
The Adjustment that determines the values of the horizontal position
for this viewport.
|
|
viewportVAdjustment :: ViewportClass self => Attr self Adjustment |
The Adjustment that determines the values of the vertical position for
this viewport.
|
|
viewportShadowType :: ViewportClass self => Attr self ShadowType |
Determines how the shadowed box around the viewport is drawn.
Default value: ShadowIn
|
|
Produced by Haddock version 0.7 |