From: <kr_...@us...> - 2003-11-23 10:31:08
|
Update of /cvsroot/htoolkit/gio/src/Graphics/UI/GIO In directory sc8-pr-cvs1:/tmp/cvs-serv4812/src/Graphics/UI/GIO Modified Files: Controls.hs Log Message: Better Haddock style comments Index: Controls.hs =================================================================== RCS file: /cvsroot/htoolkit/gio/src/Graphics/UI/GIO/Controls.hs,v retrieving revision 1.38 retrieving revision 1.39 diff -C2 -d -r1.38 -r1.39 *** Controls.hs 23 Nov 2003 10:25:47 -0000 1.38 --- Controls.hs 23 Nov 2003 10:31:05 -0000 1.39 *************** *** 16,21 **** ----------------------------------------------------------------------------------------- module Graphics.UI.GIO.Controls( ! -- * Controls ! -- ** Button -- | A button control is a small, rectangular child window that can be -- clicked on and off. Buttons can be labeled or appear without text. --- 16,20 ---- ----------------------------------------------------------------------------------------- module Graphics.UI.GIO.Controls( ! -- * Button -- | A button control is a small, rectangular child window that can be -- clicked on and off. Buttons can be labeled or appear without text. *************** *** 23,36 **** Button, button ! -- ** Label -- | A label control simply displays a text string and it can be used -- to label other controls. A label control can\'t take input and can\'t provide output. , Label, label ! -- ** Entry -- | An entry control is a rectangular widget in which the user can enter text. , Entry, entry, readOnly, password ! -- ** Popup -- | A popup control consists of a list box combined with a label control. -- The list box portion of the control drop down only when the user selects --- 22,35 ---- Button, button ! -- * Label -- | A label control simply displays a text string and it can be used -- to label other controls. A label control can\'t take input and can\'t provide output. , Label, label ! -- * Entry -- | An entry control is a rectangular widget in which the user can enter text. , Entry, entry, readOnly, password ! -- * Popup -- | A popup control consists of a list box combined with a label control. -- The list box portion of the control drop down only when the user selects *************** *** 39,43 **** , Popup, popup ! -- ** ListBox -- | A list box displays a list of items, that the user can view and select. -- In a single-selection list box, the user can select only one item. --- 38,42 ---- , Popup, popup ! -- * ListBox -- | A list box displays a list of items, that the user can view and select. -- In a single-selection list box, the user can select only one item. *************** *** 47,51 **** , ListBox, listBox ! -- ** Slider -- | A slider control is a widget containing a slider and tick marks. -- When the user moves the slider, using either the mouse or the direction keys, --- 46,50 ---- , ListBox, listBox ! -- * Slider -- | A slider control is a widget containing a slider and tick marks. -- When the user moves the slider, using either the mouse or the direction keys, *************** *** 55,64 **** , Slider, hslider, vslider ! -- ** TrackBar -- | An track bar control is a pair of arrow buttons that the user can click -- to increment or decrement the value value displayed in another control. , TrackBar, hTrackBar, vTrackBar, increment, decrement ! -- ** ProgressBar -- | A progress bar control is a window that an application can use to -- indicate the progress of a lengthy operation. It consists of a rectangle --- 54,63 ---- , Slider, hslider, vslider ! -- * TrackBar -- | An track bar control is a pair of arrow buttons that the user can click -- to increment or decrement the value value displayed in another control. , TrackBar, hTrackBar, vTrackBar, increment, decrement ! -- * ProgressBar -- | A progress bar control is a window that an application can use to -- indicate the progress of a lengthy operation. It consists of a rectangle *************** *** 70,74 **** , ProgressBar, hProgressBar, vProgressBar ! -- ** CheckBox -- | A check box consists of a square box and a label, that indicates a choice -- the user can make by selecting the check. Each CheckBox has two states: --- 69,73 ---- , ProgressBar, hProgressBar, vProgressBar ! -- * CheckBox -- | A check box consists of a square box and a label, that indicates a choice -- the user can make by selecting the check. Each CheckBox has two states: *************** *** 78,82 **** , CheckBox, checkBox ! -- ** RadioBox -- | A radio button consists of a round button and a label that indicates a -- choice the user can make by selecting the button. An application typically --- 77,81 ---- , CheckBox, checkBox ! -- * RadioBox -- | A radio button consists of a round button and a label that indicates a -- choice the user can make by selecting the button. An application typically *************** *** 88,92 **** , RadioBox, radioBox, setRadioBoxGroup ! -- ** GroupBox -- | A group box is a rectangle that surrounds a set of controls, such as -- check boxes or radio buttons, with application-defined label in its upper --- 87,91 ---- , RadioBox, radioBox, setRadioBoxGroup ! -- * GroupBox -- | A group box is a rectangle that surrounds a set of controls, such as -- check boxes or radio buttons, with application-defined label in its upper *************** *** 95,102 **** , GroupBox, groupBox ! -- ** CompoundControl , CompoundControl, compoundControl ! -- ** Notebook -- | A notebook control is analogous to the dividers in a real notebook. -- By using a notebook control, an application can define multiple pages for --- 94,101 ---- , GroupBox, groupBox ! -- * CompoundControl , CompoundControl, compoundControl ! -- * Notebook -- | A notebook control is analogous to the dividers in a real notebook. -- By using a notebook control, an application can define multiple pages for |