Text line control
[OpenSpace3D high level 2D library]

Functions

 getEdCtrlTextLineValue (ctrlstr)
 Get a text line control value.
 setEdCtrlTextLineValue (ctrlstr, val)
 Set a text line control value.
 setEdCtrlTextLineEnable (ctrlstr, state)
 Enable or disable a text line control.
 setEdCtrlTextLineCbChange (ctrlstr, cbfun)
 Set the callback on text line control change.
 setEdCtrlTextLineCbValidate (ctrlstr, cbfun)
 Set the callback on text line control validate.
 crEdCtrlTextLine (winstr, x, y, w, h, value, flags, resize)
 Create a text line control.
 setEdctrlTextLineFocus (ctrlstr)
 Set keyboard focus on a text line control.
 dsEdCtrlTextLine (ctrlstr)
 Destroy a text line control.

Detailed Description

Text line control


Function Documentation

getEdCtrlTextLineValue ( ctrlstr   ) 

Get a text line control value.

Prototype: fun [EdControl] S

Parameters:
EdControl : text line control structure
Returns:
S : the text line control value
setEdCtrlTextLineValue ( ctrlstr  ,
val   
)

Set a text line control value.

Prototype: fun [EdControl S] I

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

Enable or disable a text line control.

Prototype: fun [EdControl I] I

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

Set the callback on text line control change.

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

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

  • EdControl : text line control structure
  • S : new text value
Returns:
I : 0
setEdCtrlTextLineCbValidate ( ctrlstr  ,
cbfun   
)

Set the callback on text line control validate.

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

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

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

Create a text line 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 text line control
setEdctrlTextLineFocus ( ctrlstr   ) 

Set keyboard focus on a text line control.

Prototype: fun [EdControl] ObjText

Parameters:
EdControl : text line control structure
Returns:
ObjText : text object
dsEdCtrlTextLine ( ctrlstr   ) 

Destroy a text line control.

Prototype: fun [EdControl] I

Parameters:
EdControl : text line 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