Safe Haskell | None |
---|
- getSelectedCount :: HG3DClass -> IO Int
- getLastSelectedItem :: HG3DClass -> IO HG3DClass
- getFirstSelectedItem :: HG3DClass -> Int -> IO HG3DClass
- getNextSelectedItem :: HG3DClass -> IO HG3DClass
- getNextSelectedItemAfter :: HG3DClass -> HG3DClass -> IO HG3DClass
- isMultiSelectEnabled :: HG3DClass -> IO Bool
- isItemSelected :: HG3DClass -> Int -> IO Bool
- initialiseComponents :: HG3DClass -> IO ()
- setMultiSelectEnabled :: HG3DClass -> Bool -> IO ()
- clearAllSelections :: HG3DClass -> IO ()
- selectRange :: HG3DClass -> Int -> Int -> IO ()
- selectAllItems :: HG3DClass -> IO ()
- new :: String -> String -> IO HG3DClass
- delete :: HG3DClass -> IO ()
- layoutItemWidgets :: HG3DClass -> IO ()
- testClassNameImpl :: HG3DClass -> String -> IO Bool
- notifyItemClicked :: HG3DClass -> HG3DClass -> IO ()
- notifyItemSelectState :: HG3DClass -> HG3DClass -> Bool -> IO ()
- getSelectedCount'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- getLastSelectedItem'_ :: HG3DClassPtr -> HG3DClassPtr -> IO ()
- getFirstSelectedItem'_ :: HG3DClassPtr -> CInt -> HG3DClassPtr -> IO ()
- getNextSelectedItem'_ :: HG3DClassPtr -> HG3DClassPtr -> IO ()
- getNextSelectedItemAfter'_ :: HG3DClassPtr -> HG3DClassPtr -> HG3DClassPtr -> IO ()
- isMultiSelectEnabled'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- isItemSelected'_ :: HG3DClassPtr -> CInt -> Ptr CInt -> IO ()
- initialiseComponents'_ :: HG3DClassPtr -> IO ()
- setMultiSelectEnabled'_ :: HG3DClassPtr -> CInt -> IO ()
- clearAllSelections'_ :: HG3DClassPtr -> IO ()
- selectRange'_ :: HG3DClassPtr -> CInt -> CInt -> IO ()
- selectAllItems'_ :: HG3DClassPtr -> IO ()
- new'_ :: Ptr CChar -> Ptr CChar -> HG3DClassPtr -> IO ()
- delete'_ :: HG3DClassPtr -> IO ()
- layoutItemWidgets'_ :: HG3DClassPtr -> IO ()
- testClassNameImpl'_ :: HG3DClassPtr -> Ptr CChar -> Ptr CInt -> IO ()
- notifyItemClicked'_ :: HG3DClassPtr -> HG3DClassPtr -> IO ()
- notifyItemSelectState'_ :: HG3DClassPtr -> HG3DClassPtr -> CInt -> IO ()
Documentation
Returns the number of selected items in this ItemListbox
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> IO HG3DClass | return value - A pointer to the last selected item, 0 is none. |
Returns a pointer to the last selected item.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Int | start_index - The index where the search should begin. If omitted the search will begin with the first item. |
-> IO HG3DClass | return value - A pointer to the first selected item in the listbox. If no item is selected the return value is 0. If |
Returns a pointer to the first selected item. - Details: If multiselect is disabled then this does the equivalent of calling getLastSelectedItem. If multiselect is enabled it will search the array starting at start_index
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> IO HG3DClass | return value - A pointer to the next seleced item. If there are no further selected items the return value is 0. If multiselect is disabled the return value is 0. |
Returns a pointer to the next seleced item relative to a previous call to getFirstSelectedItem or getNextSelectedItem. - Details: This member function will take on from where the last call to getFirstSelectedItem or getNextSelectedItem returned. So be sure to start with a call to getFirstSelectedItem.
getNextSelectedItemAfterSource
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> HG3DClass | start_item |
-> IO HG3DClass |
Returns a pointer to the next selected item after the item start_item
given. - Details: This member function will search the array from the beginning and will be slow for large lists, it will not advance the internal counter used by getFirstSelectedItem and getNextSelectedItem either.
Returns true
if multiple selections are allowed. false
if not.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Int | index |
-> IO Bool |
Returns true
if the item at the given index is selectable and currently selected.
Set whether or not multiple selections should be allowed.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Bool | state |
-> IO () |
Clears all selections.
Select a range of items.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Int | a - Start item. (inclusive) |
-> Int | z - End item. (inclusive) |
-> IO () |
Select all items. Does nothing if multiselect is disabled.
Constructor for the ItemListbox
Setup size and position for the item widgets attached to this ItemListbox
Destructor for the ItemListbox
Return whether this window was inherited from the given class name at some point in the inheritance hierarchy.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> HG3DClass | li |
-> IO () |
Notify this ItemListbox
Notify this ItemListbox
getSelectedCount'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source
getLastSelectedItem'_ :: HG3DClassPtr -> HG3DClassPtr -> IO ()Source
getFirstSelectedItem'_ :: HG3DClassPtr -> CInt -> HG3DClassPtr -> IO ()Source
getNextSelectedItem'_ :: HG3DClassPtr -> HG3DClassPtr -> IO ()Source
getNextSelectedItemAfter'_ :: HG3DClassPtr -> HG3DClassPtr -> HG3DClassPtr -> IO ()Source
isMultiSelectEnabled'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source
isItemSelected'_ :: HG3DClassPtr -> CInt -> Ptr CInt -> IO ()Source
initialiseComponents'_ :: HG3DClassPtr -> IO ()Source
setMultiSelectEnabled'_ :: HG3DClassPtr -> CInt -> IO ()Source
clearAllSelections'_ :: HG3DClassPtr -> IO ()Source
selectRange'_ :: HG3DClassPtr -> CInt -> CInt -> IO ()Source
selectAllItems'_ :: HG3DClassPtr -> IO ()Source
delete'_ :: HG3DClassPtr -> IO ()Source
layoutItemWidgets'_ :: HG3DClassPtr -> IO ()Source
testClassNameImpl'_ :: HG3DClassPtr -> Ptr CChar -> Ptr CInt -> IO ()Source
notifyItemClicked'_ :: HG3DClassPtr -> HG3DClassPtr -> IO ()Source
notifyItemSelectState'_ :: HG3DClassPtr -> HG3DClassPtr -> CInt -> IO ()Source