Project

General

Profile

OpenSpace3D libs
OpenSpace 3D libraries for plugITs and OS3D developer
Loading...
Searching...
No Matches

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

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

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

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

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

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

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

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

dsEdCtrlTextLine ( ctrlstr  )

Destroy a text line control.

Prototype: fun [EdControl] I

Parameters
EdControl: text line control structure
Returns
I : 0