annotate lisp/term/vt240.el @ 58200:3608b64ba20f

* gtkutil.c (xg_file_sel_ok, xg_file_sel_cancel) (xg_file_sel_destroy): Removed. (xg_file_response_cb, pop_down_file_dialog, xg_get_file_name_from_chooser, xg_get_file_name_from_selector): New functions. (xg_get_file_with_chooser, xg_get_file_with_selection): Take new argument func, set it to xg_get_file_name_from_chooser/selector. Move common code to xg_get_file_name. Return widget created. (xg_get_file_name): Set name, transient for, modal and destroy with parent here. Connect response signal to xg_file_response_cb, connect delete-event to gtk_true. Record pop_down_file_dialog for unwind. Do event loop and call x_menu_wait_for_event in loop. (xg_create_widget): Make dialogs modal.
author Jan Djärv <jan.h.d@swipnet.se>
date Sat, 13 Nov 2004 23:09:11 +0000
parents 695cf19ef79e
children af1c58687bdd 7372c2f9daac 375f2633d815
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
47726
33d53d287ee4 Add "no-byte-compile: t" in first line.
Juanma Barranquero <lekktu@gmail.com>
parents: 38414
diff changeset
1 ;; -*- no-byte-compile: t -*-
3807
8ba66a564213 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 3290
diff changeset
2 ;; For our purposes we can treat the vt200 and vt100 almost alike.
8ba66a564213 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 3290
diff changeset
3 ;; Most differences are handled by the termcap entry.
3290
1064f75f0d34 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
4 (load "term/vt100" nil t)
3807
8ba66a564213 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 3290
diff changeset
5
8ba66a564213 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 3290
diff changeset
6 ;; Make F11 an escape key.
8ba66a564213 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 3290
diff changeset
7 (define-key function-key-map "\e[23~" [?\e])
38414
67b464da13ec Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents: 3807
diff changeset
8
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 47726
diff changeset
9 ;;; arch-tag: d9f88e9c-02dc-49ff-871c-a415f08e4eb7
38414
67b464da13ec Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents: 3807
diff changeset
10 ;;; vt240.el ends here