home *** CD-ROM | disk | FTP | other *** search
/ Dream 52 / Amiga_Dream_52.iso / Linux / Divers / lyx-0.13.2.tar.gz / lyx-0.13.2.tar / lyx-0.13.2 / src / lyxlookup.h < prev    next >
C/C++ Source or Header  |  1998-04-23  |  930b  |  30 lines

  1. /* This file is part of                   -*- C++ -*-
  2. * ======================================================
  3. *           LyX, The Document Processor
  4. *      
  5. *        Copyright (C) 1995-1997 Matthias Ettrich 
  6. *                                    & The LyX team
  7. *
  8. *======================================================*/
  9.  
  10. /* This header file defines wrappers around the X input method related
  11.    functions. This should probably be moved into LyXView (to have
  12.    different input methods for different frames, but for now we can
  13.    keep it as it is. */
  14.  
  15. #include <config.h>
  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();
  28.  
  29.