display dialogs or get user inputs
More...
Functions |
TCAPIEXPORT void | tc_print (const char *text) |
| show text in the output window
|
TCAPIEXPORT void | tc_openUrl (const char *url) |
| open any file or URL using the default app
|
TCAPIEXPORT void | tc_errorReport (const char *text) |
| show error text in the output window
|
TCAPIEXPORT void | tc_printMatrix (tc_matrix data) |
| show table in the output window
|
TCAPIEXPORT void | tc_printFile (const char *filename) |
| show file contents in the output window
|
TCAPIEXPORT void | tc_clear () |
| cleat the contents in the output window
|
TCAPIEXPORT void | tc_createInputWindowForScript (tc_matrix input, const char *title, const char *functionname) |
| create an input window that will call a function in the console window with the arguments from the input matrix
|
TCAPIEXPORT void | tc_createInputWindow (tc_matrix input, const char *title, void(*f)(tc_matrix)) |
| create an input window that will call a function
|
TCAPIEXPORT void | tc_addInputWindowOptions (const char *title, int i, int j, tc_strings options) |
| add options to an existing input window at the i,j-th cell. Options will appear in a list
|
TCAPIEXPORT void | tc_addInputWindowCheckbox (const char *title, int i, int j) |
| add a yes or no type of option to an existing input window at the i,j-th cell
|
TCAPIEXPORT void | tc_openNewWindow (const char *title) |
| open a new graphics window
|
Detailed Description
display dialogs or get user inputs
Function Documentation
TCAPIEXPORT void tc_addInputWindowCheckbox |
( |
const char * |
title, |
|
|
int |
i, |
|
|
int |
j |
|
) |
| |
add a yes or no type of option to an existing input window at the i,j-th cell
- Parameters:
-
int | row number |
int | column number |
TCAPIEXPORT void tc_addInputWindowOptions |
( |
const char * |
title, |
|
|
int |
i, |
|
|
int |
j, |
|
|
tc_strings |
options |
|
) |
| |
add options to an existing input window at the i,j-th cell. Options will appear in a list
- Parameters:
-
string | name of an input window that was just created |
int | row number |
int | column number |
tc_string | place these options (drop-down meny) at the (row,column) location of the table |
TCAPIEXPORT void tc_createInputWindow |
( |
tc_matrix |
input, |
|
|
const char * |
title, |
|
|
void(*)(tc_matrix) |
f |
|
) |
| |
create an input window that will call a function
- Parameters:
-
tc_matrix | input window's arguments a default values |
string | name of this program |
void* | pointer to a 1-argument function that takes tc_matrix argument |
TCAPIEXPORT void tc_createInputWindowForScript |
( |
tc_matrix |
input, |
|
|
const char * |
title, |
|
|
const char * |
functionname |
|
) |
| |
create an input window that will call a function in the console window with the arguments from the input matrix
- Parameters:
-
tc_matrix | input window's arguments a default values |
string | name of the program |
string | name of function |
TCAPIEXPORT void tc_errorReport |
( |
const char * |
text | ) |
|
show error text in the output window
- Parameters:
-
TCAPIEXPORT void tc_openNewWindow |
( |
const char * |
title | ) |
|
open a new graphics window
- Parameters:
-
string | title of the new window |
TCAPIEXPORT void tc_openUrl |
( |
const char * |
url | ) |
|
open any file or URL using the default app
- Parameters:
-
TCAPIEXPORT void tc_print |
( |
const char * |
text | ) |
|
show text in the output window
- Parameters:
-
TCAPIEXPORT void tc_printFile |
( |
const char * |
filename | ) |
|
show file contents in the output window
- Parameters:
-
TCAPIEXPORT void tc_printMatrix |
( |
tc_matrix |
data | ) |
|
show table in the output window
- Parameters:
-