From: Duncan C. <dun...@us...> - 2005-02-12 17:20:06
|
Update of /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Misc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16797/gtk/Graphics/UI/Gtk/Misc Modified Files: Adjustment.chs Calendar.chs.pp DrawingArea.chs EventBox.chs.pp GArrow.chs HandleBox.chs SizeGroup.chs Tooltips.chs.pp Viewport.chs Log Message: For all gtk modules: tidy up module headers and re-licence from GPL to LGPL 2.1 Also add haddock maintainer, stability and portability fields. Index: DrawingArea.chs =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Misc/DrawingArea.chs,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- DrawingArea.chs 8 Jan 2005 15:28:02 -0000 1.1 +++ DrawingArea.chs 12 Feb 2005 17:19:23 -0000 1.2 @@ -2,24 +2,27 @@ -- GIMP Toolkit (GTK) Widget DrawingArea -- -- Author : Axel Simon --- +-- -- Created: 22 September 2002 -- -- Version $Revision$ from $Date$ -- --- Copyright (c) 1999..2002 Axel Simon +-- Copyright (C) 1999-2005 Axel Simon -- --- This file is free software; you can redistribute it and/or modify --- it under the terms of the GNU General Public License as published by --- the Free Software Foundation; either version 2 of the License, or --- (at your option) any later version. +-- This library is free software; you can redistribute it and/or +-- modify it under the terms of the GNU Lesser General Public +-- License as published by the Free Software Foundation; either +-- version 2.1 of the License, or (at your option) any later version. -- --- This file is distributed in the hope that it will be useful, +-- This library is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of --- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the --- GNU General Public License for more details. +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +-- Lesser General Public License for more details. -- -- | +-- Maintainer : gtk...@li... +-- Stability : provisional +-- Portability : portable (depends on GHC) -- -- A user-defined widget. -- Index: HandleBox.chs =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Misc/HandleBox.chs,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- HandleBox.chs 8 Jan 2005 15:28:02 -0000 1.1 +++ HandleBox.chs 12 Feb 2005 17:19:24 -0000 1.2 @@ -2,24 +2,27 @@ -- GIMP Toolkit (GTK) Widget HandleBox -- -- Author : Axel Simon --- +-- -- Created: 23 May 2001 -- -- Version $Revision$ from $Date$ -- --- Copyright (c) 1999..2002 Axel Simon +-- Copyright (C) 1999-2005 Axel Simon -- --- This file is free software; you can redistribute it and/or modify --- it under the terms of the GNU General Public License as published by --- the Free Software Foundation; either version 2 of the License, or --- (at your option) any later version. +-- This library is free software; you can redistribute it and/or +-- modify it under the terms of the GNU Lesser General Public +-- License as published by the Free Software Foundation; either +-- version 2.1 of the License, or (at your option) any later version. -- --- This file is distributed in the hope that it will be useful, +-- This library is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of --- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the --- GNU General Public License for more details. +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +-- Lesser General Public License for more details. -- -- | +-- Maintainer : gtk...@li... +-- Stability : provisional +-- Portability : portable (depends on GHC) -- -- Add a handle to some other widget so that it can be detached and -- reattached from the main application. @@ -43,7 +46,6 @@ -- will remain fixed as the height of the handlebox shrinks, so the snap -- edge should be set to 'PosBottom'. -- - module Graphics.UI.Gtk.Misc.HandleBox ( HandleBox, HandleBoxClass, Index: Adjustment.chs =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Misc/Adjustment.chs,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Adjustment.chs 8 Jan 2005 15:28:02 -0000 1.1 +++ Adjustment.chs 12 Feb 2005 17:19:23 -0000 1.2 @@ -2,30 +2,34 @@ -- GIMP Toolkit (GTK) Widget Adjustment -- -- Author : Axel Simon --- +-- -- Created: 23 May 2001 -- -- Version $Revision$ from $Date$ -- --- Copyright (c) 1999..2002 Axel Simon +-- Copyright (C) 1999-2005 Axel Simon -- --- This file is free software; you can redistribute it and/or modify --- it under the terms of the GNU General Public License as published by --- the Free Software Foundation; either version 2 of the License, or --- (at your option) any later version. +-- This library is free software; you can redistribute it and/or +-- modify it under the terms of the GNU Lesser General Public +-- License as published by the Free Software Foundation; either +-- version 2.1 of the License, or (at your option) any later version. -- --- This file is distributed in the hope that it will be useful, +-- This library is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of --- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the --- GNU General Public License for more details. +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +-- Lesser General Public License for more details. -- --- | An adjustment is a bounded value controlled by the user. +-- | +-- Maintainer : gtk...@li... +-- Stability : provisional +-- Portability : portable (depends on GHC) +-- +-- An adjustment is a bounded value controlled by the user. -- -- An Adjustment object contains a value with maximum bounds and a step size. -- It is used to represent the value of a scoll bar and similar widgets. In -- particular it is contained in the abstract 'Range' widget. -- - module Graphics.UI.Gtk.Misc.Adjustment ( Adjustment, AdjustmentClass, Index: EventBox.chs.pp =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Misc/EventBox.chs.pp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- EventBox.chs.pp 8 Jan 2005 15:27:48 -0000 1.1 +++ EventBox.chs.pp 12 Feb 2005 17:19:24 -0000 1.2 @@ -2,31 +2,29 @@ -- GIMP Toolkit (GTK) Widget EventBox -- -- Author : Axel Simon --- +-- -- Created: 23 May 2001 -- -- Version $Revision$ from $Date$ -- --- Copyright (c) 1999..2002 Axel Simon +-- Copyright (C) 1999-2005 Axel Simon -- --- This file is free software; you can redistribute it and/or modify --- it under the terms of the GNU General Public License as published by --- the Free Software Foundation; either version 2 of the License, or --- (at your option) any later version. +-- This library is free software; you can redistribute it and/or +-- modify it under the terms of the GNU Lesser General Public +-- License as published by the Free Software Foundation; either +-- version 2.1 of the License, or (at your option) any later version. -- --- This file is distributed in the hope that it will be useful, +-- This library is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of --- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the --- GNU General Public License for more details. +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +-- Lesser General Public License for more details. -- -- | +-- Maintainer : gtk...@li... +-- Stability : provisional +-- Portability : portable (depends on GHC) -- --- This container can be used to receive 'Event's for a widget --- that has no window on its own. --- --- TODO --- --- * check: Is this widget useful? +-- A widget used to catch events for widgets which do not have their own window. -- module Graphics.UI.Gtk.Misc.EventBox ( EventBox, Index: Tooltips.chs.pp =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Misc/Tooltips.chs.pp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Tooltips.chs.pp 8 Jan 2005 15:27:48 -0000 1.1 +++ Tooltips.chs.pp 12 Feb 2005 17:19:24 -0000 1.2 @@ -2,24 +2,27 @@ -- GIMP Toolkit (GTK) Widget Tooltips -- -- Author : Axel Simon --- +-- -- Created: 23 May 2001 -- -- Version $Revision$ from $Date$ -- --- Copyright (c) 1999..2002 Axel Simon +-- Copyright (C) 1999-2005 Axel Simon -- --- This file is free software; you can redistribute it and/or modify --- it under the terms of the GNU General Public License as published by --- the Free Software Foundation; either version 2 of the License, or --- (at your option) any later version. +-- This library is free software; you can redistribute it and/or +-- modify it under the terms of the GNU Lesser General Public +-- License as published by the Free Software Foundation; either +-- version 2.1 of the License, or (at your option) any later version. -- --- This file is distributed in the hope that it will be useful, +-- This library is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of --- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the --- GNU General Public License for more details. +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +-- Lesser General Public License for more details. -- -- | +-- Maintainer : gtk...@li... +-- Stability : provisional +-- Portability : portable (depends on GHC) -- -- Tooltips are the messages that appear next to a widget when the mouse -- pointer is held over it for a short amount of time. They are especially Index: Viewport.chs =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Misc/Viewport.chs,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Viewport.chs 8 Jan 2005 15:28:02 -0000 1.1 +++ Viewport.chs 12 Feb 2005 17:19:24 -0000 1.2 @@ -2,24 +2,27 @@ -- GIMP Toolkit (GTK) Widget Viewport -- -- Author : Axel Simon --- +-- -- Created: 23 May 2001 -- -- Version $Revision$ from $Date$ -- --- Copyright (c) 1999..2002 Axel Simon +-- Copyright (C) 1999-2005 Axel Simon -- --- This file is free software; you can redistribute it and/or modify --- it under the terms of the GNU General Public License as published by --- the Free Software Foundation; either version 2 of the License, or --- (at your option) any later version. +-- This library is free software; you can redistribute it and/or +-- modify it under the terms of the GNU Lesser General Public +-- License as published by the Free Software Foundation; either +-- version 2.1 of the License, or (at your option) any later version. -- --- This file is distributed in the hope that it will be useful, +-- This library is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of --- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the --- GNU General Public License for more details. +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +-- Lesser General Public License for more details. -- -- | +-- Maintainer : gtk...@li... +-- Stability : provisional +-- Portability : portable (depends on GHC) -- -- A 'Viewport' a helper widget that adds Adjustment slots to a -- widget, i.e. the widget becomes scrollable. It can then be put into @@ -31,7 +34,6 @@ -- not bound because it is meant to be received by the 'Viewport' -- and sent by 'ScrolledWindow'. -- - module Graphics.UI.Gtk.Misc.Viewport ( Viewport, ViewportClass, Index: Calendar.chs.pp =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Misc/Calendar.chs.pp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Calendar.chs.pp 8 Jan 2005 15:27:47 -0000 1.1 +++ Calendar.chs.pp 12 Feb 2005 17:19:23 -0000 1.2 @@ -2,26 +2,29 @@ -- GIMP Toolkit (GTK) Widget Calendar -- -- Author : Axel Simon --- +-- -- Created: 23 May 2001 -- -- Version $Revision$ from $Date$ -- --- Copyright (c) 1999..2002 Axel Simon +-- Copyright (C) 1999-2005 Axel Simon -- --- This file is free software; you can redistribute it and/or modify --- it under the terms of the GNU General Public License as published by --- the Free Software Foundation; either version 2 of the License, or --- (at your option) any later version. +-- This library is free software; you can redistribute it and/or +-- modify it under the terms of the GNU Lesser General Public +-- License as published by the Free Software Foundation; either +-- version 2.1 of the License, or (at your option) any later version. -- --- This file is distributed in the hope that it will be useful, +-- This library is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of --- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the --- GNU General Public License for more details. +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +-- Lesser General Public License for more details. -- -- | +-- Maintainer : gtk...@li... +-- Stability : provisional +-- Portability : portable (depends on GHC) -- --- This widget shows a calendar. +-- Display a calendar and\/or allow the user to select a date. -- module Graphics.UI.Gtk.Misc.Calendar ( Calendar, Index: GArrow.chs =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Misc/GArrow.chs,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- GArrow.chs 8 Jan 2005 15:28:02 -0000 1.1 +++ GArrow.chs 12 Feb 2005 17:19:24 -0000 1.2 @@ -2,24 +2,27 @@ -- GIMP Toolkit (GTK) Widget GArrow -- -- Author : Axel Simon --- +-- -- Created: 23 May 2001 -- -- Version $Revision$ from $Date$ -- --- Copyright (c) 1999..2002 Axel Simon +-- Copyright (C) 1999-2005 Axel Simon -- --- This file is free software; you can redistribute it and/or modify --- it under the terms of the GNU General Public License as published by --- the Free Software Foundation; either version 2 of the License, or --- (at your option) any later version. +-- This library is free software; you can redistribute it and/or +-- modify it under the terms of the GNU Lesser General Public +-- License as published by the Free Software Foundation; either +-- version 2.1 of the License, or (at your option) any later version. -- --- This file is distributed in the hope that it will be useful, +-- This library is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of --- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the --- GNU General Public License for more details. +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +-- Lesser General Public License for more details. -- -- | +-- Maintainer : gtk2hs-users\@lists.sourceforge.net +-- Stability : provisional +-- Portability : portable (depends on GHC) -- -- An Arrow pointing to one of the four cardinal direction. -- Index: SizeGroup.chs =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Misc/SizeGroup.chs,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- SizeGroup.chs 8 Jan 2005 15:28:02 -0000 1.1 +++ SizeGroup.chs 12 Feb 2005 17:19:24 -0000 1.2 @@ -1,31 +1,35 @@ -- -*-haskell-*- --- GIMP Toolkit (GTK) Widget SizeGroup +-- GIMP Toolkit (GTK) Widget SizeGroup -- -- Author : Duncan Coutts +-- -- Created: 2 August 2004 -- --- Copyright (c) 2004 Duncan Coutts --- documentation Copyright (c) 1995..2000 the GTK+ Team +-- Version $Revision$ from $Date$ +-- +-- Copyright (C) 2004-2005 Duncan Coutts -- -- This library is free software; you can redistribute it and/or --- modify it under the terms of the GNU Library General Public +-- modify it under the terms of the GNU Lesser General Public -- License as published by the Free Software Foundation; either --- version 2 of the License, or (at your option) any later version. +-- version 2.1 of the License, or (at your option) any later version. -- -- This library is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU --- Library General Public License for more details. +-- Lesser General Public License for more details. -- -- | +-- Maintainer : gtk...@li... +-- Stability : provisional +-- Portability : portable (depends on GHC) -- -- SizeGroup provides a mechanism for grouping a number of widgets together so -- they all request the same amount of space. This is typically useful when you -- want a column of widgets to have the same size, but you can't use a "Table" -- widget. -- - -module Graphics.UI.Gtk.Misc.SizeGroup ( +module Graphics.UI.Gtk.Misc.SizeGroup ( sizeGroupNew, SizeGroupMode(..), sizeGroupSetMode, |