XmeGetEncodingAtom — A toolkit function that returns the encoding of the locale
#include <Xm/TransferP.h>
Atom XmeGetEncodingAtom
(widget);XmeGetEncodingAtom returns an Atom that represents the encoding of the current locale. This routine calls XmbTextListToTextProperty with the display of the specified widget, a string of characters in the X Portable Character Set, and an encoding style of XTextProperty. The routine returns the Atom returned by XmbTextListToTextProperty as the encoding member of the XTextProperty structure.
widget | Specifies the widget whose display is to be used. |
If XmbTextListToTextProperty returns Success, this function returns an Atom representing the encoding of the locale. Otherwise, the function returns None.
XmQTtransfer(3), XmTransferDone(3), XmTransferValue(3), XmeClipboardSink(3), XmeClipboardSource(3), XmeConvertMerge(3), XmeDragSource(3), XmeDropSink(3), XmePrimarySink(3), XmePrimarySource(3), XmeSecondarySink(3), XmeSecondarySource(3), XmeSecondaryTransfer(3), XmeStandardConvert(3), XmeStandardTargets(3), and XmeTransferAddDoneProc(3).