annotate lwlib/lwlib-Xm.h @ 83342:9216636c02fc

Rename `struct display' to `struct device'. Update function, parameter and variable names accordingly. * src/termhooks.h (struct device): Rename to `struct device'. Rename member `next_display' to `next_device'. Rename member `delete_display_hook' to `delete_device_hook'. (FRAME_DISPLAY): Rename to FRAME_DEVICE. (DISPLAY_ACTIVE_P): Rename to DEVICE_ACTIVE_P. (DISPLAY_TERMINAL_CODING): Rename to DEVICE_TERMINAL_CODING. (DISPLAY_KEYBOARD_CODING): Rename to DEVICE_KEYBOARD_CODING. * src/frame.h (stuct frame): Rename `display' member to `device'. * src/xterm.h (x_display_info): Rename member `frame_display' to `device'. * src/termchar.h (struct tty_display_info): Rename `display' member to `device'. * src/keyboard.c (push_display_kboard): Rename to push_device_kboard. * lisp/frame.el (make-frame): Rename frame parameter `display-id' to `device'. * src/frame.c (Fmake_terminal_frame): Ditto. * src/xfns.c (Fx_create_frame): Ditto. * src/term.c (display_list): Rename to device_list. * src/term.c (initial_display): Rename to initial_device. * src/term.c (next_display_id): Rename to next_device_id. * src/term.c (get_display): Rename to get_device. * src/term.c (get_tty_display): Rename to get_tty_device. * src/term.c (get_named_tty_display): Rename to get_named_tty. * src/term.c (init_initial_display): Rename to init_initial_device. * src/term.c (delete_initial_display): Rename to delete_initial_device. * src/term.c (create_display): Rename to create_device. * src/term.c (delete_display): Rename to delete_device. * src/xfns.c (check_x_display_info): Document that the function allows display ids as well. * src/xterm.c (x_delete_frame_display): Rename to x_delete_device. * src/xterm.c (x_create_frame_display): Rename to x_create_device. * src/coding.c: Update. * src/dispextern.h: Update. * src/data.c: Update. * src/dispnew.c: Update. * src/frame.c: Update. * src/frame.h: Update. * src/keyboard.c: Update. * src/keyboard.h: Update. * src/lisp.h: Update. * src/sysdep.c: Update. * src/term.c: Update. * src/xdisp.c: Update. * src/xselect.c: Update. * src/xterm.c: Update. * src/prefix-args.c: Include stdlib.h for exit. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-382
author Karoly Lorentey <lorentey@elte.hu>
date Mon, 11 Jul 2005 00:05:55 +0000
parents 23a17af379b1
children 6358e3c6075c f9a65d7ebd29
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
60666
5b0e15f7d88d Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 52401
diff changeset
1 /* The lwlib interface to Motif widgets.
5b0e15f7d88d Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 52401
diff changeset
2 Copyright (C) 1994, 2000 Free Software Foundation, Inc.
5b0e15f7d88d Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 52401
diff changeset
3 Copyright (C) 1992 Lucid, Inc.
5b0e15f7d88d Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 52401
diff changeset
4
5b0e15f7d88d Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 52401
diff changeset
5 This file is part of the Lucid Widget Library.
5b0e15f7d88d Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 52401
diff changeset
6
5b0e15f7d88d Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 52401
diff changeset
7 The Lucid Widget Library is free software; you can redistribute it and/or
5b0e15f7d88d Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 52401
diff changeset
8 modify it under the terms of the GNU General Public License as published by
5b0e15f7d88d Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 52401
diff changeset
9 the Free Software Foundation; either version 2, or (at your option)
5b0e15f7d88d Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 52401
diff changeset
10 any later version.
5b0e15f7d88d Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 52401
diff changeset
11
5b0e15f7d88d Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 52401
diff changeset
12 The Lucid Widget Library is distributed in the hope that it will be useful,
5b0e15f7d88d Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 52401
diff changeset
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
5b0e15f7d88d Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 52401
diff changeset
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
5b0e15f7d88d Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 52401
diff changeset
15 GNU General Public License for more details.
5b0e15f7d88d Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 52401
diff changeset
16
5b0e15f7d88d Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 52401
diff changeset
17 You should have received a copy of the GNU General Public License
5b0e15f7d88d Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 52401
diff changeset
18 along with GNU Emacs; see the file COPYING. If not, write to
64083
23a17af379b1 Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 60666
diff changeset
19 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
23a17af379b1 Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 60666
diff changeset
20 Boston, MA 02110-1301, USA. */
60666
5b0e15f7d88d Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 52401
diff changeset
21
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
22 #ifndef LWLIB_XM_H
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
23 #define LWLIB_XM_H
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
24
5627
7ff2d6076466 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
25 #include "lwlib-int.h"
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
26
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
27 extern widget_creation_entry xm_creation_table [];
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
28
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 29466
diff changeset
29 Widget
29466
6ed38ee607e9 Enable prototypes.
Dave Love <fx@gnu.org>
parents: 15636
diff changeset
30 xm_create_dialog __P ((widget_instance* instance));
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
31
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
32 Boolean
29466
6ed38ee607e9 Enable prototypes.
Dave Love <fx@gnu.org>
parents: 15636
diff changeset
33 lw_motif_widget_p __P ((Widget widget));
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
34
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
35 void
29466
6ed38ee607e9 Enable prototypes.
Dave Love <fx@gnu.org>
parents: 15636
diff changeset
36 xm_update_one_widget __P ((widget_instance* instance, Widget widget,
6ed38ee607e9 Enable prototypes.
Dave Love <fx@gnu.org>
parents: 15636
diff changeset
37 widget_value* val, Boolean deep_p));
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
38
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
39 void
29466
6ed38ee607e9 Enable prototypes.
Dave Love <fx@gnu.org>
parents: 15636
diff changeset
40 xm_update_one_value __P ((widget_instance* instance, Widget widget,
6ed38ee607e9 Enable prototypes.
Dave Love <fx@gnu.org>
parents: 15636
diff changeset
41 widget_value* val));
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
42
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
43 void
29466
6ed38ee607e9 Enable prototypes.
Dave Love <fx@gnu.org>
parents: 15636
diff changeset
44 xm_destroy_instance __P ((widget_instance* instance));
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
45
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
46 void
29466
6ed38ee607e9 Enable prototypes.
Dave Love <fx@gnu.org>
parents: 15636
diff changeset
47 xm_set_keyboard_focus __P ((Widget parent, Widget w));
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
48
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
49 void
29466
6ed38ee607e9 Enable prototypes.
Dave Love <fx@gnu.org>
parents: 15636
diff changeset
50 xm_popup_menu __P ((Widget widget, XEvent *event));
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
51
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
52 void
29466
6ed38ee607e9 Enable prototypes.
Dave Love <fx@gnu.org>
parents: 15636
diff changeset
53 xm_pop_instance __P ((widget_instance* instance, Boolean up));
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
54
9091
557a04cd151b entered into RCS
Paul Reilly <pmr@pajato.com>
parents: 5627
diff changeset
55 void
29466
6ed38ee607e9 Enable prototypes.
Dave Love <fx@gnu.org>
parents: 15636
diff changeset
56 xm_set_main_areas __P ((Widget parent, Widget menubar, Widget work_area));
9091
557a04cd151b entered into RCS
Paul Reilly <pmr@pajato.com>
parents: 5627
diff changeset
57
9225
9e28a8ef9cad Declare xm_set_main_areas() and xm_manage_resizing().
Paul Reilly <pmr@pajato.com>
parents: 9091
diff changeset
58 void
29466
6ed38ee607e9 Enable prototypes.
Dave Love <fx@gnu.org>
parents: 15636
diff changeset
59 xm_manage_resizing __P ((Widget w, Boolean flag));
9225
9e28a8ef9cad Declare xm_set_main_areas() and xm_manage_resizing().
Paul Reilly <pmr@pajato.com>
parents: 9091
diff changeset
60
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
61 #endif /* LWLIB_XM_H */
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49600
diff changeset
62
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49600
diff changeset
63 /* arch-tag: 61561304-c146-437b-8ed3-dc33818703c6
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49600
diff changeset
64 (do not change this comment) */