Query: xtparsetranslationtable
OS: hpux
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
XtParseTranslationTable() XtParseTranslationTable() Name XtParseTranslationTable - compile a translation table into its internal representation. Synopsis XtTranslations XtParseTranslationTable(table) String table; Inputs table Specifies the translation table to compile. Returns The compiled form of table. Description XtParseTranslationTable() compiles table into its opaque internal representation of type XtTranslations. This compiled form can then be set as the value of a widget's XtNtranslations resource, or merged with a widget's existing translation table with XtAugmentTranslations() or XtOverrideTranslations(). The syntax of the string representation of a translation table is documented in Appendix F. If an empty translation table is required for any purpose, one can be obtained by calling XtParseTranslationTable() and passing an empty string. Usage This function is generally only needed by application writers. When writing a widget, you specify a default translation table as a string, which the Intrinsics automatically parse. You only need to use this function when you want to set translation values from C code; translation tables specified in resource files are automatically compiled by a resource converter. It is also possible to set a translation table with the XtVaTypedArg feature of XtVaCreateWidget() and XtVaSetValues(). This allows you to specify the translation table in string form, and have the appropriate resource converter automatically invoked to compile it. The string table passed to XtParseTranslationTable can be freed after the call if there are no more explicit references to it. See Also XtAugmentTranslations(1), XtOverrideTranslations(1), XtUninstallTranslations(1). Xt - Translations and Actions XtParseTranslationTable()
Related Man Pages |
---|
xtparsetranslationtable(3) - centos |
xtuninstalltranslations(3) - centos |
xtaugmenttranslations(3) - x11r4 |
xtparsetranslationtable(3) - x11r4 |
xtparsetranslationtable(3) - hpux |
Similar Topics in the Unix Linux Community |
---|
How to do SUBSTR in Scripting. |
Parse |
Need shell script |
How to replace string |
create table via stored procedure (passing the table name to it) |