1 /* Implements elisp-programmable dialog boxes -- Gtk interface.
2 Copyright (C) 1993, 1994 Free Software Foundation, Inc.
3 Copyright (C) 1995 Tinker Systems and INS Engineering Corp.
5 This file is part of SXEmacs
7 SXEmacs is free software: you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation, either version 3 of the License, or
10 (at your option) any later version.
12 SXEmacs is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program. If not, see <http://www.gnu.org/licenses/>. */
21 /* Synched up with: Not in FSF. */
26 #include "console-gtk.h"
30 #include "commands.h" /* zmacs_regions */
31 #include "events/events.h"
35 #include "ui/window.h"
37 Lisp_Object Qgtk_make_dialog_box_internal;
39 /* We just bounce up into lisp here... see $(srcdir)/lisp/dialog-gtk.el */
41 gtk_make_dialog_box_internal(struct frame *f, Lisp_Object type,
44 return (call2(Qgtk_make_dialog_box_internal, type, keys));
47 void syms_of_dialog_gtk(void)
49 defsymbol(&Qgtk_make_dialog_box_internal,
50 "gtk-make-dialog-box-internal");
53 void console_type_create_dialog_gtk(void)
55 CONSOLE_HAS_METHOD(gtk, make_dialog_box_internal);
58 void vars_of_dialog_gtk(void)
60 Fprovide(intern("gtk-dialogs"));