1 /* This file is part of -*- C++ -*-
2 * ======================================================
4 * LyX, The Document Processor
6 * Copyright 1995 Matthias Ettrich
7 * Copyright 1995-2001 The LyX Team.
9 * ====================================================== */
11 /* This header file defines wrappers around the X input method related
12 functions. This should probably be moved into LyXView (to have
13 different input methods for different frames, but for now we can
21 /// Initialize the compose key handling
22 extern void InitLyXLookup(Display *, Window);
24 /// Read a keysym and/or a string (like XLookupString)
25 extern int LyXLookupString(XEvent * event,
26 char * buffer_return, int bytes_buffer,
27 KeySym * keysym_return);
29 /// Call this when you destroy your window
30 extern void CloseLyXLookup();