]> git.lyx.org Git - lyx.git/blob - src/lyxlookup.h
more keyboard/keysym changes
[lyx.git] / src / lyxlookup.h
1 /* This file is part of                   -*- C++ -*-
2 * ====================================================== 
3
4 *           LyX, The Document Processor
5 *        
6 *           Copyright 1995 Matthias Ettrich 
7 *           Copyright 1995-2000 The LyX Team.
8 *
9 * ====================================================== */
10
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
14    keep it as it is. */
15
16 #include <X11/Xlib.h>
17
18 /// Initialize the compose key handling
19 extern void InitLyXLookup(Display *, Window ) ;
20
21 /// Read a keysym and/or a string (like XLookupString)
22 extern int LyXLookupString(XEvent * event,    
23                            char * buffer_return, int bytes_buffer,
24                            KeySym * keysym_return);
25
26 /// Call this when you destroy your window
27 extern void CloseLyXLookup();