- Publicity: Public Only All
30-widget-procs.tcl
XOTcl HTML Widget Classes based on tDOM
- Location:
- packages/xotcl-core/tcl/30-widget-procs.tcl
- Created:
- 2005-11-26
- Authors:
- Gustaf Neumann <neumann@wu-wien.ac.at>
- Neophytos Demetriou <k2pts@phigita.net>
- CVS Identification:
$Id: 30-widget-procs.tcl,v 1.75 2026/11/13 17:32:43 gustafn Exp $
Procedures in this file
- xo::backslash_escape (public)
- xo::escape_message_keys (public, deprecated)
- xo::get_user_name (public)
- xo::localize (public)
- xo::remove_escapes (public, deprecated)
Detailed information
xo::backslash_escape (public)
xo::backslash_escape char string
Prefix each occurrence of a character with a backslash.
- Parameters:
- char (required)
- Character to escape.
- string (required)
- Text to process.
- Returns:
- The escaped text.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
xo::escape_message_keys (public, deprecated)
xo::escape_message_keys text
Deprecated. Invoking this procedure generates a warning.
Protect literal message keys from localization.
- Parameters:
- text (required)
- See Also:
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
xo::get_user_name (public)
xo::get_user_name uid
Look up the name of a person.
- Parameters:
- uid (required)
- Person ID.
- Returns:
- The name, or the localized nobody label if no name is available.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
xo::localize (public)
xo::localize text [ inline ]
Process translator-mode markers in text from an XOTcl rendering method.
- Parameters:
- text (required)
- Text containing translator-mode markers.
- inline (optional, defaults to
"0")- If true, insert editing controls inline. Otherwise, queue them on the calling object for rendering by xo::render_localizer.
- Returns:
- Text with translator-mode markers processed.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
xo::remove_escapes (public, deprecated)
xo::remove_escapes text
Deprecated. Invoking this procedure generates a warning.
Restore literal message keys after localization.
- Parameters:
- text (required)
- See Also:
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.