Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data DataModel a = DataModel {}
- type RowCountCallback = IO Int
- type ColumnCountCallback = IO Int
- type DataCallback a = Int -> IO a
- type HeaderDataCallback = Int -> IO String
Documentation
A data model handle.
DataModel | |
|
type RowCountCallback = IO Int Source
Used by QML to query the number of rows in a model.
type ColumnCountCallback = IO Int Source
Used by QML to query the number of columns in a model.
type DataCallback a = Int -> IO a Source
Used by QML to obtain a row at the given index.
type HeaderDataCallback = Int -> IO String Source
Used by QML to obtain the name of the column at the given index.