From: Duncan C. <dun...@us...> - 2005-02-25 22:53:54
|
Update of /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Selectors In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11239/gtk/Graphics/UI/Gtk/Selectors Modified Files: ColorSelection.chs FileChooser.chs.pp FileChooserDialog.chs.pp FileChooserWidget.chs.pp 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: ColorSelection.chs =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Selectors/ColorSelection.chs,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- ColorSelection.chs 25 Feb 2005 01:11:37 -0000 1.3 +++ ColorSelection.chs 25 Feb 2005 22:53:42 -0000 1.4 @@ -24,10 +24,7 @@ -- Stability : provisional -- Portability : portable (depends on GHC) -- --- The ColorSelection is a widget that is used to select a color. It consists of --- a color wheel and number of sliders and entry boxes for color parameters such --- as hue, saturation, value, red, green, blue, and opacity. It is found on the --- standard color selection dialog box "ColorSelectionDialog". +-- A widget used to select a color. -- module Graphics.UI.Gtk.Selectors.ColorSelection ( -- * Description Index: FileChooserDialog.chs.pp =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Selectors/FileChooserDialog.chs.pp,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- FileChooserDialog.chs.pp 25 Feb 2005 01:11:37 -0000 1.3 +++ FileChooserDialog.chs.pp 25 Feb 2005 22:53:42 -0000 1.4 @@ -28,7 +28,7 @@ -- for the old "FileSel"ection dialog. It provides a better user -- interface and an improved API. -- --- * This is the dialog variant of the "FileChooser" +-- * This is the dialog variant of the 'FileChooser' -- -- * Added in GTK+ 2.4 -- @@ -93,12 +93,16 @@ import System.Glib.GValue import System.Glib.StoreValue -{# context lib="gtk" prefix ="gtk" #} +{# context lib="gtk" prefix="gtk" #} + +-------------------- +-- Interfaces --- The FileChooserDialog implements the FileChooser interface --- which we model in Haskell as another instance decleration instance FileChooserClass FileChooserDialog +-------------------- +-- Constructors + fileChooserDialogNew :: Maybe String -- ^ Title of the dialog (or default) -> Maybe Window -- ^ Transient parent of the dialog (or none) @@ -108,7 +112,6 @@ fileChooserDialogNew title parent action buttons = internalFileChooserDialogNew title parent action buttons Nothing - fileChooserDialogNewWithBackend :: Maybe String -- ^ Title of the dialog (or default) -> Maybe Window -- ^ Transient parent of the dialog (or none) Index: FileChooser.chs.pp =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Selectors/FileChooser.chs.pp,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- FileChooser.chs.pp 25 Feb 2005 01:11:37 -0000 1.4 +++ FileChooser.chs.pp 25 Feb 2005 22:53:42 -0000 1.5 @@ -25,11 +25,11 @@ -- Portability : portable (depends on GHC) -- -- The file chooser dialog and widget is a replacement --- for the old "FileSel"ection dialog. It provides a better user +-- for the old 'FileSel'ection dialog. It provides a better user -- interface and an improved API. -- -- The FileChooser (as opposed to the dialog or widget) is the interface that --- the "FileChooserDialog" and "FileChooserWidget" implement, all the operations +-- the 'FileChooserDialog' and 'FileChooserWidget' implement, all the operations -- except construction are on this interface. -- -- * Added in GTK+ 2.4 @@ -200,7 +200,7 @@ {#import System.Glib.GList#} import System.Glib.GError (propagateGError, GErrorDomain, GErrorClass(..)) -{# context lib="gtk" prefix ="gtk" #} +{# context lib="gtk" prefix="gtk" #} {# enum FileChooserAction {underscoreToCase} #} {# enum FileChooserError {underscoreToCase} #} Index: FileChooserWidget.chs.pp =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Selectors/FileChooserWidget.chs.pp,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- FileChooserWidget.chs.pp 25 Feb 2005 01:11:37 -0000 1.3 +++ FileChooserWidget.chs.pp 25 Feb 2005 22:53:43 -0000 1.4 @@ -25,10 +25,10 @@ -- Portability : portable (depends on GHC) -- -- The file chooser dialog and widget is a replacement --- for the old "FileSel"ection dialog. It provides a better user +-- for the old 'FileSel'ection dialog. It provides a better user -- interface and an improved API. -- --- * This is the widget variant of the "FileChooser" +-- * This is the widget variant of the 'FileChooser' -- -- * Added in GTK+ 2.4 -- @@ -80,10 +80,11 @@ {#import Graphics.UI.Gtk.Types#} {#import Graphics.UI.Gtk.Selectors.FileChooser#} (FileChooserAction) -{# context lib="gtk" prefix ="gtk" #} +{# context lib="gtk" prefix="gtk" #} + +-------------------- +-- Interfaces --- The FileChooserWidget implements the FileChooser interface --- which we model in Haskell as another instance decleration instance FileChooserClass FileChooserWidget -------------------- |