lwlib-Xm.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /* The lwlib interface to Motif widgets.
  2. Copyright (C) 1992 Lucid, Inc.
  3. This file is part of the Lucid Widget Library.
  4. The Lucid Widget Library is free software; you can redistribute it and/or
  5. modify it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation; either version 1, or (at your option)
  7. any later version.
  8. The Lucid Widget Library is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with GNU Emacs; see the file COPYING. If not, write to
  14. the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
  15. Boston, MA 02110-1301, USA. */
  16. #ifndef LWLIB_XM_H
  17. #define LWLIB_XM_H
  18. #include "lwlib-int.h"
  19. extern widget_creation_entry xm_creation_table [];
  20. Widget
  21. xm_create_dialog (widget_instance* instance);
  22. Boolean
  23. lw_motif_widget_p (Widget widget);
  24. void
  25. xm_update_one_widget (widget_instance* instance, Widget widget,
  26. widget_value* val, Boolean deep_p);
  27. void
  28. xm_update_one_value (widget_instance* instance, Widget widget,
  29. widget_value* val);
  30. void
  31. xm_destroy_instance (widget_instance* instance);
  32. void
  33. xm_set_keyboard_focus (Widget parent, Widget w);
  34. void
  35. xm_popup_menu (Widget widget, XEvent *event);
  36. void
  37. xm_pop_instance (widget_instance* instance, Boolean up);
  38. void
  39. xm_set_main_areas (Widget parent, Widget menubar, Widget work_area);
  40. void
  41. xm_manage_resizing (Widget w, Boolean flag);
  42. #endif /* LWLIB_XM_H */