1999-09-27 18:44:28 +00:00
|
|
|
/* This file is part of -*- C++ -*-
|
1999-11-15 12:01:38 +00:00
|
|
|
* ======================================================
|
1999-09-27 18:44:28 +00:00
|
|
|
*
|
|
|
|
* LyX, The Document Processor
|
|
|
|
*
|
|
|
|
* Copyright (C) 1995-1997 Matthias Ettrich
|
|
|
|
* & The LyX team
|
|
|
|
*
|
1999-11-15 12:01:38 +00:00
|
|
|
* ====================================================== */
|
1999-09-27 18:44:28 +00:00
|
|
|
|
|
|
|
/* 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. */
|
|
|
|
|
|
|
|
#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();
|
|
|
|
|