| Copyright | (c) Daan Leijen 2003 |
|---|---|
| License | wxWindows |
| Maintainer | wxhaskell-devel@lists.sourceforge.net |
| Stability | provisional |
| Portability | portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Graphics.UI.WXCore.Controls
Description
- textCtrlMakeLogActiveTarget :: TextCtrl a -> IO ()
- logDeleteAndSetActiveTarget :: Log a -> IO ()
- data TreeCookie
- treeCtrlGetChildCookie :: TreeCtrl a -> TreeItem -> IO TreeCookie
- treeCtrlGetNextChild2 :: TreeCtrl a -> TreeCookie -> IO (Maybe TreeItem)
- treeCtrlWithChildren :: TreeCtrl a -> TreeItem -> (TreeItem -> IO b) -> IO [b]
- treeCtrlGetChildren :: TreeCtrl a -> TreeItem -> IO [TreeItem]
- treeCtrlGetSelections2 :: TreeCtrl a -> IO [TreeItem]
- listBoxGetSelectionList :: ListBox a -> IO [Int]
- execClipBoardData :: Clipboard a -> (Clipboard a -> IO b) -> IO b
- enumerateFontsList :: Int -> Bool -> IO [String]
- enumerateFonts :: Int -> Bool -> (String -> IO Bool) -> IO ()
- wxcAppUSleep :: Int -> IO ()
Log
textCtrlMakeLogActiveTarget :: TextCtrl a -> IO () Source #
Set a text control as a log target.
logDeleteAndSetActiveTarget :: Log a -> IO () Source #
Sets the active log target and deletes the old one.
Tree control
data TreeCookie Source #
Represents the children of a tree control.
treeCtrlGetChildCookie :: TreeCtrl a -> TreeItem -> IO TreeCookie Source #
Get a TreeCookie to iterate through the children of tree node.
treeCtrlGetNextChild2 :: TreeCtrl a -> TreeCookie -> IO (Maybe TreeItem) Source #
Get the next child of a tree node. Returns Nothing when
the end of the list is reached. This also invalidates the tree cookie.
treeCtrlWithChildren :: TreeCtrl a -> TreeItem -> (TreeItem -> IO b) -> IO [b] Source #
Iterate on the list of children of a tree node.
treeCtrlGetChildren :: TreeCtrl a -> TreeItem -> IO [TreeItem] Source #
Get the children of tree node.
Wrappers
execClipBoardData :: Clipboard a -> (Clipboard a -> IO b) -> IO b Source #
Use a clipboardSetData or clipboardGetData in this function. But don't
use long computation in this function. Because this function encloses the
computation with clipboardOpen and clipboardClose, and wxHaskell uses
Global clipboard on your environment. So, long computation causes problem.
Font Enumerator
enumerateFontsList :: Int -> Bool -> IO [String] Source #
(enumerateFontsList encoding fixedWidthOnly) return the Names of the available fonts in a list.
To get all available fonts call enumerateFontsList wxFONTENCODING_SYSTEM False.
See also enumerateFonts.
enumerateFonts :: Int -> Bool -> (String -> IO Bool) -> IO () Source #
(enumerateFonts encoding fixedWidthOnly f calls successive f name for the fonts installed on the system.
It stops if the function return False.
See also enumerateFontsList.
Deprecated
wxcAppUSleep :: Int -> IO () Source #
Deprecated: Use wxcAppMilliSleep instead
This function just left for backward-compatiblity.
Update your code to use wxcAppMilliSleep instead.