1 ;;; gdk.el --- Import GDK functions into XEmacs
3 ;; Copyright (C) 2000 Free Software Foundation
5 ;; Maintainer: William Perry <wmperry@gnu.org>
6 ;; Keywords: extensions, dumped
8 ;; This file is part of XEmacs.
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)
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.
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
25 ;;; Synched up with: Not in FSF
29 ;; This file is dumped with XEmacs.
34 (gtk-import-function nil gdk_set_show_events (gboolean . show_events))
35 (gtk-import-function nil gdk_set_use_xshm (gboolean . use_xshm))
36 (gtk-import-function GtkString gdk_get_display)
37 (gtk-import-function nil gdk_flush)
38 (gtk-import-function nil gdk_beep)
40 (gtk-import-function nil gdk_key_repeat_disable)
41 (gtk-import-function nil gdk_key_repeat_restore)
43 (gtk-import-function gint gdk_visual_get_best_depth)
44 (gtk-import-function GdkVisualType gdk_visual_get_best_type)
45 (gtk-import-function GdkVisual gdk_visual_get_system)
46 (gtk-import-function GdkVisual gdk_visual_get_best)
47 (gtk-import-function GdkVisual gdk_visual_get_best_with_depth (gint . depth))
48 (gtk-import-function GdkVisual gdk_visual_get_best_with_type (GdkVisualType . visual_type))
49 (gtk-import-function GdkVisual gdk_visual_get_best_with_both
51 (GdkVisualType . visual_type))
53 (gtk-import-function gboolean gdk_window_is_visible (GdkWindow . window))
54 (gtk-import-function gboolean gdk_window_is_viewable (GdkWindow . window))
56 (gtk-import-function gboolean gdk_window_set_static_gravities
58 (gboolean . use_static))
60 (gtk-import-function nil gdk_window_set_cursor
64 (gtk-import-function GdkVisual gdk_window_get_visual (GdkWindow . window))
65 (gtk-import-function GdkWindowType gdk_window_get_type (GdkWindow . window))
66 (gtk-import-function GdkWindow gdk_window_get_parent (GdkWindow . window))
67 (gtk-import-function GdkWindow gdk_window_get_toplevel (GdkWindow . window))
68 (gtk-import-function GdkEventMask gdk_window_get_events (GdkWindow . window))
69 (gtk-import-function none gdk_window_set_events (GdkWindow . window) (GdkEventMask . events))
70 (gtk-import-function none gdk_window_set_icon
72 (GdkWindow . icon_window)
75 (gtk-import-function none gdk_window_set_icon_name (GdkWindow . window) (GtkString . name))
76 (gtk-import-function none gdk_window_set_group (GdkWindow . window) (GdkWindow . leader))
77 (gtk-import-function none gdk_window_set_decorations
79 (GdkWMDecoration . decorations))
80 (gtk-import-function none gdk_window_set_functions
82 (GdkWMFunction . functions))
84 ;; Cursors are handled by glyphs in XEmacs
85 ;; GCs are handled by faces in XEmacs
86 ;; Pixmaps are handled by glyphs in XEmacs
87 ;; Images are handled by glyphs in XEmacs
88 ;; Colors are handled natively by XEmacs
89 ;; Fonts are handled natively by XEmacs
91 (gtk-import-function none gdk_draw_point
92 (GdkDrawable . drawable)
96 (gtk-import-function none gdk_draw_line
97 (GdkDrawable . drawable)
103 (gtk-import-function none gdk_draw_rectangle
104 (GdkDrawable . drawable)
111 (gtk-import-function none gdk_draw_arc
112 (GdkDrawable . drawable)
121 (gtk-import-function none gdk_draw_string
122 (GdkDrawable . drawable)
127 (GtkString . string))
128 (gtk-import-function none gdk_draw_text
129 (GdkDrawable . drawable)
135 (gint . text_length))
136 (gtk-import-function none gdk_draw_pixmap
137 (GdkDrawable . drawable)
147 ;; Selections are handled natively by XEmacs