Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sjxlib(3X11) — NEWS-os 4.1C

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XLookupString(3X11)

Xlc(3X11)

SJXLIB(3X11)  —  NEWS-OS Programmer’s Manual

NAME

SJXGetString − SJX kana/kanji conversion and communication library

FUNCTION CALL

SJXGetString (event_struct, buffer_return, bytes_buffer, keysym_return, status_in_out)
XKeyEvent∗event_struct;
char∗buffer_return;
intbytes_buffer;
KeySym∗keysym_return;
XComposeStatus∗status_in_out;
 

DESCRIPTION

Applications can be connected to the SJX kana/kanji conversion server and obtain the results of conversion through the use of this SJX kana/kanji conversion and communication library. 
 
By having clients which receive KeyPress events pass those events to SJXGetString, it is possible for them to communicate directly with the SJX kana/kanji conversion server and obtain the results of conversion.  SJXGetString accepts the same arguments as the function XLookupString. 
 

event_structSpecifies the KeyPress or KeyRelease event. 

buffer_returnReturns converted character codes. 

bytes_bufferSpecifies the size of the buffer in bytes. 

keysym_return
Returns KeySym as calculated by the event as long as the argument is not null.

status_in_out
Specifies and returns the structure XComposeStatus or is null.

displaySpecifies the display. 
 

SEE ALSO

XLookupString(3X11), Xlc(3X11)

NEWS-OSRelease 4.1C

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026