Edit text control
[OpenSpace3D high level 2D library]

Functions

 getEdCtrlEditTextValue (ctrlstr)
 Get a edit text control value.
 setEdCtrlEditTextValue (ctrlstr, val)
 Set a edit text control value.
 setEdCtrlEditTextEnable (ctrlstr, state)
 Enable or disable a edit text control.
 setEdCtrlEditTextCbChange (ctrlstr, cbfun)
 Set the callback on edit text control change.
 crEdCtrlEditText (winstr, x, y, w, h, value, flags, resize)
 Create a edit text control.
 dsEdCtrlEditText (ctrlstr)
 Destroy a edit text control.

Detailed Description

Edit text control


Function Documentation

getEdCtrlEditTextValue ( ctrlstr   ) 

Get a edit text control value.

Prototype: fun [EdControl] S

Parameters:
EdControl : edit text control structure
Returns:
S : the edit text control value
setEdCtrlEditTextValue ( ctrlstr  ,
val   
)

Set a edit text control value.

Prototype: fun [EdControl S] I

Parameters:
EdControl : edit text control structure
S : text value
Returns:
I : 0
setEdCtrlEditTextEnable ( ctrlstr  ,
state   
)

Enable or disable a edit text control.

Prototype: fun [EdControl I] I

Parameters:
EdControl : edit text control structure
I : state, 0 to disable, 1 to enable
Returns:
I : 0
setEdCtrlEditTextCbChange ( ctrlstr  ,
cbfun   
)

Set the callback on edit text control change.

Prototype: fun [EdControl fun [EdControl S] I] I

Parameters:
EdControl : edit text control structure
fun [EdControl S] I : callback

  • EdControl : edit text control structure
  • S : new text value
Returns:
I : 0
crEdCtrlEditText ( winstr  ,
,
,
,
,
value  ,
flags  ,
resize   
)

Create a edit text control.

Prototype: fun [EdWindow I I I I S I I] EdControl

Parameters:
EdWindow : mother window structure
I : X position
I : Y position
I : width
I : height
S : text value
I : ObjText flags, nil for default
I : resize flags
Returns:
EdControl : new edit text control
dsEdCtrlEditText ( ctrlstr   ) 

Destroy a edit text control.

Prototype: fun [EdControl] I

Parameters:
EdControl : edit text control structure
Returns:
I : 0
 All Data Structures Files Functions Variables Typedefs
Generated on Mon Jul 5 21:30:13 2010 for OpenSpace3D libs by  doxygen 1.6.3