| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Synopsis | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Documentation | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| entryNew :: IO Entry | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Create a new Entry widget. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| entrySetText :: EntryClass ec => ec -> String -> IO () | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Set the text of the Entry widget. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| entryGetText :: EntryClass ec => ec -> IO String | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Get the text of the Entry widget. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| entryAppendText :: EntryClass ec => ec -> String -> IO () | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Append to the text of the Entry widget. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| entryPrependText :: EntryClass ec => ec -> String -> IO () | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Prepend the text of the Entry widget. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| entrySetVisibility :: EntryClass ec => ec -> Bool -> IO () | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Set whether to use password mode (display stars instead of the text).
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| entryGetVisibility :: EntryClass ec => ec -> IO Bool | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Get whether widget is in password mode. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| entrySetInvisibleChar :: EntryClass ec => ec -> Char -> IO () | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Set the replacement character for invisible text. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| entryGetInvisibleChar :: EntryClass ec => ec -> IO Char | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Get the current replacement character for invisible text, or 0 if not in password mode. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| entrySetMaxLength :: EntryClass ec => ec -> Int -> IO () | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Sets a maximum length the text may grow to.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| entryGetActivatesDefault :: EntryClass ec => ec -> IO Bool | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Query whether pressing return will activate the default widget. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| entrySetActivatesDefault :: EntryClass ec => ec -> Bool -> IO () | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Specify if pressing return will activate the default widget.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| entryGetHasFrame :: EntryClass ec => ec -> IO Bool | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Query if the text Entry is displayed with a frame around it. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| entrySetHasFrame :: EntryClass ec => ec -> Bool -> IO () | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Specifies whehter the Entry should be in an etched-in frame. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| entryGetWidthChars :: EntryClass ec => ec -> IO Int | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Retrieve the number of characters the widget should ask for. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| entrySetWidthChars :: EntryClass ec => ec -> Int -> IO () | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Specifies how large the Entry should be in characters.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| entrySetAlignment :: EntryClass ec => ec -> Float -> IO () | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Sets the alignment for the contents of the entry. This controls the horizontal positioning of the contents when the displayed text is shorter than the width of the entry.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| entryGetAlignment :: EntryClass ec => ec -> IO Float | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Gets the value set by entrySetAlignment.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| entrySetCompletion :: EntryClass ec => ec -> EntryCompletion -> IO () | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Sets the auxiliary completion object to use with the entry. All further configuration of the completion mechanism is done on completion using the EntryCompletion API.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| entryGetCompletion :: EntryClass ec => ec -> IO EntryCompletion | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Returns the auxiliary completion object currently in use by the entry.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| onEntryActivate :: EntryClass ec => ec -> IO () -> IO (ConnectId ec) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Emitted when the user presses return within the Entry field. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| afterEntryActivate :: EntryClass ec => ec -> IO () -> IO (ConnectId ec) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| onCopyClipboard :: EntryClass ec => ec -> IO () -> IO (ConnectId ec) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Emitted when the current selection has been copied to the clipboard. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| afterCopyClipboard :: EntryClass ec => ec -> IO () -> IO (ConnectId ec) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| onCutClipboard :: EntryClass ec => ec -> IO () -> IO (ConnectId ec) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Emitted when the current selection has been cut to the clipboard. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| afterCutClipboard :: EntryClass ec => ec -> IO () -> IO (ConnectId ec) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| onPasteClipboard :: EntryClass ec => ec -> IO () -> IO (ConnectId ec) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Emitted when the current selection has been pasted from the clipboard. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| afterPasteClipboard :: EntryClass ec => ec -> IO () -> IO (ConnectId ec) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| onInsertAtCursor :: EntryClass ec => ec -> (String -> IO ()) -> IO (ConnectId ec) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Emitted when a piece of text is inserted at the cursor position. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| afterInsertAtCursor :: EntryClass ec => ec -> (String -> IO ()) -> IO (ConnectId ec) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| onToggleOverwrite :: EntryClass ec => ec -> IO () -> IO (ConnectId ec) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Emitted when the user changes from overwriting to inserting. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| afterToggleOverwrite :: EntryClass ec => ec -> IO () -> IO (ConnectId ec) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Produced by Haddock version 0.6 |