Mercurial > emacs
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 |
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 | 2 ;; For our purposes we can treat the vt200 and vt100 almost alike. |
3 ;; Most differences are handled by the termcap entry. | |
3290 | 4 (load "term/vt100" nil t) |
3807 | 5 |
6 ;; Make F11 an escape key. | |
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 | 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 |