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

Safe HaskellNone

HGamer3D.Bindings.CEGUI.ClassEditbox

Synopsis

Documentation

hasInputFocusSource

Arguments

:: HG3DClass

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

-> IO Bool 

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

isTextMaskedSource

Arguments

:: HG3DClass

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

-> IO Bool

return value - true if the

return true if the text for the Editbox

isTextValidSource

Arguments

:: HG3DClass

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

-> IO Bool 

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

getMaskCodePointSource

Arguments

:: HG3DClass

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

-> IO Int

return value - utf32 code point value representing the Unicode code point that will be rendered instead of the

return the utf32 code point used when rendering masked text.

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

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.

Specify whether the text for the Editbox

Specify whether the Editbox

setTextMaskedSource

Arguments

:: HG3DClass

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

-> Bool

setting -

-> 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 end will be set to the end of the text.

-> IO ()

return value - Nothing.

set the utf32 code point used when rendering masked text.

setMaskCodePointSource

Arguments

:: HG3DClass

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

-> Int

code_point - utf32 code point value representing the Unicode code point that should be rendered instead of the Editbox text when rendering in masked mode.

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

Constructor for Editbox

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 Editbox