Safe Haskell | None |
---|
- doTreeRender :: HG3DClass -> IO ()
- doScrollbars :: HG3DClass -> IO ()
- getItemCount :: HG3DClass -> IO Int
- getSelectedCount :: HG3DClass -> IO Int
- isSortEnabled :: HG3DClass -> IO Bool
- getVertScrollbar :: HG3DClass -> IO HG3DClass
- getHorzScrollbar :: HG3DClass -> IO HG3DClass
- isMultiselectEnabled :: HG3DClass -> IO Bool
- isItemTooltipsEnabled :: HG3DClass -> IO Bool
- isVertScrollbarAlwaysShown :: HG3DClass -> IO Bool
- isHorzScrollbarAlwaysShown :: HG3DClass -> IO Bool
- initialise :: HG3DClass -> IO ()
- resetList :: HG3DClass -> IO ()
- clearAllSelections :: HG3DClass -> IO ()
- setSortingEnabled :: HG3DClass -> Bool -> IO ()
- setMultiselectEnabled :: HG3DClass -> Bool -> IO ()
- setShowVertScrollbar :: HG3DClass -> Bool -> IO ()
- setShowHorzScrollbar :: HG3DClass -> Bool -> IO ()
- setItemTooltipsEnabled :: HG3DClass -> Bool -> IO ()
- setItemSelectState2 :: HG3DClass -> Int -> Bool -> IO ()
- setLookNFeel :: HG3DClass -> String -> IO ()
- handleUpdatedItemData :: HG3DClass -> IO ()
- new :: String -> String -> IO HG3DClass
- delete :: HG3DClass -> IO ()
- doTreeRender'_ :: HG3DClassPtr -> IO ()
- doScrollbars'_ :: HG3DClassPtr -> IO ()
- getItemCount'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- getSelectedCount'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- isSortEnabled'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- getVertScrollbar'_ :: HG3DClassPtr -> HG3DClassPtr -> IO ()
- getHorzScrollbar'_ :: HG3DClassPtr -> HG3DClassPtr -> IO ()
- isMultiselectEnabled'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- isItemTooltipsEnabled'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- isVertScrollbarAlwaysShown'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- isHorzScrollbarAlwaysShown'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- initialise'_ :: HG3DClassPtr -> IO ()
- resetList'_ :: HG3DClassPtr -> IO ()
- clearAllSelections'_ :: HG3DClassPtr -> IO ()
- setSortingEnabled'_ :: HG3DClassPtr -> CInt -> IO ()
- setMultiselectEnabled'_ :: HG3DClassPtr -> CInt -> IO ()
- setShowVertScrollbar'_ :: HG3DClassPtr -> CInt -> IO ()
- setShowHorzScrollbar'_ :: HG3DClassPtr -> CInt -> IO ()
- setItemTooltipsEnabled'_ :: HG3DClassPtr -> CInt -> IO ()
- setItemSelectState2'_ :: HG3DClassPtr -> CInt -> CInt -> IO ()
- setLookNFeel'_ :: HG3DClassPtr -> Ptr CChar -> IO ()
- handleUpdatedItemData'_ :: HG3DClassPtr -> IO ()
- new'_ :: Ptr CChar -> Ptr CChar -> HG3DClassPtr -> IO ()
- delete'_ :: HG3DClassPtr -> IO ()
Documentation
Return number of items attached to the tree.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> IO Int | return value - Total number of attached items that are in the selected state. |
Return the number of selected items in the tree.
return whether tree sorting is enabled
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> IO Bool | return value - true if multi-select is enabled, false if multi-select is not enabled. |
return whether multi-select is enabled
isVertScrollbarAlwaysShownSource
Return whether the vertical scroll bar is always shown.
isHorzScrollbarAlwaysShownSource
Return whether the horizontal scroll bar is always shown.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> IO () | return value - Nothing |
Remove all items from the tree. - Details: Note that this will cause AutoDelete
items to be deleted.
Initialise the Window - Details: This must be called for every window created. Normally this is handled automatically by the WindowFactory for each Window
Clear the selected state for all items.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> IO () | return value - Nothing. |
Set whether the tree should be sorted.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Bool | setting - |
-> IO () | return value - Nothing. |
Set whether the tree should allow multiple selections or just a single selection.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Bool | setting - |
-> IO () | return value - Nothing. |
Set whether the vertical scroll bar should always be shown.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Bool | setting - |
-> IO () | return value - Nothing. |
Set whether the horizontal scroll bar should always be shown.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Bool | setting |
-> IO () |
Set the select state of an attached TreeItem. - Details: This is the recommended way of selecting and deselecting items attached to a tree as it respects the multi-select mode setting. It is possible to modify the setting on TreeItems directly, but that approach does not respect the settings of the tree.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Int | item_index |
-> Bool | state |
-> IO () |
Set the LookNFeel that shoule be used for this window. - Details: Once a lookn
feel has been assigned it is locked - as in cannot be changed.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> String | look - String object holding the name of the look to be assigned to the window. |
-> IO () | return value - Nothing. |
Causes the tree to update it's internal state after changes have been made to one or more attached TreeItem objects. - Details: Client code must call this whenever it has made any changes to TreeItem objects already attached to the tree. If you are just adding items, or removed items to update them prior to re-adding them, there is no need to call this method.
Constructor for Tree
Destructor for Tree
doTreeRender'_ :: HG3DClassPtr -> IO ()Source
doScrollbars'_ :: HG3DClassPtr -> IO ()Source
getItemCount'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source
getSelectedCount'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source
isSortEnabled'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source
getVertScrollbar'_ :: HG3DClassPtr -> HG3DClassPtr -> IO ()Source
getHorzScrollbar'_ :: HG3DClassPtr -> HG3DClassPtr -> IO ()Source
isMultiselectEnabled'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source
isItemTooltipsEnabled'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source
isVertScrollbarAlwaysShown'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source
isHorzScrollbarAlwaysShown'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source
initialise'_ :: HG3DClassPtr -> IO ()Source
resetList'_ :: HG3DClassPtr -> IO ()Source
clearAllSelections'_ :: HG3DClassPtr -> IO ()Source
setSortingEnabled'_ :: HG3DClassPtr -> CInt -> IO ()Source
setMultiselectEnabled'_ :: HG3DClassPtr -> CInt -> IO ()Source
setShowVertScrollbar'_ :: HG3DClassPtr -> CInt -> IO ()Source
setShowHorzScrollbar'_ :: HG3DClassPtr -> CInt -> IO ()Source
setItemTooltipsEnabled'_ :: HG3DClassPtr -> CInt -> IO ()Source
setItemSelectState2'_ :: HG3DClassPtr -> CInt -> CInt -> IO ()Source
setLookNFeel'_ :: HG3DClassPtr -> Ptr CChar -> IO ()Source
handleUpdatedItemData'_ :: HG3DClassPtr -> IO ()Source
delete'_ :: HG3DClassPtr -> IO ()Source