|
|
|
|
|
| Description |
ScrolledWindow is a container that adds scroll bars to its child
- Some widgets have native scrolling support, in which case the scrolling action
is performed by the child itself (e.g. a TreeView widget does this by only
moving the table part and not the titles of a table). If a widget does
not support native scrolling it can be put into a ScrolledWindow widget.
|
|
| Synopsis |
|
|
|
| Documentation |
|
| scrolledWindowNew :: Maybe Adjustment -> Maybe Adjustment -> IO ScrolledWindow |
| Create a new ScrolledWindow.
|
|
| scrolledWindowGetHAdjustment :: ScrolledWindowClass w => w -> IO Adjustment |
| Retrieve the horizontal Adjustment of the ScrolledWindow.
|
|
| scrolledWindowGetVAdjustment :: ScrolledWindowClass w => w -> IO Adjustment |
| Retrieve the vertical Adjustment of the ScrolledWindow.
|
|
| data PolicyType |
| Scrollbar policy types (for scrolled windows)
| | Constructors | | PolicyAlways | | | PolicyAutomatic | | | PolicyNever | |
| | Instances | |
|
|
| scrolledWindowSetPolicy :: ScrolledWindowClass w => w -> PolicyType -> PolicyType -> IO () |
| Specify if the scrollbars should vanish if the child size is sufficiently
small.
|
|
| scrolledWindowGetPolicy :: ScrolledWindowClass w => w -> IO (PolicyType, PolicyType) |
| Retrieves the current policy values for the horizontal and vertical
scrollbars.
|
|
| scrolledWindowAddWithViewport :: (ScrolledWindowClass w, WidgetClass wid) => w -> wid -> IO () |
| Add a child widget without native scrolling support to this
ScrolledWindow.
|
|
| data CornerType |
| specifies in which corner a child widget should be placed
| | Constructors | | CornerTopLeft | | | CornerBottomLeft | | | CornerTopRight | | | CornerBottomRight | |
| | Instances | |
|
|
| scrolledWindowSetPlacement :: ScrolledWindowClass w => w -> CornerType -> IO () |
| Specify where the scrollbars should be placed.
|
|
| scrolledWindowGetPlacement :: ScrolledWindowClass w => w -> IO CornerType |
| Gets the placement of the scrollbars for the scrolled window.
|
|
| data ShadowType |
| shadow types
| | Constructors | | ShadowNone | | | ShadowIn | | | ShadowOut | | | ShadowEtchedIn | | | ShadowEtchedOut | |
| | Instances | |
|
|
| scrolledWindowSetShadowType :: ScrolledWindowClass w => w -> ShadowType -> IO () |
| Specify if and how an outer frame should be drawn around the child.
|
|
| scrolledWindowGetShadowType :: ScrolledWindowClass w => w -> IO ShadowType |
| Gets the shadow type of the scrolled window.
|
|
| scrolledWindowSetHAdjustment :: ScrolledWindowClass w => w -> Adjustment -> IO () |
| Set the horizontal Adjustment of the ScrolledWindow.
|
|
| scrolledWindowSetVAdjustment :: ScrolledWindowClass w => w -> Adjustment -> IO () |
| Set the vertical Adjustment of the ScrolledWindow.
|
|
| Produced by Haddock version 0.6 |