[ Previous | Next | Contents | Glossary | Home | Search ]
Motif 2.1 Widget Writer's Guide


XmeGetEncodingAtom

A toolkit function that returns the encoding of the locale

Format

#include <Xm/TransferP.h>
Atom XmeGetEncodingAtomWidget
widget

DESCRIPTION

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.

RETURN

If XmbTextListToTextProperty returns Success, this function returns an Atom representing the encoding of the locale. Otherwise, the function returns None.

RELATED

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).


[ Previous | Next | Contents | Glossary | Home | Search ]