2
-- GIMP Toolkit (GTK) Widget Scrollbar
6
-- Created: 15 May 2001
8
-- Version $Revision: 1.5 $ from $Date: 2005/10/19 12:57:36 $
10
-- Copyright (C) 1999-2005 Axel Simon
12
-- This library is free software; you can redistribute it and/or
13
-- modify it under the terms of the GNU Lesser General Public
14
-- License as published by the Free Software Foundation; either
15
-- version 2.1 of the License, or (at your option) any later version.
17
-- This library is distributed in the hope that it will be useful,
18
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
19
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20
-- Lesser General Public License for more details.
23
-- Maintainer : gtk2hs-users@lists.sourceforge.net
24
-- Stability : provisional
25
-- Portability : portable (depends on GHC)
27
-- Base class for 'HScrollbar' and 'VScrollbar'
29
module Graphics.UI.Gtk.Abstract.Scrollbar (
32
-- | The 'Scrollbar' widget is an abstract base class for 'HScrollbar' and
33
-- 'VScrollbar'. It is not very useful in itself.
35
-- The position of the thumb in a scrollbar is controlled by the scroll
36
-- adjustments. See 'Adjustment' for the fields in an adjustment - for
37
-- 'Scrollbar', the \"value\" field represents the position of the scrollbar,
38
-- which must be between the \"lower\" field and \"upper - page_size.\" The
39
-- \"page_size\" field represents the size of the visible scrollable area. The
40
-- \"step_increment\" and \"page_increment\" fields are used when the user asks
41
-- to step down (using the small stepper arrows) or page down (using for
42
-- example the PageDown key).
52
-- | +----'HScrollbar'
53
-- | +----'VScrollbar'
63
import Graphics.UI.Gtk.Types (Scrollbar, ScrollbarClass,
64
castToScrollbar, toScrollbar)