manatee-core-0.0.1: The core of Manatee.

Manatee.Toolkit.Gtk.ModelView

Synopsis

Documentation

treeViewFocusFirstToplevelNode :: TreeViewClass view => view -> IO ()Source

Focus first toplevel node. It focus first node if model is list model.

treeViewFocusLastToplevelNode :: TreeViewClass view => view -> IO ()Source

Focus last toplevel node. It focus last node if model is list model.

treeViewGetToplevelNodeCount :: TreeViewClass view => view -> IO IntSource

Get number of toplevel node in TreeView.

treeModelGetToplevelNodeCount :: TreeModelClass model => model -> IO IntSource

Get number of toplevel node in TreeModel.

treeViewApplyModel :: TreeViewClass view => view -> (TreeModel -> IO ()) -> IO ()Source

Apply treeView model.

treeViewGetSelectedPath :: TreeViewClass view => view -> IO (Maybe TreePath)Source

Get current selection. Don't *store* TreeIter, it's wrong value after model change. It's should just as a argument for another IO function.

treeViewGetCellTreeCoordinate :: TreeViewClass view => view -> Maybe TreePath -> TreeViewColumn -> IO RectangleSource

Get tree coordinate of cell.

treeViewGetSelectedTreeCoordidnate :: TreeViewClass view => view -> IO (Maybe Rectangle)Source

Get selection bound.

treeViewGetSelectedWidgetCoordinate :: TreeViewClass view => view -> IO (Maybe Rectangle)Source

Get selection widget coordinate.

treeViewFocusNextToplevelNode :: TreeViewClass view => view -> IO ()Source

Focus next toplevel node.

treeViewFocusPrevToplevelNode :: TreeViewClass view => view -> IO ()Source

Focus prev toplevel node. Return True if focus prev toplevel node, Otherwise return False.

treeModelLastToplevelPath :: TreeModelClass model => model -> IO TreePathSource

Last toplevel node path of TreeModel.

treeViewAtFirstToplevelNode :: TreeViewClass view => view -> IO BoolSource

Whether at first toplevel node? It at first node if model is list model.

treeViewAtLastToplevelNode :: TreeViewClass view => view -> IO BoolSource

Whether at last toplevel node? It at last node if model is list model.

treeViewRemoveColumns :: TreeViewClass self => self -> IO ()Source

Remove all column's from treeView.

treeViewHaveColumn :: TreeViewClass self => self -> IO BoolSource

Have cell columns.

treeViewUnselectAll :: TreeViewClass view => view -> IO ()Source

Un-select all.

treeViewGetDefaultCellHeight :: TreeViewClass view => view -> IO (Maybe Int)Source

Get default cell height.

treeViewGetSelectedCellArea :: TreeViewClass self => (Rectangle -> Int) -> self -> IO IntSource

Get attribute of cursor cell.

treeViewGetSelectedCellHeight :: TreeViewClass view => view -> IO IntSource

Get current cell height.

treeViewGetSelectedCellY :: TreeViewClass view => view -> IO IntSource

Get current cell height.

treeViewGetHeaderHeight :: TreeViewClass self => self -> IO IntSource

Get header height.

treeViewFocus :: TreeViewClass self => self -> IO ()Source

Focus TreeView and keep current selected position.

treeViewScrollVertical :: (TreeViewClass self, ScrolledWindowClass swc) => self -> swc -> Double -> IO ()Source

Scroll vertical.

treeModelSortGetRow :: (TreeModelSortClass self, TypedTreeModelClass model) => model row -> self -> TreeIter -> IO rowSource

Get row.

treeViewNextSortPath :: (TreeViewClass view, TreeModelClass sortModel, TreeModelSortClass sortModel) => view -> sortModel -> TreePath -> IO TreePathSource

Get next sort path. Pass unsorted path to get next path in the given sorted model. Very useful to track path after change sort rule.

treeViewPrevSortPath :: (TreeViewClass view, TreeModelClass sortModel, TreeModelSortClass sortModel) => view -> sortModel -> TreePath -> IO TreePathSource

Get previous sort path. Pass unsorted path to get previous path in the given sorted model. Very useful to track path after change sort rule.

treeViewGetSelectedValue :: (TreeViewClass view, TreeModelSortClass self) => view -> self -> ListStore a -> IO (Maybe a)Source

Get current value.