Motif Internationalization Programming
Text Input

In Motif programming, text input is performed with XmText and XmTextField widgets. You can enter texts that cannot be inputted from the keyboard, such as Japanese characters, directly on these widget by using input methods.

The following are the Motif functions related to text input:

------------------------------------------------------------------------------------
Function			  Description
------------------------------------------------------------------------------------
XmCreateText		    Creates an XmText widget
XmCreateTextField	    Creates an XmTextField widget
XmTextSetString		    Sets a multibyte string to an XmText widget
XmTextSetStringWcs	    Sets a wide character string to an XmText widget
XmTextFieldSetString	    Sets a multibyte string to an XmTextField widget
XmTextFieldSetStringWcs	    Sets a wide character string to an XmTextField widget
XmTextGetString		    Gets a multibyte string from an XmText widget
XmTextGetStringWcs	    Gets a wide character string from an XmText widget
XmTextFieldGetString	    Gets a multibyte string from an XmTextField widget
XmTextFieldGetStringWcs	    Gets a wide character string from an XmTextField widget
------------------------------------------------------------------------------------

Go to Internationalization Programming Top


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