lyx_mirror/src/frontends/xforms/lyxlookup.h

32 lines
859 B
C
Raw Normal View History

/**
* \file lyxlookup.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author unknown
*
* Full author contact details are available in file CREDITS
*/
/* This header file defines wrappers around the X input method related
functions. This should probably be moved into LyXView (to have
different input methods for different frames, but for now we can
keep it as it is. */
#ifndef LYXLOOKUP_H
#define LYXLOOKUP_H
#include <X11/Xlib.h>
/// Initialize the compose key handling
extern void InitLyXLookup(Display *, Window);
/// Read a keysym and/or a string (like XLookupString)
extern int LyXLookupString(XEvent * event,
char * buffer_return, int bytes_buffer,
KeySym * keysym_return);
/// Call this when you destroy your window
extern void CloseLyXLookup();
#endif