X Window System (Xlib) Internationalization Programming
Inter-Client Communication

When you cut a text from a window of a certain process and paste it into a window of another process, inter-process communication is performed between these processes. In international X programming, text is transferred as a text property of a compound text, a multilingual text format.

The following are international X library functions related to inter-client communication:

----------------------------------------------------------------------------------
Function		      Description
----------------------------------------------------------------------------------
XmbTextListToTextProperty     Converts a multibyte string to a text property
XwcTextListToTextProperty     Converts a wide-character string to a text property
XmbTextPropertyToTextList     Converts a text property to a multibyte string
XwcTextPropertyToTextList     Converts a text property to a wide character string
XFreeStringList		      Frees the memory of a list of multibyte string
XwcFreeStringList	      Frees the memory of a list of wide character string
XmbSetWMProperties	      Sets the title and icon name of a window
XSetWMProperties	      Sets the title and icon name of a window
XSetWMName		      Sets the title of a window
XSetWMIconName		      Sets the icon name of a window
----------------------------------------------------------------------------------
The following are the mappings of international functions and non-international functions regarding inter-client communication:
--------------------------------------------------------------------------------------
Non-international	      International function	    International function
function		      (wide character)		    (multibyte character)
--------------------------------------------------------------------------------------
XStringListToTextProperty     XwcTextListToTextProperty     XmbTextListToTextProperty	
XTextPropertyToStringList     XwcTextPropertyToTextList	    XmbTextPropertyToTextList
--------------------------------------------------------------------------------------

Go to Internationalization Programming Top


Copyright (C) 2012 Kokusaika JP, Inc.
All rights reserved. No reproduction or republication without written permission.