462
|
1 ;;; glade.el --- Import libglade functions into XEmacs
|
|
2
|
|
3 ;; Copyright (C) 2000 Free Software Foundation
|
|
4
|
|
5 ;; Maintainer: William Perry <wmperry@gnu.org>
|
|
6 ;; Keywords: extensions, dumped
|
|
7
|
|
8 ;; This file is part of XEmacs.
|
|
9
|
|
10 ;; XEmacs is free software; you can redistribute it and/or modify it
|
|
11 ;; under the terms of the GNU General Public License as published by
|
|
12 ;; the Free Software Foundation; either version 2, or (at your option)
|
|
13 ;; any later version.
|
|
14
|
|
15 ;; XEmacs is distributed in the hope that it will be useful, but
|
|
16 ;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
18 ;; General Public License for more details.
|
|
19
|
|
20 ;; You should have received a copy of the GNU General Public License
|
|
21 ;; along with XEmacs; see the file COPYING. If not, write to the Free
|
|
22 ;; Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
|
23 ;; 02111-1307, USA.
|
|
24
|
|
25 ;;; Synched up with: Not in FSF
|
|
26
|
|
27 ;;; Commentary:
|
|
28
|
|
29 ;; This file is dumped with XEmacs (if glade was detected)
|
|
30
|
|
31 (eval-and-compile
|
|
32 (require 'gtk-ffi))
|
|
33
|
502
|
34 (globally-declare-fboundp
|
|
35 '(gtk-import-function-internal gtk-call-function))
|
|
36
|
462
|
37 (gtk-import-function none glade_init)
|
|
38 (gtk-import-function none glade_gnome_init)
|
|
39 (gtk-import-function none glade_bonobo_init)
|
|
40 (gtk-import-function none glade_load_module (GtkString . module))
|
|
41 (gtk-import-function GtkType glade_xml_get_type)
|
|
42 (gtk-import-function GtkObject glade_xml_new
|
|
43 (GtkString . filename)
|
|
44 (GtkString . root))
|
|
45 (gtk-import-function GladeXML glade_xml_new_with_domain
|
|
46 (GtkString . filename)
|
|
47 (GtkString . root)
|
|
48 (GtkString . domain))
|
|
49 (gtk-import-function GladeXML glade_xml_new_from_memory
|
|
50 (GtkString . buffer)
|
|
51 (gint . size)
|
|
52 (GtkString . root)
|
|
53 (GtkString . domain))
|
|
54 (gtk-import-function gboolean glade_xml_construct
|
|
55 (GladeXML . self)
|
|
56 (GtkString . filename)
|
|
57 (GtkString . root)
|
|
58 (GtkString . domain))
|
|
59 (gtk-import-function GtkWidget glade_xml_get_widget
|
|
60 (GladeXML . xml)
|
|
61 (GtkString . name))
|
|
62 (gtk-import-function GtkWidget glade_xml_get_widget_by_long_name
|
|
63 (GladeXML . xml)
|
|
64 (GtkString . longname))
|
|
65
|
|
66 (gtk-import-function GtkString glade_get_widget_name (GtkWidget . widget))
|
|
67 (gtk-import-function GtkString glade_get_widget_long_name (GtkWidget . widget))
|
|
68 (gtk-import-function GladeXML glade_get_widget_tree (GtkWidget . widget))
|