HGamer3D-CEGUI-Binding-0.1.9: Windows Game Engine for the Haskell Programmer - CEGUI Bindings

Safe HaskellNone

HGamer3D.Bindings.CEGUI.ClassItemListbox

Synopsis

Documentation

getSelectedCountSource

Arguments

:: HG3DClass

classpointer - pointer of Class instance from which this methods is called.

-> IO Int 

Returns the number of selected items in this ItemListbox

getLastSelectedItemSource

Arguments

:: 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.

getFirstSelectedItemSource

Arguments

:: 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

getNextSelectedItemSource

Arguments

:: 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

Arguments

:: 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.

isMultiSelectEnabledSource

Arguments

:: HG3DClass

classpointer - pointer of Class instance from which this methods is called.

-> IO Bool 

Returns true if multiple selections are allowed. false if not.

isItemSelectedSource

Arguments

:: 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.

initialiseComponentsSource

Arguments

:: HG3DClass

classpointer - pointer of Class instance from which this methods is called.

-> IO () 

Set whether or not multiple selections should be allowed.

setMultiSelectEnabledSource

Arguments

:: HG3DClass

classpointer - pointer of Class instance from which this methods is called.

-> Bool

state

-> IO () 

Clears all selections.

clearAllSelectionsSource

Arguments

:: HG3DClass

classpointer - pointer of Class instance from which this methods is called.

-> IO () 

Select a range of items.

selectRangeSource

Arguments

:: 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.

selectAllItemsSource

Arguments

:: HG3DClass

classpointer - pointer of Class instance from which this methods is called.

-> IO () 

Constructor for the ItemListbox

newSource

Arguments

:: String

type

-> String

name

-> IO HG3DClass 

deleteSource

Arguments

:: HG3DClass

classpointer - pointer of Class instance which is going to be deleted.

-> IO () 

Setup size and position for the item widgets attached to this ItemListbox

Destructor for the ItemListbox

layoutItemWidgetsSource

Arguments

:: HG3DClass

classpointer - pointer of Class instance from which this methods is called.

-> IO () 

Return whether this window was inherited from the given class name at some point in the inheritance hierarchy.

testClassNameImplSource

Arguments

:: HG3DClass

classpointer - pointer of Class instance from which this methods is called.

-> String

class_name - The class name that is to be checked.

-> IO Bool

return value - true if this window was inherited from

notifyItemClickedSource

Arguments

:: HG3DClass

classpointer - pointer of Class instance from which this methods is called.

-> HG3DClass

li

-> IO () 

Notify this ItemListbox

Notify this ItemListbox

notifyItemSelectStateSource

Arguments

:: HG3DClass

classpointer - pointer of Class instance from which this methods is called.

-> HG3DClass

li

-> Bool

state

-> IO ()