From: Duncan C. <dun...@us...> - 2005-02-12 17:20:07
|
Update of /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Layout In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16797/gtk/Graphics/UI/Gtk/Layout Modified Files: Alignment.chs.pp AspectFrame.chs Expander.chs.pp Fixed.chs HBox.chs HPaned.chs Layout.chs Notebook.chs.pp Table.chs VBox.chs VPaned.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: Fixed.chs =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Layout/Fixed.chs,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Fixed.chs 8 Jan 2005 15:23:11 -0000 1.1 +++ Fixed.chs 12 Feb 2005 17:19:23 -0000 1.2 @@ -1,58 +1,67 @@ -- -*-haskell-*- --- GIMP Toolkit (GTK) Widget Fixed +-- GIMP Toolkit (GTK) Widget Fixed -- -- 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) -- --- The 'Fixed' widget is a container which can place child widgets at fixed --- positions and with fixed sizes, given in pixels. 'Fixed' performs no +-- A container which allows you to position widgets at fixed coordinates +-- +module Graphics.UI.Gtk.Layout.Fixed ( +-- * Description +-- +-- | The "Fixed" widget is a container which can place child widgets at fixed +-- positions and with fixed sizes, given in pixels. "Fixed" performs no -- automatic layout management. -- --- For most applications, you should not use this container! It keeps you from --- having to learn about the other GTK+ containers, but it results in broken --- applications. +-- For most applications, you should not use this container! It keeps you +-- from having to learn about the other GTK+ containers, but it results in +-- broken applications. -- -- * Themes, which may change widget sizes. -- --- * Fonts other than the one you used to write the app will of course change --- the size of widgets containing text; keep in mind that users may use a larger --- font because of difficulty reading the default, or they may be using Windows --- or the framebuffer port of GTK+, where different fonts are available. +-- * Fonts other than the one you used to write the app will of course +-- change the size of widgets containing text; keep in mind that users may use +-- a larger font because of difficulty reading the default, or they may be +-- using Windows or the framebuffer port of GTK+, where different fonts are +-- available. -- --- * Translation of text into other languages changes its size. Also, display of --- non-English text will use a different font in many cases. +-- * Translation of text into other languages changes its size. Also, +-- display of non-English text will use a different font in many cases. -- --- In addition, the fixed widget can't properly be mirrored in right-to-left --- languages such as Hebrew and Arabic. i.e. normally GTK+ will flip the --- interface to put labels to the right of the thing they label, but it can't do --- that with 'Fixed'. So your application will not be usable in right-to-left --- languages. +-- In addition, the fixed widget can\'t properly be mirrored in +-- right-to-left languages such as Hebrew and Arabic. i.e. normally GTK+ will +-- flip the interface to put labels to the right of the thing they label, but +-- it can\'t do that with "Fixed". So your application will not be usable in +-- right-to-left languages. -- -- Finally, fixed positioning makes it kind of annoying to add\/remove GUI -- elements, since you have to reposition all the other elements. This is a -- long-term maintenance problem for your application. -- -- If you know none of these things are an issue for your application, and --- prefer the simplicity of 'Fixed', by all means use the widget. But you should --- be aware of the tradeoffs. --- +-- prefer the simplicity of "Fixed", by all means use the widget. But you +-- should be aware of the tradeoffs. -module Graphics.UI.Gtk.Layout.Fixed ( fixedNew, fixedPut, fixedMove, Index: Notebook.chs.pp =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Layout/Notebook.chs.pp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Notebook.chs.pp 8 Jan 2005 15:22:09 -0000 1.1 +++ Notebook.chs.pp 12 Feb 2005 17:19:23 -0000 1.2 @@ -2,24 +2,27 @@ -- GIMP Toolkit (GTK) Widget Notebook -- -- Author : Axel Simon --- +-- -- Created: 15 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 can display several pages of widgets. Each page can be selected -- by a tab at the top of the widget. It is useful in dialogs where a lot of Index: HBox.chs =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Layout/HBox.chs,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- HBox.chs 8 Jan 2005 15:23:11 -0000 1.1 +++ HBox.chs 12 Feb 2005 17:19:23 -0000 1.2 @@ -2,29 +2,31 @@ -- GIMP Toolkit (GTK) Widget HBox -- -- Author : Axel Simon --- +-- -- Created: 15 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 is a special version of 'Box'. This widget shows its child -- widgets in a horizontal line. -- - module Graphics.UI.Gtk.Layout.HBox ( HBox, HBoxClass, Index: AspectFrame.chs =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Layout/AspectFrame.chs,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- AspectFrame.chs 8 Jan 2005 15:23:11 -0000 1.1 +++ AspectFrame.chs 12 Feb 2005 17:19:23 -0000 1.2 @@ -2,24 +2,27 @@ -- GIMP Toolkit (GTK) Widget AspectFrame -- -- Author : Axel Simon --- +-- -- Created: 15 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 frame that constrains its child to a particular aspect ratio. -- @@ -32,7 +35,6 @@ -- The frame -- will be \"shrink-wrapped\" to the size of the child. -- - module Graphics.UI.Gtk.Layout.AspectFrame ( AspectFrame, AspectFrameClass, Index: VPaned.chs =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Layout/VPaned.chs,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- VPaned.chs 8 Jan 2005 15:23:39 -0000 1.1 +++ VPaned.chs 12 Feb 2005 17:19:23 -0000 1.2 @@ -2,26 +2,30 @@ -- GIMP Toolkit (GTK) Widget VPaned -- -- Author : Axel Simon --- +-- -- Created: 15 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 container with two panes arranged vertically. -- - module Graphics.UI.Gtk.Layout.VPaned ( VPaned, VPanedClass, Index: Layout.chs =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Layout/Layout.chs,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Layout.chs 8 Jan 2005 15:23:39 -0000 1.1 +++ Layout.chs 12 Feb 2005 17:19:23 -0000 1.2 @@ -2,28 +2,30 @@ -- GIMP Toolkit (GTK) Widget Layout -- -- Author : Axel Simon --- +-- -- Created: 15 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) -- -- A layout widget can hold several widgets at arbitrary positions. -- - module Graphics.UI.Gtk.Layout.Layout ( Layout, LayoutClass, Index: VBox.chs =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Layout/VBox.chs,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- VBox.chs 8 Jan 2005 15:23:39 -0000 1.1 +++ VBox.chs 12 Feb 2005 17:19:23 -0000 1.2 @@ -2,30 +2,31 @@ -- GIMP Toolkit (GTK) Widget VBox -- -- Author : Axel Simon --- +-- -- Created: 15 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 is a special version of 'Box'. --- This widget shows its child widgets +-- This is a special version of 'Box'. This widget shows its child widgets -- in a vertical line. -- - module Graphics.UI.Gtk.Layout.VBox ( VBox, VBoxClass, Index: Table.chs =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Layout/Table.chs,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Table.chs 8 Jan 2005 15:23:39 -0000 1.1 +++ Table.chs 12 Feb 2005 17:19:23 -0000 1.2 @@ -2,28 +2,30 @@ -- GIMP Toolkit (GTK) Widget Table -- -- Author : Axel Simon --- +-- -- Created: 15 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) -- -- The table widget is a container in which widgets can be aligned in cells. -- - module Graphics.UI.Gtk.Layout.Table ( Table, TableClass, Index: Expander.chs.pp =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Layout/Expander.chs.pp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Expander.chs.pp 8 Jan 2005 15:22:09 -0000 1.1 +++ Expander.chs.pp 12 Feb 2005 17:19:23 -0000 1.2 @@ -2,21 +2,27 @@ -- GIMP Toolkit (GTK) Widget Expander -- -- Author : Duncan Coutts +-- -- Created: 24 April 2004 -- --- Copyright (c) 2004 Duncan Coutts +-- 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) -- -- An Expander allows the user to hide or show its child by clicking on an -- expander triangle similar to the triangles used in a TreeView. @@ -28,7 +34,7 @@ -- -- * Added in GTK+ 2.4 -- -module Graphics.UI.Gtk.Layout.Expander ( +module Graphics.UI.Gtk.Layout.Expander ( #if GTK_CHECK_VERSION(2,4,0) Expander, ExpanderClass, Index: HPaned.chs =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Layout/HPaned.chs,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- HPaned.chs 8 Jan 2005 15:23:11 -0000 1.1 +++ HPaned.chs 12 Feb 2005 17:19:23 -0000 1.2 @@ -2,26 +2,30 @@ -- GIMP Toolkit (GTK) Widget HPaned -- -- Author : Axel Simon --- +-- -- Created: 15 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 container with two panes arranged horizontally. -- - module Graphics.UI.Gtk.Layout.HPaned ( HPaned, HPanedClass, Index: Alignment.chs.pp =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Layout/Alignment.chs.pp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Alignment.chs.pp 8 Jan 2005 15:22:09 -0000 1.1 +++ Alignment.chs.pp 12 Feb 2005 17:19:23 -0000 1.2 @@ -2,24 +2,29 @@ -- GIMP Toolkit (GTK) Widget Alignment -- -- Author : Axel Simon --- +-- -- Created: 15 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 widget which controls the alignment and size of its child -- module Graphics.UI.Gtk.Layout.Alignment ( Alignment, |