Update of /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Abstract In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11239/gtk/Graphics/UI/Gtk/Abstract Modified Files: Bin.chs Box.chs ButtonBox.chs.pp Misc.chs Container.chs Paned.chs.pp Range.chs Scale.chs Widget.chs Log Message: various small changes: Trivial white space changes to better match the generated code. Minor documentation changes. Other trivial changes to better match the generated code. TreeModelSort.chs.pp: since GtkTreeModelSort implementes the GtkTreeModel interface, make TreeModelSort an instance of TreeModelClass. ImageMenuItem.chs: relicense to LGPL with permission of Jonas Svensson. Index: Range.chs =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Abstract/Range.chs,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- Range.chs 25 Feb 2005 01:11:31 -0000 1.3 +++ Range.chs 25 Feb 2005 22:53:41 -0000 1.4 @@ -24,12 +24,14 @@ -- Stability : provisional -- Portability : portable (depends on GHC) -- --- An abstract base class to handle widgets that represent some value range. --- --- * For signals regarding a change in the range or increments, refer to --- 'Adjustment' which is contained in the 'Range' object. +-- Base class for widgets which visualize an 'Adjustment' -- module Graphics.UI.Gtk.Abstract.Range ( +-- * Description +-- +-- | For signals regarding a change in the range or increments, refer to +-- 'Adjustment' which is contained in the 'Range' object. + -- * Class Hierarchy -- | -- @ @@ -63,6 +65,8 @@ rangeSetRange, rangeSetValue, rangeGetValue, + +-- * Signals onMoveSlider, afterMoveSlider ) where Index: Bin.chs =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Abstract/Bin.chs,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- Bin.chs 25 Feb 2005 01:11:31 -0000 1.3 +++ Bin.chs 25 Feb 2005 22:53:40 -0000 1.4 @@ -68,7 +68,6 @@ ) where import System.Glib.FFI - import Graphics.UI.Gtk.Abstract.Object (makeNewObject) {#import Graphics.UI.Gtk.Types#} Index: Box.chs =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Abstract/Box.chs,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- Box.chs 25 Feb 2005 01:11:31 -0000 1.3 +++ Box.chs 25 Feb 2005 22:53:40 -0000 1.4 @@ -108,9 +108,8 @@ ) where import Monad (liftM) -import System.Glib.FFI - +import System.Glib.FFI import Graphics.UI.Gtk.Abstract.Object (makeNewObject) {#import Graphics.UI.Gtk.Types#} {#import Graphics.UI.Gtk.Signals#} Index: ButtonBox.chs.pp =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Abstract/ButtonBox.chs.pp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- ButtonBox.chs.pp 25 Feb 2005 01:11:31 -0000 1.2 +++ ButtonBox.chs.pp 25 Feb 2005 22:53:40 -0000 1.3 @@ -75,13 +75,11 @@ ) where import Monad (liftM) -import System.Glib.FFI - +import System.Glib.FFI import Graphics.UI.Gtk.Abstract.Object (makeNewObject) {#import Graphics.UI.Gtk.Types#} {#import Graphics.UI.Gtk.Signals#} - import Graphics.UI.Gtk.General.Enums (ButtonBoxStyle) {# context lib="gtk" prefix="gtk" #} Index: Misc.chs =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Abstract/Misc.chs,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- Misc.chs 25 Feb 2005 01:11:31 -0000 1.3 +++ Misc.chs 25 Feb 2005 22:53:40 -0000 1.4 @@ -66,9 +66,8 @@ ) where import Monad (liftM) -import System.Glib.FFI - +import System.Glib.FFI {#import Graphics.UI.Gtk.Types#} {#import Graphics.UI.Gtk.Signals#} Index: Widget.chs =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Abstract/Widget.chs,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- Widget.chs 25 Feb 2005 01:11:31 -0000 1.3 +++ Widget.chs 25 Feb 2005 22:53:41 -0000 1.4 @@ -43,7 +43,7 @@ -- Portability : portable (depends on GHC) -- -- Base class for all widgets --- +-- module Graphics.UI.Gtk.Abstract.Widget ( -- * Description -- @@ -81,6 +81,8 @@ Allocation, Requisition(..), Rectangle(..), + +-- * Methods widgetGetState, widgetGetSavedState, widgetShow, -- Showing and hiding a widget. @@ -108,6 +110,8 @@ widgetGetDirection, -- widgetLockAccelerators, -- widgetUnlockAccelerators, + +-- * Signals Event(..), onButtonPress, afterButtonPress, Index: Paned.chs.pp =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Abstract/Paned.chs.pp,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- Paned.chs.pp 25 Feb 2005 01:11:31 -0000 1.3 +++ Paned.chs.pp 25 Feb 2005 22:53:41 -0000 1.4 @@ -24,9 +24,7 @@ -- Stability : provisional -- Portability : portable (depends on GHC) -- --- This abstract widget provides a division line with a handle that can be --- used by the user to divide the given space between two widgets. The two --- concrete implementations are HPaned and VPaned. +-- Base class for widgets with two adjustable panes -- module Graphics.UI.Gtk.Abstract.Paned ( -- * Description Index: Container.chs =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Abstract/Container.chs,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- Container.chs 25 Feb 2005 01:11:31 -0000 1.3 +++ Container.chs 25 Feb 2005 22:53:40 -0000 1.4 @@ -102,10 +102,8 @@ -- rather to their relation. Typical examples of child properties are the -- position or pack-type of a widget which is contained in a 'Box'. -- --- To set the value of a child property, use 'containerChildSetProperty', --- 'containerChildSet' or 'containerChildSetValist'. To obtain the value of a --- child property, use 'containerChildGetProperty', 'containerChildGet' or --- 'containerChildGetValist'. +-- To set the value of a child property, use 'containerChildSetProperty'. +-- To obtain the value of a child property, use 'containerChildGetProperty'. -- -- * Class Hierarchy @@ -181,7 +179,6 @@ {#import System.Glib.GValue#} (GValue, GenericValue, valueUnset) import Graphics.UI.Gtk.General.Enums (DirectionType(..)) - {# context lib="gtk" prefix="gtk" #} -------------------- Index: Scale.chs =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Abstract/Scale.chs,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- Scale.chs 25 Feb 2005 01:11:31 -0000 1.3 +++ Scale.chs 25 Feb 2005 22:53:41 -0000 1.4 @@ -24,8 +24,8 @@ -- Stability : provisional -- Portability : portable (depends on GHC) -- --- This is the abstract base class for HScale and VScale. It implements the --- management of an adjustable value. +-- This is the abstract base class for 'HScale' and 'VScale'. It implements +-- the management of an adjustable value. -- module Graphics.UI.Gtk.Abstract.Scale ( -- * Description @@ -34,7 +34,7 @@ -- you'll probably want to investigate the methods on its base class, 'Range', -- in addition to the methods for 'Scale' itself. To set the value of a scale, -- you would normally use 'rangeSetValue'. To detect changes to the value, you --- would normally use the 'onValueVhanged' signal. +-- would normally use the 'onValueChanged' signal. -- -- The 'Scale' widget is an abstract class, used only for deriving the -- subclasses 'HScale' and 'VScale'. To create a scale widget, call |