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

Safe HaskellNone

HGamer3D.Bindings.CEGUI.ClassCombobox

Synopsis

Documentation

getSingleClickEnabledSource

Arguments

:: HG3DClass

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

-> IO Bool 

returns the mode of operation for the combo box.

isDropDownListVisibleSource

Arguments

:: HG3DClass

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

-> IO Bool

return value - true if the drop down list is visible, false otherwise.

returns true if the drop down list is visible.

getEditboxSource

Arguments

:: HG3DClass

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

-> IO HG3DClass

return value - Pointer to an

Return a pointer to the EditboxCombobox

getPushButtonSource

Arguments

:: HG3DClass

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

-> IO HG3DClass

return value - Pointer to a

Return a pointer to the PushButtonCombobox

getDropListSource

Arguments

:: HG3DClass

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

-> IO HG3DClass

return value - Pointer to an

Return a pointer to the ComboDropListCombobox

hasInputFocusSource

Arguments

:: HG3DClass

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

-> IO Bool

return value - true if the

return true if the Editbox

isReadOnlySource

Arguments

:: HG3DClass

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

-> IO Bool

return value - true if the

return true if the Editbox

isTextValidSource

Arguments

:: HG3DClass

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

-> IO Bool

return value - true if the current

return the currently set validation string - Details: Validation is performed by means of a regular expression. If the text matches the regex, the text is said to have passed validation. If the text does not match with the regex then the text fails validation.

return true if the Editbox - Details: It is possible to programmatically set invalid text for the Editbox Validation is performed by means of a regular expression. If the text matches the regex, the text is said to have passed validation. If the text does not match with the regex then the text fails validation.

getValidationStringSource

Arguments

:: HG3DClass

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

-> IO String

return value - String object containing the current validation regex data

getCaratIndexSource

Arguments

:: HG3DClass

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

-> IO Int

return value - Index of the insert carat relative to the start of the text.

return the current position of the carat.

getSelectionStartIndexSource

Arguments

:: HG3DClass

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

-> IO Int

return value - Index of the selection start point relative to the start of the text. If no selection is defined this function returns the position of the carat.

return the current selection start point.

getSelectionEndIndexSource

Arguments

:: HG3DClass

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

-> IO Int

return value - Index of the selection end point relative to the start of the text. If no selection is defined this function returns the position of the carat.

return the current selection end point.

getSelectionLengthSource

Arguments

:: HG3DClass

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

-> IO Int

return value - Number of code points (or characters) contained within the currently defined selection.

return the length of the current selection (in code points / characters).

getMaxTextLengthSource

Arguments

:: HG3DClass

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

-> IO Int

return value - The maximum number of code points (characters) that can be entered into this

return the maximum text length set for this Editbox - Details: Depending on the validation string set, the actual length of text that can be entered may be less than the value returned here (it will never be more).

getItemCountSource

Arguments

:: HG3DClass

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

-> IO Int

return value - the number of items currently attached to this list box.

Return number of items attached to the list box.

getSelectedItemSource

Arguments

:: HG3DClass

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

-> IO HG3DClass

return value - Pointer to a

Return a pointer to the currently selected item.

getListboxItemFromIndexSource

Arguments

:: HG3DClass

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

-> Int

index - Zero based index of the item to be returned.

-> IO HG3DClass

return value - Pointer to the

Return the item at index position index

getItemIndexSource

Arguments

:: HG3DClass

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

-> HG3DClass

item - Pointer to a ListboxItem whos zero based index is to be returned.

-> IO Int

return value - Zero based index indicating the position of

Return the index of ListboxItemitem

isSortEnabledSource

Arguments

:: HG3DClass

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

-> IO Bool

return value - true if the list is sorted, false if the list is not sorted

return whether list sorting is enabled

isItemSelectedSource

Arguments

:: HG3DClass

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

-> Int

index - Zero based index of the item to be examined.

-> IO Bool

return value - true if the item at

return whether the string at index position index

findItemWithTextSource

Arguments

:: HG3DClass

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

-> String

text - String object containing the text to be searched for.

-> HG3DClass

start_item - ListboxItem where the search is to begin, the search will not include item. If item is NULL, the search will begin from the first item in the list.

-> IO HG3DClass

return value - Pointer to the first

Search the list for an item with the specified text.

isListboxItemInListSource

Arguments

:: HG3DClass

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

-> HG3DClass

item

-> IO Bool

return value - true if

Return whether the specified ListboxItem

isVertScrollbarAlwaysShownSource

Arguments

:: HG3DClass

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

-> IO Bool 

Return whether the vertical scroll bar is always shown.

isHorzScrollbarAlwaysShownSource

Arguments

:: HG3DClass

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

-> IO Bool 

Return whether the horizontal scroll bar is always shown.

initialiseComponentsSource

Arguments

:: HG3DClass

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

-> IO ()

return value - Nothing

Show the drop-down list.

Initialise the Window - Details: This must be called for every window created. Normally this is handled automatically by the WindowFactory for each Window

showDropListSource

Arguments

:: HG3DClass

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

-> IO ()

return value - Nothing

Hide the drop-down list.

hideDropListSource

Arguments

:: HG3DClass

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

-> IO ()

return value - Nothing.

Set the mode of operation for the combo box.

setSingleClickEnabledSource

Arguments

:: HG3DClass

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

-> Bool

setting -

-> IO ()

return value - Nothing.

Specify whether the Editbox

setReadOnlySource

Arguments

:: HG3DClass

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

-> Bool

setting - true if the Editbox is read only and can't be edited by the user, false if the Editbox is not read only and may be edited by the user.

-> IO ()

return value - Nothing.

Set the text validation string. - Details: Validation is performed by means of a regular expression. If the text matches the regex, the text is said to have passed validation. If the text does not match with the regex then the text fails validation.

setValidationStringSource

Arguments

:: HG3DClass

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

-> String

validation_string - String object containing the validation regex data to be used.

-> IO ()

return value - Nothing.

Set the current position of the carat.

setCaratIndexSource

Arguments

:: HG3DClass

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

-> Int

carat_pos - New index for the insert carat relative to the start of the text. If the value specified is greater than the number of characters in the Editbox, the carat is positioned at the end of the text.

-> IO ()

return value - Nothing.

Define the current selection for the Editbox

setSelectionSource

Arguments

:: HG3DClass

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

-> Int

start_pos - Index of the starting point for the selection. If this value is greater than the number of characters in the Editbox, the selection start will be set to the end of the text.

-> Int

end_pos - Index of the ending point for the selection. If this value is greater than the number of characters in the Editbox, the selection start will be set to the end of the text.

-> IO ()

return value - Nothing.

set the maximum text length for this Editbox - Details: Depending on the validation string set, the actual length of text that can be entered may be less than the value set here (it will never be more).

setMaxTextLengthSource

Arguments

:: HG3DClass

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

-> Int

max_len - The maximum number of code points (characters) that can be entered into this Editbox.

-> IO ()

return value - Nothing.

Activate the edit box component of the Combobox

activateEditboxSource

Arguments

:: HG3DClass

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

-> IO ()

return value - Nothing.

Remove all items from the list. - Details: Note that this will cause AutoDelete items to be deleted.

resetListSource

Arguments

:: HG3DClass

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

-> IO () 

Add the given ListboxItem

addItemSource

Arguments

:: HG3DClass

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

-> HG3DClass

item - Pointer to the ListboxItem to be added to the list. Note that it is the passed object that is added to the list, a copy is not made. If this parameter is NULL, nothing happens.

-> IO ()

return value - Nothing.

Insert an item into the list box after a specified item already in the list. - Details: Note that if the list is sorted, the item may not end up in the requested position.

insertItemSource

Arguments

:: HG3DClass

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

-> HG3DClass

item

-> HG3DClass

position

-> IO () 

Removes the given item from the list box.

removeItemSource

Arguments

:: HG3DClass

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

-> HG3DClass

item - Pointer to the ListboxItem that is to be removed. If item is not attached to this list box then nothing will happen.

-> IO ()

return value - Nothing.

Clear the selected state for all items.

clearAllSelectionsSource

Arguments

:: HG3DClass

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

-> IO ()

return value - Nothing.

Set whether the list should be sorted.

setSortingEnabledSource

Arguments

:: HG3DClass

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

-> Bool

setting - true if the list should be sorted, false if the list should not be sorted.

-> IO ()

return value - Nothing.

Set whether the vertical scroll bar should always be shown.

setShowVertScrollbarSource

Arguments

:: HG3DClass

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

-> Bool

setting - true if the vertical scroll bar should be shown even when it is not required. false if the vertical scroll bar should only be shown when it is required.

-> IO ()

return value - Nothing.

Set whether the horizontal scroll bar should always be shown.

setShowHorzScrollbarSource

Arguments

:: HG3DClass

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

-> Bool

setting - true if the horizontal scroll bar should be shown even when it is not required. false if the horizontal scroll bar should only be shown when it is required.

-> IO ()

return value - Nothing.

Set the select state of an attached ListboxItem - Details: This is the recommended way of selecting and deselecting items attached to a list box as it respects the multi-select mode setting. It is possible to modify the setting on ListboxItems directly, but that approach does not respect the settings of the list box.

setItemSelectStateSource

Arguments

:: HG3DClass

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

-> HG3DClass

item

-> Bool

state

-> IO () 

Set the select state of an attached ListboxItem - Details: This is the recommended way of selecting and deselecting items attached to a list box as it respects the multi-select mode setting. It is possible to modify the setting on ListboxItems directly, but that approach does not respect the settings of the list box.

setItemSelectState2Source

Arguments

:: HG3DClass

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

-> Int

item_index

-> Bool

state

-> IO () 

Causes the list box to update it's internal state after changes have been made to one or more attached ListboxItem - Details: Client code must call this whenever it has made any changes to ListboxItem objects already attached to the list box. 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.

handleUpdatedListItemDataSource

Arguments

:: HG3DClass

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

-> IO () 

Constructor for Combobox

newSource

Arguments

:: String

type

-> String

name

-> IO HG3DClass 

deleteSource

Arguments

:: HG3DClass

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

-> IO () 

Destructor for Combobox