Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/widget_ref/pt/ptterminalcreatecsxlat.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/widget_ref/pt/ptterminalcreatecsxlat.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/widget_ref/pt/ptterminalcreatecsxlat.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/widget_ref/pt/ptterminalcreatecsxlat.html on line 8
Create a translation table for PtTerminal's character sets
PtTerminalCsXlatData_t *PtTerminalCreateCsXlat(
PtTerminalCharsets_t const *csets );
This function creates a translation table for the character sets used by
PtTerminal.
The PtTerminalCsXlatData_t structure is for internal use
only; you must use this function to create it.
The csets argument is a pointer to a
PtTerminalCharsets_t
structure that defines the character sets and their translation.
A pointer to a PtTerminalCsXlatData_t structure that you
can use to set the
Pt_ARG_TERM_CHARSETS
resource of a PtTerminal widget.
|
PtTerminalCreateCsXlat() doesn't make a copy of the
PtTerminalCharsets_t structure pointed to by
csets, and PtTerminal doesn't make a copy of
the PtTerminalCsXlatData_t structure when you set
Pt_ARG_TERM_CHARSETS.
Don't free these structures until they're no longer needed by any widget.
The PtTerminalCsXlatData_t structure created by
PtTerminalCreateCsXlat() is placed in a single allocated block of
memory. When it's no longer needed, you can simply free() it. |
Photon
Safety: | |
Interrupt handler |
No |
Signal handler |
No |
Thread |
No |
PtTerminal,
Pt_ARG_TERM_CHARSETS,
PtTerminalCharsets_t
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/widget_ref/pt/ptterminalcreatecsxlat.html on line 112
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/widget_ref/pt/ptterminalcreatecsxlat.html on line 112