From: Duncan C. <dun...@us...> - 2005-02-12 17:20:08
|
Update of /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/MenuComboToolbar In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16797/gtk/Graphics/UI/Gtk/MenuComboToolbar Modified Files: CheckMenuItem.chs.pp Combo.chs.pp ComboBox.chs.pp ComboBoxEntry.chs.pp ImageMenuItem.chs Menu.chs.pp MenuBar.chs MenuItem.chs MenuShell.chs OptionMenu.chs.pp RadioMenuItem.chs TearoffMenuItem.chs ToolItem.chs.pp Toolbar.chs.pp 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: Menu.chs.pp =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/MenuComboToolbar/Menu.chs.pp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Menu.chs.pp 8 Jan 2005 15:25:36 -0000 1.1 +++ Menu.chs.pp 12 Feb 2005 17:19:23 -0000 1.2 @@ -2,24 +2,27 @@ -- GIMP Toolkit (GTK) Widget Menu -- -- Author : Axel Simon --- +-- -- Created: 21 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 Menu is a vertically aligned set of options that can be selected. There -- are two kinds: Those that are part of a 'MenuBar' and those Index: ToolItem.chs.pp =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/MenuComboToolbar/ToolItem.chs.pp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- ToolItem.chs.pp 8 Jan 2005 15:25:01 -0000 1.1 +++ ToolItem.chs.pp 12 Feb 2005 17:19:23 -0000 1.2 @@ -1,38 +1,43 @@ -- -*-haskell-*- --- GIMP Toolkit (GTK) Widget ToolItem +-- GIMP Toolkit (GTK) Widget ToolItem -- -- Author : Duncan Coutts +-- -- Created: 1 August 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) -- --- ToolItem is the base class of widgets that can be added to "Toolbar". --- --- ToolItems are widgets that can appear on a toolbar. --- --- * For toolbar items that contain buttons, see the 'ToolButton', --- 'ToggleToolButton' and 'RadioToolButton' widgets. +-- ToolItem is the base class of widgets that can be added to a "Toolbar". -- --- * To create a toolbar item that contain something else than a button, use --- 'toolItemNew'. Use 'containerAdd' to add a child widget to the tool item. +-- * Added in GTK+ 2.4 -- --- See the "Toolbar" for a description of the toolbar widget. +module Graphics.UI.Gtk.MenuComboToolbar.ToolItem ( +-- * Description +-- +-- | "ToolItem"s are widgets that can appear on a toolbar. To create a toolbar +-- item that contain something else than a button, use 'toolItemNew'. Use +-- 'containerAdd' to add a child widget to the tool item. -- --- * Added in GTK+ 2.4 +-- For toolbar items that contain buttons, see the "ToolButton", +-- "ToggleToolButton" and "RadioToolButton" classes. -- -module Graphics.UI.Gtk.MenuComboToolbar.ToolItem ( #if GTK_CHECK_VERSION(2,4,0) toolItemNew, toolItemSetHomogeneous, Index: RadioMenuItem.chs =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/MenuComboToolbar/RadioMenuItem.chs,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- RadioMenuItem.chs 8 Jan 2005 15:26:43 -0000 1.1 +++ RadioMenuItem.chs 12 Feb 2005 17:19:23 -0000 1.2 @@ -2,31 +2,34 @@ -- GIMP Toolkit (GTK) Widget RadioMenuItem -- -- Author : Axel Simon --- +-- -- Created: 21 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 choice from multiple check menu items. -- -- * These are not the original Gtk functions as they involve handling a Gtk -- owned GList. The interface is rather oriented towards the RadioButton -- widget interface. -- --- TODO - module Graphics.UI.Gtk.MenuComboToolbar.RadioMenuItem ( RadioMenuItem, RadioMenuItemClass, Index: MenuBar.chs =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/MenuComboToolbar/MenuBar.chs,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- MenuBar.chs 8 Jan 2005 15:27:03 -0000 1.1 +++ MenuBar.chs 12 Feb 2005 17:19:23 -0000 1.2 @@ -2,26 +2,30 @@ -- GIMP Toolkit (GTK) Widget MenuBar -- -- Author : Axel Simon --- +-- -- Created: 21 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 subclass widget for "MenuShell" which holds "MenuItem" widgets -- - module Graphics.UI.Gtk.MenuComboToolbar.MenuBar ( MenuBar, MenuBarClass, Index: Combo.chs.pp =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/MenuComboToolbar/Combo.chs.pp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Combo.chs.pp 8 Jan 2005 15:25:36 -0000 1.1 +++ Combo.chs.pp 12 Feb 2005 17:19:23 -0000 1.2 @@ -2,24 +2,27 @@ -- GIMP Toolkit (GTK) Widget Combo -- -- Author : Axel Simon --- +-- -- Created: 2 June 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 Combo box is a text entry field with a drop down list of predefined -- alternatives. Index: CheckMenuItem.chs.pp =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/MenuComboToolbar/CheckMenuItem.chs.pp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- CheckMenuItem.chs.pp 8 Jan 2005 15:25:36 -0000 1.1 +++ CheckMenuItem.chs.pp 12 Feb 2005 17:19:23 -0000 1.2 @@ -2,24 +2,27 @@ -- GIMP Toolkit (GTK) Widget CheckMenuItem -- -- 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 implements a 'MenuItem' with a check next to it. -- Index: Toolbar.chs.pp =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/MenuComboToolbar/Toolbar.chs.pp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Toolbar.chs.pp 8 Jan 2005 15:25:01 -0000 1.1 +++ Toolbar.chs.pp 12 Feb 2005 17:19:23 -0000 1.2 @@ -2,65 +2,74 @@ -- GIMP Toolkit (GTK) Widget Toolbar -- -- 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. -- -{- | Create bars of buttons and other widgets. - - * This widget underwent a signficant overhaul in gtk 2.4 and the recommended - api changed substantially. The old interface is still supported but it is - not recommended. - - * The following information applies to the new interface only. - - A toolbar is created using 'toolbarNew'. A toolbar can contain instances of - a subclass of "ToolItem". To add a "ToolItem" to the a toolbar, use - 'toolbarInsert'. To remove an item from the toolbar use 'containerRemove'. - To add a button to the toolbar, add an instance of "ToolButton". - - Toolbar items can be visually grouped by adding instances of - "SeparatorToolItem" to the toolbar. If a "SeparatorToolItem" has the - \"expand\" property set to True and the \"draw\" property set to False the - effect is to force all following items to the end of the toolbar. - - Creating a context menu for the toolbar can be done using - 'onPopupContextMenu'. - +-- | +-- Maintainer : gtk...@li... +-- Stability : provisional +-- Portability : portable (depends on GHC) +-- +-- Create bars of buttons and other widgets. +-- +module Graphics.UI.Gtk.MenuComboToolbar.Toolbar ( +-- * Description +-- +-- | This widget underwent a signficant overhaul in gtk 2.4 and the +-- recommended api changed substantially. The old interface is still supported +-- but it is not recommended. +-- +-- * The following information applies to the new interface only. +-- +-- A toolbar is created with a call to 'toolbarNew'. +-- +-- A toolbar can contain instances of a subclass of "ToolItem". To add a +-- "ToolItem" to the a toolbar, use 'toolbarInsert'. To remove an item from the +-- toolbar use 'containerRemove'. To add a button to the toolbar, add an +-- instance of "ToolButton". +-- +-- Toolbar items can be visually grouped by adding instances of +-- "SeparatorToolItem" to the toolbar. If a "SeparatorToolItem" has the +-- \"expand\" property set to True and the \"draw\" property set to False +-- the effect is to force all following items to the end of the toolbar. +-- +-- Creating a context menu for the toolbar can be done using +-- 'onPopupContextMenu'. + #ifndef DISABLE_DEPRECATED - * The following information applies to the old interface only. - - 'Button's, 'RadioButton's and 'ToggleButton's can be added by refering to - stock images. Their size can be changed by calling 'toolbarSetIconSize'. In - contrast, normal widget cannot be added. Due to the bad interface of - GtkToolbar mnemonics of 'RadioButton's and 'ToggleButton's are not honored. - - All the append, insert and prepend functions use an internal function to - do the actual work. In fact the interface is pretty skrewed up: To insert - icons by using stock items is definitely the best practice as all other - images cannot react to 'toolbarSetIconSize' and other theming actions. On - the other hand 'toolbarInsertStock' always generates simple 'Button's - but is the only function that is able to insert 'Mnemonic's on the label. - Our solution is to use 'StockItem's to specify all 'Images' of the - 'Buttons'. If the user inserts 'RadioButton's or 'ToggleButton's, the stock - image lookup is done manually. A mnemonic in the labels is sadly not - honored this way. +-- | * The following information applies to the old interface only. +-- +-- 'Button's, 'RadioButton's and 'ToggleButton's can be added by refering to +-- stock images. Their size can be changed by calling 'toolbarSetIconSize'. In +-- contrast, normal widget cannot be added. Due to the bad interface of +-- "Toolbar" mnemonics of 'RadioButton's and 'ToggleButton's are not honored. +-- +-- All the append, insert and prepend functions use an internal function to +-- do the actual work. In fact the interface is pretty skrewed up: To insert +-- icons by using stock items is definitely the best practice as all other +-- images cannot react to 'toolbarSetIconSize' and other theming actions. On +-- the other hand 'toolbarInsertStock' always generates simple 'Button's +-- but is the only function that is able to insert 'Mnemonic's on the label. +-- Our solution is to use 'StockItem's to specify all 'Images' of the +-- 'Buttons'. If the user inserts 'RadioButton's or 'ToggleButton's, the stock +-- image lookup is done manually. A mnemonic in the labels is sadly not +-- honored this way. #endif --} -module Graphics.UI.Gtk.MenuComboToolbar.Toolbar ( + Toolbar, ToolbarClass, castToToolbar, Index: OptionMenu.chs.pp =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/MenuComboToolbar/OptionMenu.chs.pp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- OptionMenu.chs.pp 8 Jan 2005 15:25:36 -0000 1.1 +++ OptionMenu.chs.pp 12 Feb 2005 17:19:23 -0000 1.2 @@ -2,24 +2,27 @@ -- GIMP Toolkit (GTK) Widget OptionMenu -- -- 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) -- module Graphics.UI.Gtk.MenuComboToolbar.OptionMenu ( #ifndef DISABLE_DEPRECATED Index: ComboBoxEntry.chs.pp =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/MenuComboToolbar/ComboBoxEntry.chs.pp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- ComboBoxEntry.chs.pp 8 Jan 2005 15:25:36 -0000 1.1 +++ ComboBoxEntry.chs.pp 12 Feb 2005 17:19:23 -0000 1.2 @@ -1,28 +1,34 @@ -- -*-haskell-*- --- GIMP Toolkit (GTK) entry Widget ComboBoxEntry +-- GIMP Toolkit (GTK) Widget ComboBoxEntry -- -- Author : Duncan Coutts +-- -- Created: 25 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) -- -- A text entry field with a dropdown list -- -- * Added in gtk 2.4 -- -module Graphics.UI.Gtk.MenuComboToolbar.ComboBoxEntry ( +module Graphics.UI.Gtk.MenuComboToolbar.ComboBoxEntry ( #if GTK_CHECK_VERSION(2,4,0) ComboBoxEntryClass, ComboBoxEntry, Index: TearoffMenuItem.chs =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/MenuComboToolbar/TearoffMenuItem.chs,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- TearoffMenuItem.chs 8 Jan 2005 15:26:43 -0000 1.1 +++ TearoffMenuItem.chs 12 Feb 2005 17:19:23 -0000 1.2 @@ -2,24 +2,27 @@ -- GIMP Toolkit (GTK) Widget TearoffMenuItem -- -- 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 TearoffMenuItem is a special GtkMenuItem which is used to tear off -- and reattach its menu. When its menu is shown normally, the @@ -30,7 +33,6 @@ -- pointing arrow graphic indicating that the tearoff menu can be reattached. -- Activating it will erase the tearoff menu window. -- - module Graphics.UI.Gtk.MenuComboToolbar.TearoffMenuItem ( TearoffMenuItem, TearoffMenuItemClass, Index: MenuItem.chs =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/MenuComboToolbar/MenuItem.chs,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- MenuItem.chs 8 Jan 2005 15:27:03 -0000 1.1 +++ MenuItem.chs 12 Feb 2005 17:19:23 -0000 1.2 @@ -2,24 +2,27 @@ -- GIMP Toolkit (GTK) Widget MenuItem -- -- 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 represents a singe menu item. -- Index: ComboBox.chs.pp =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/MenuComboToolbar/ComboBox.chs.pp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- ComboBox.chs.pp 8 Jan 2005 15:25:36 -0000 1.1 +++ ComboBox.chs.pp 12 Feb 2005 17:19:23 -0000 1.2 @@ -1,28 +1,34 @@ -- -*-haskell-*- --- GIMP Toolkit (GTK) entry Widget ComboBox +-- GIMP Toolkit (GTK) Widget ComboBox -- -- Author : Duncan Coutts +-- -- Created: 25 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) -- -- A widget used to choose from a list of items. -- -- * Added in Gtk 2.4 -- -module Graphics.UI.Gtk.MenuComboToolbar.ComboBox ( +module Graphics.UI.Gtk.MenuComboToolbar.ComboBox ( #if GTK_CHECK_VERSION(2,4,0) ComboBoxClass, ComboBox, Index: MenuShell.chs =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/MenuComboToolbar/MenuShell.chs,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- MenuShell.chs 8 Jan 2005 15:26:43 -0000 1.1 +++ MenuShell.chs 12 Feb 2005 17:19:23 -0000 1.2 @@ -2,29 +2,31 @@ -- GIMP Toolkit (GTK) Widget MenuShell -- -- Author : Axel Simon --- +-- -- Created: 21 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) -- -- An abstract base class which provides the control of navigation through -- menu items. -- - module Graphics.UI.Gtk.MenuComboToolbar.MenuShell ( MenuShell, MenuShellClass, Index: ImageMenuItem.chs =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/MenuComboToolbar/ImageMenuItem.chs,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- ImageMenuItem.chs 8 Jan 2005 15:27:03 -0000 1.1 +++ ImageMenuItem.chs 12 Feb 2005 17:19:23 -0000 1.2 @@ -2,10 +2,10 @@ -- GIMP Toolkit (GTK) Widget ImageMenuItem -- -- Author : Jonas Svensson --- +-- -- Created: 12 Aug 2002 -- --- Version $Revision$ +-- Version $Revision$ from $Date$ -- -- Copyright (c) 2002 Jonas Svensson -- @@ -20,6 +20,9 @@ -- GNU General Public License for more details. -- -- | +-- Maintainer : gtk...@li... +-- Stability : provisional +-- Portability : portable (depends on GHC) -- -- This widget implements a 'MenuItem' with an image next to it -- @@ -27,7 +30,6 @@ -- -- * imageMenuItemNewFromSock should also have a AccelGroup argument -- - module Graphics.UI.Gtk.MenuComboToolbar.ImageMenuItem ( ImageMenuItem, ImageMenuItemClass, |