Mercurial > hg > xemacs-beta
comparison src/glyphs-x.c @ 1346:01c57eb70ae9
[xemacs-hg @ 2003-03-09 02:27:27 by ben]
To: xemacs-patches@xemacs.org
i.c: Sleep between calls to check for I/O, since these calls are non-blocking.
behavior.el: Allow other keywords for forward compatibility.
cl-macs.el: Rewrite to eliminate byte-compiler warning when `return' is used
without `finally'.
cmdloop.el: Avoid truncated error messages for `end-of-file' and the like.
cmdloop.el: Avoid char-int error after syncing.
files.el: Eliminate byte-compile warnings.
printer.el: Fix line-width calculations.
#### This used to work. Someone's changes (perhaps by
Michael Sperber?) seem to have messed something up.
simple.el: Use new clear-left-side functions to avoid messages ending up on
the same line as other output.
xemacs.mak: Add override for info/ as well when separate source/build dirs.
xemacs.mak: Order sections in main build process and add comments. Add
additional dependencies to try and prevent later steps from
happening when failures in earlier steps have occurred.
Makefile.in.in: Order sections in main build process and add comments. Add
additional dependencies to try and prevent later steps from
happening when failures in earlier steps have occurred.
alloc.c: Don't arbitrarily clear Vconfigure_info_directory since it
messes up separate build/source dirs.
console.c, console.h, device-msw.c, device.c: Add accidentally omitted msprinter console and data descriptions.
print.c, console-msw.c: Add clear-left-side functionality to help keep stdio/stderr
output from separate sources on separate lines. Generalize
the different kinds of debugging output. Add dpa().
profile.c: Add better docs on Unix/Windows differences.
regex.c: Fix problems with rel-alloc compilation caused by previous patch.
emacs.c: Seg fault rather than abort on Cygwin, since gdb doesn't trap
aborts properly.
console-gtk-impl.h, console-gtk.h, console-msw.h, console-x-impl.h, console-x.h, dialog-gtk.c, dialog-x.c, event-msw.c, frame-gtk.c, frame-x.c, frameslots.h, glyphs-gtk.c, glyphs-x.c, gui-gtk.c, gui-x.c, inline.c, menubar-gtk.c, menubar-msw.c, menubar-x.c, scrollbar-gtk.c, scrollbar-x.c, ui-gtk.c: Delete popup-data object. Delete menubar_data field from frames,
since its usage is frame-specific. Delete menubar-msw.h,
gui-x.h, gui-gtk.h. Clean up handling of lwlib callback data
GCPRO'ing and add missing GCPRO recomputation in widget code.
author | ben |
---|---|
date | Sun, 09 Mar 2003 02:27:46 +0000 |
parents | b531bf8658e9 |
children | a8d8f419b459 |
comparison
equal
deleted
inserted
replaced
1345:3b27da507d56 | 1346:01c57eb70ae9 |
---|---|
67 #include "process.h" /* egetenv() */ | 67 #include "process.h" /* egetenv() */ |
68 #include "window.h" | 68 #include "window.h" |
69 | 69 |
70 #include "console-x-impl.h" | 70 #include "console-x-impl.h" |
71 #include "glyphs-x.h" | 71 #include "glyphs-x.h" |
72 #ifdef HAVE_X_WIDGETS | |
73 #include "gui-x.h" | |
74 #endif | |
75 #include "objects-x-impl.h" | 72 #include "objects-x-impl.h" |
76 #include "xmu.h" | 73 #include "xmu.h" |
77 | 74 |
78 #include "sysfile.h" | 75 #include "sysfile.h" |
79 #include "sysproc.h" /* for qxe_getpid() */ | 76 #include "sysproc.h" /* for qxe_getpid() */ |
2200 XtGetValues (FRAME_X_TEXT_WIDGET | 2197 XtGetValues (FRAME_X_TEXT_WIDGET |
2201 (XFRAME (IMAGE_INSTANCE_FRAME (p))), al, 2); | 2198 (XFRAME (IMAGE_INSTANCE_FRAME (p))), al, 2); |
2202 } | 2199 } |
2203 | 2200 |
2204 /* now modify the widget */ | 2201 /* now modify the widget */ |
2205 lw_modify_all_widgets (IMAGE_INSTANCE_X_WIDGET_LWID (p), | 2202 lw_modify_all_widgets (IMAGE_INSTANCE_X_WIDGET_LWID (p), wv, True); |
2206 wv, True); | |
2207 free_widget_value_tree (wv); | 2203 free_widget_value_tree (wv); |
2204 gcpro_popup_callbacks (IMAGE_INSTANCE_X_WIDGET_LWID (p)); | |
2208 #endif | 2205 #endif |
2209 } | 2206 } |
2210 | 2207 |
2211 /* instantiate and x type subwindow */ | 2208 /* instantiate and x type subwindow */ |
2212 static void | 2209 static void |
2572 widget_value* wv = | 2569 widget_value* wv = |
2573 gui_items_to_widget_values (image_instance, | 2570 gui_items_to_widget_values (image_instance, |
2574 IMAGE_INSTANCE_WIDGET_ITEMS (p), 1); | 2571 IMAGE_INSTANCE_WIDGET_ITEMS (p), 1); |
2575 | 2572 |
2576 /* now modify the widget */ | 2573 /* now modify the widget */ |
2577 lw_modify_all_widgets (IMAGE_INSTANCE_X_WIDGET_LWID (p), | 2574 lw_modify_all_widgets (IMAGE_INSTANCE_X_WIDGET_LWID (p), wv, True); |
2578 wv, True); | |
2579 free_widget_value_tree (wv); | 2575 free_widget_value_tree (wv); |
2576 gcpro_popup_callbacks (IMAGE_INSTANCE_X_WIDGET_LWID (p)); | |
2580 } | 2577 } |
2581 | 2578 |
2582 /* get properties of a button */ | 2579 /* get properties of a button */ |
2583 static Lisp_Object | 2580 static Lisp_Object |
2584 x_button_property (Lisp_Object image_instance, Lisp_Object prop) | 2581 x_button_property (Lisp_Object image_instance, Lisp_Object prop) |
2764 update_tab_widget_face (wv, ii, | 2761 update_tab_widget_face (wv, ii, |
2765 IMAGE_INSTANCE_FRAME (ii)); | 2762 IMAGE_INSTANCE_FRAME (ii)); |
2766 | 2763 |
2767 lw_modify_all_widgets (IMAGE_INSTANCE_X_WIDGET_LWID (ii), wv, True); | 2764 lw_modify_all_widgets (IMAGE_INSTANCE_X_WIDGET_LWID (ii), wv, True); |
2768 free_widget_value_tree (wv); | 2765 free_widget_value_tree (wv); |
2766 gcpro_popup_callbacks (IMAGE_INSTANCE_X_WIDGET_LWID (ii)); | |
2769 } | 2767 } |
2770 } | 2768 } |
2771 | 2769 |
2772 /* instantiate a static control possible for putting other things in */ | 2770 /* instantiate a static control possible for putting other things in */ |
2773 static void | 2771 static void |