| Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
| Safe Haskell | None |
| Language | Haskell2010 |
GI.Gtk.Objects.TreeSelection
Contents
Description
- newtype TreeSelection = TreeSelection (ManagedPtr TreeSelection)
- class GObject o => IsTreeSelection o
- toTreeSelection :: IsTreeSelection o => o -> IO TreeSelection
- noTreeSelection :: Maybe TreeSelection
- data TreeSelectionCountSelectedRowsMethodInfo
- treeSelectionCountSelectedRows :: (MonadIO m, IsTreeSelection a) => a -> m Int32
- data TreeSelectionGetModeMethodInfo
- treeSelectionGetMode :: (MonadIO m, IsTreeSelection a) => a -> m SelectionMode
- data TreeSelectionGetSelectedMethodInfo
- treeSelectionGetSelected :: (MonadIO m, IsTreeSelection a) => a -> m (Bool, TreeModel, TreeIter)
- data TreeSelectionGetSelectedRowsMethodInfo
- treeSelectionGetSelectedRows :: (MonadIO m, IsTreeSelection a) => a -> m ([TreePath], TreeModel)
- data TreeSelectionGetTreeViewMethodInfo
- treeSelectionGetTreeView :: (MonadIO m, IsTreeSelection a) => a -> m TreeView
- data TreeSelectionIterIsSelectedMethodInfo
- treeSelectionIterIsSelected :: (MonadIO m, IsTreeSelection a) => a -> TreeIter -> m Bool
- data TreeSelectionPathIsSelectedMethodInfo
- treeSelectionPathIsSelected :: (MonadIO m, IsTreeSelection a) => a -> TreePath -> m Bool
- data TreeSelectionSelectAllMethodInfo
- treeSelectionSelectAll :: (MonadIO m, IsTreeSelection a) => a -> m ()
- data TreeSelectionSelectIterMethodInfo
- treeSelectionSelectIter :: (MonadIO m, IsTreeSelection a) => a -> TreeIter -> m ()
- data TreeSelectionSelectPathMethodInfo
- treeSelectionSelectPath :: (MonadIO m, IsTreeSelection a) => a -> TreePath -> m ()
- data TreeSelectionSelectRangeMethodInfo
- treeSelectionSelectRange :: (MonadIO m, IsTreeSelection a) => a -> TreePath -> TreePath -> m ()
- data TreeSelectionSelectedForeachMethodInfo
- treeSelectionSelectedForeach :: (MonadIO m, IsTreeSelection a) => a -> TreeSelectionForeachFunc -> m ()
- data TreeSelectionSetModeMethodInfo
- treeSelectionSetMode :: (MonadIO m, IsTreeSelection a) => a -> SelectionMode -> m ()
- data TreeSelectionSetSelectFunctionMethodInfo
- treeSelectionSetSelectFunction :: (MonadIO m, IsTreeSelection a) => a -> TreeSelectionFunc -> m ()
- data TreeSelectionUnselectAllMethodInfo
- treeSelectionUnselectAll :: (MonadIO m, IsTreeSelection a) => a -> m ()
- data TreeSelectionUnselectIterMethodInfo
- treeSelectionUnselectIter :: (MonadIO m, IsTreeSelection a) => a -> TreeIter -> m ()
- data TreeSelectionUnselectPathMethodInfo
- treeSelectionUnselectPath :: (MonadIO m, IsTreeSelection a) => a -> TreePath -> m ()
- data TreeSelectionUnselectRangeMethodInfo
- treeSelectionUnselectRange :: (MonadIO m, IsTreeSelection a) => a -> TreePath -> TreePath -> m ()
- data TreeSelectionModePropertyInfo
- constructTreeSelectionMode :: IsTreeSelection o => SelectionMode -> IO (GValueConstruct o)
- getTreeSelectionMode :: (MonadIO m, IsTreeSelection o) => o -> m SelectionMode
- setTreeSelectionMode :: (MonadIO m, IsTreeSelection o) => o -> SelectionMode -> m ()
- treeSelectionMode :: AttrLabelProxy "mode"
- type C_TreeSelectionChangedCallback = Ptr () -> Ptr () -> IO ()
- type TreeSelectionChangedCallback = IO ()
- data TreeSelectionChangedSignalInfo
- afterTreeSelectionChanged :: (GObject a, MonadIO m) => a -> TreeSelectionChangedCallback -> m SignalHandlerId
- genClosure_TreeSelectionChanged :: TreeSelectionChangedCallback -> IO Closure
- mk_TreeSelectionChangedCallback :: C_TreeSelectionChangedCallback -> IO (FunPtr C_TreeSelectionChangedCallback)
- noTreeSelectionChangedCallback :: Maybe TreeSelectionChangedCallback
- onTreeSelectionChanged :: (GObject a, MonadIO m) => a -> TreeSelectionChangedCallback -> m SignalHandlerId
- wrap_TreeSelectionChangedCallback :: TreeSelectionChangedCallback -> Ptr () -> Ptr () -> IO ()
Exported types
newtype TreeSelection Source #
Constructors
| TreeSelection (ManagedPtr TreeSelection) |
Instances
| GObject TreeSelection Source # | |
| IsObject TreeSelection Source # | |
| IsTreeSelection TreeSelection Source # | |
| ((~) * info (ResolveTreeSelectionMethod t TreeSelection), MethodInfo * info TreeSelection p) => IsLabel t (TreeSelection -> p) Source # | |
| ((~) * info (ResolveTreeSelectionMethod t TreeSelection), MethodInfo * info TreeSelection p) => IsLabelProxy t (TreeSelection -> p) Source # | |
| HasAttributeList * TreeSelection Source # | |
| type SignalList TreeSelection Source # | |
| type AttributeList TreeSelection Source # | |
class GObject o => IsTreeSelection o Source #
Instances
| (GObject a, UnknownAncestorError Constraint TreeSelection a) => IsTreeSelection a Source # | |
| IsTreeSelection TreeSelection Source # | |
toTreeSelection :: IsTreeSelection o => o -> IO TreeSelection Source #
Methods
countSelectedRows
data TreeSelectionCountSelectedRowsMethodInfo Source #
Instances
| ((~) * signature (m Int32), MonadIO m, IsTreeSelection a) => MethodInfo * TreeSelectionCountSelectedRowsMethodInfo a signature Source # | |
treeSelectionCountSelectedRows :: (MonadIO m, IsTreeSelection a) => a -> m Int32 Source #
getMode
data TreeSelectionGetModeMethodInfo Source #
Instances
| ((~) * signature (m SelectionMode), MonadIO m, IsTreeSelection a) => MethodInfo * TreeSelectionGetModeMethodInfo a signature Source # | |
treeSelectionGetMode :: (MonadIO m, IsTreeSelection a) => a -> m SelectionMode Source #
getSelected
data TreeSelectionGetSelectedMethodInfo Source #
Instances
| ((~) * signature (m (Bool, TreeModel, TreeIter)), MonadIO m, IsTreeSelection a) => MethodInfo * TreeSelectionGetSelectedMethodInfo a signature Source # | |
treeSelectionGetSelected :: (MonadIO m, IsTreeSelection a) => a -> m (Bool, TreeModel, TreeIter) Source #
getSelectedRows
data TreeSelectionGetSelectedRowsMethodInfo Source #
Instances
| ((~) * signature (m ([TreePath], TreeModel)), MonadIO m, IsTreeSelection a) => MethodInfo * TreeSelectionGetSelectedRowsMethodInfo a signature Source # | |
treeSelectionGetSelectedRows :: (MonadIO m, IsTreeSelection a) => a -> m ([TreePath], TreeModel) Source #
getTreeView
data TreeSelectionGetTreeViewMethodInfo Source #
Instances
| ((~) * signature (m TreeView), MonadIO m, IsTreeSelection a) => MethodInfo * TreeSelectionGetTreeViewMethodInfo a signature Source # | |
treeSelectionGetTreeView :: (MonadIO m, IsTreeSelection a) => a -> m TreeView Source #
iterIsSelected
data TreeSelectionIterIsSelectedMethodInfo Source #
Instances
| ((~) * signature (TreeIter -> m Bool), MonadIO m, IsTreeSelection a) => MethodInfo * TreeSelectionIterIsSelectedMethodInfo a signature Source # | |
treeSelectionIterIsSelected :: (MonadIO m, IsTreeSelection a) => a -> TreeIter -> m Bool Source #
pathIsSelected
data TreeSelectionPathIsSelectedMethodInfo Source #
Instances
| ((~) * signature (TreePath -> m Bool), MonadIO m, IsTreeSelection a) => MethodInfo * TreeSelectionPathIsSelectedMethodInfo a signature Source # | |
treeSelectionPathIsSelected :: (MonadIO m, IsTreeSelection a) => a -> TreePath -> m Bool Source #
selectAll
data TreeSelectionSelectAllMethodInfo Source #
Instances
| ((~) * signature (m ()), MonadIO m, IsTreeSelection a) => MethodInfo * TreeSelectionSelectAllMethodInfo a signature Source # | |
treeSelectionSelectAll :: (MonadIO m, IsTreeSelection a) => a -> m () Source #
selectIter
data TreeSelectionSelectIterMethodInfo Source #
Instances
| ((~) * signature (TreeIter -> m ()), MonadIO m, IsTreeSelection a) => MethodInfo * TreeSelectionSelectIterMethodInfo a signature Source # | |
treeSelectionSelectIter :: (MonadIO m, IsTreeSelection a) => a -> TreeIter -> m () Source #
selectPath
data TreeSelectionSelectPathMethodInfo Source #
Instances
| ((~) * signature (TreePath -> m ()), MonadIO m, IsTreeSelection a) => MethodInfo * TreeSelectionSelectPathMethodInfo a signature Source # | |
treeSelectionSelectPath :: (MonadIO m, IsTreeSelection a) => a -> TreePath -> m () Source #
selectRange
data TreeSelectionSelectRangeMethodInfo Source #
Instances
| ((~) * signature (TreePath -> TreePath -> m ()), MonadIO m, IsTreeSelection a) => MethodInfo * TreeSelectionSelectRangeMethodInfo a signature Source # | |
treeSelectionSelectRange :: (MonadIO m, IsTreeSelection a) => a -> TreePath -> TreePath -> m () Source #
selectedForeach
data TreeSelectionSelectedForeachMethodInfo Source #
Instances
| ((~) * signature (TreeSelectionForeachFunc -> m ()), MonadIO m, IsTreeSelection a) => MethodInfo * TreeSelectionSelectedForeachMethodInfo a signature Source # | |
treeSelectionSelectedForeach :: (MonadIO m, IsTreeSelection a) => a -> TreeSelectionForeachFunc -> m () Source #
setMode
data TreeSelectionSetModeMethodInfo Source #
Instances
| ((~) * signature (SelectionMode -> m ()), MonadIO m, IsTreeSelection a) => MethodInfo * TreeSelectionSetModeMethodInfo a signature Source # | |
treeSelectionSetMode :: (MonadIO m, IsTreeSelection a) => a -> SelectionMode -> m () Source #
setSelectFunction
data TreeSelectionSetSelectFunctionMethodInfo Source #
Instances
| ((~) * signature (TreeSelectionFunc -> m ()), MonadIO m, IsTreeSelection a) => MethodInfo * TreeSelectionSetSelectFunctionMethodInfo a signature Source # | |
treeSelectionSetSelectFunction :: (MonadIO m, IsTreeSelection a) => a -> TreeSelectionFunc -> m () Source #
unselectAll
data TreeSelectionUnselectAllMethodInfo Source #
Instances
| ((~) * signature (m ()), MonadIO m, IsTreeSelection a) => MethodInfo * TreeSelectionUnselectAllMethodInfo a signature Source # | |
treeSelectionUnselectAll :: (MonadIO m, IsTreeSelection a) => a -> m () Source #
unselectIter
data TreeSelectionUnselectIterMethodInfo Source #
Instances
| ((~) * signature (TreeIter -> m ()), MonadIO m, IsTreeSelection a) => MethodInfo * TreeSelectionUnselectIterMethodInfo a signature Source # | |
treeSelectionUnselectIter :: (MonadIO m, IsTreeSelection a) => a -> TreeIter -> m () Source #
unselectPath
data TreeSelectionUnselectPathMethodInfo Source #
Instances
| ((~) * signature (TreePath -> m ()), MonadIO m, IsTreeSelection a) => MethodInfo * TreeSelectionUnselectPathMethodInfo a signature Source # | |
treeSelectionUnselectPath :: (MonadIO m, IsTreeSelection a) => a -> TreePath -> m () Source #
unselectRange
data TreeSelectionUnselectRangeMethodInfo Source #
Instances
| ((~) * signature (TreePath -> TreePath -> m ()), MonadIO m, IsTreeSelection a) => MethodInfo * TreeSelectionUnselectRangeMethodInfo a signature Source # | |
treeSelectionUnselectRange :: (MonadIO m, IsTreeSelection a) => a -> TreePath -> TreePath -> m () Source #
Properties
mode
data TreeSelectionModePropertyInfo Source #
Instances
| AttrInfo TreeSelectionModePropertyInfo Source # | |
| type AttrSetTypeConstraint TreeSelectionModePropertyInfo Source # | |
| type AttrOrigin TreeSelectionModePropertyInfo Source # | |
| type AttrLabel TreeSelectionModePropertyInfo Source # | |
| type AttrGetType TreeSelectionModePropertyInfo Source # | |
| type AttrBaseTypeConstraint TreeSelectionModePropertyInfo Source # | |
| type AttrAllowedOps TreeSelectionModePropertyInfo Source # | |
constructTreeSelectionMode :: IsTreeSelection o => SelectionMode -> IO (GValueConstruct o) Source #
getTreeSelectionMode :: (MonadIO m, IsTreeSelection o) => o -> m SelectionMode Source #
setTreeSelectionMode :: (MonadIO m, IsTreeSelection o) => o -> SelectionMode -> m () Source #
treeSelectionMode :: AttrLabelProxy "mode" Source #
Signals
changed
type TreeSelectionChangedCallback = IO () Source #
data TreeSelectionChangedSignalInfo Source #
Instances
| SignalInfo TreeSelectionChangedSignalInfo Source # | |
| type HaskellCallbackType TreeSelectionChangedSignalInfo Source # | |
afterTreeSelectionChanged :: (GObject a, MonadIO m) => a -> TreeSelectionChangedCallback -> m SignalHandlerId Source #
genClosure_TreeSelectionChanged :: TreeSelectionChangedCallback -> IO Closure Source #
mk_TreeSelectionChangedCallback :: C_TreeSelectionChangedCallback -> IO (FunPtr C_TreeSelectionChangedCallback) Source #
onTreeSelectionChanged :: (GObject a, MonadIO m) => a -> TreeSelectionChangedCallback -> m SignalHandlerId Source #
wrap_TreeSelectionChangedCallback :: TreeSelectionChangedCallback -> Ptr () -> Ptr () -> IO () Source #