comparison src/gtkutil.h @ 53069:1218a42792ea

Implement multiple display handling for GTK.
author Jan Djärv <jan.h.d@swipnet.se>
date Sun, 16 Nov 2003 16:05:24 +0000
parents 54482f5ea7be
children 5817080daeba
comparison
equal deleted inserted replaced
53068:6c9f84d07fa3 53069:1218a42792ea
150 150
151 extern int xg_update_frame_menubar P_ ((FRAME_PTR f)); 151 extern int xg_update_frame_menubar P_ ((FRAME_PTR f));
152 152
153 extern int xg_have_tear_offs P_ ((void)); 153 extern int xg_have_tear_offs P_ ((void));
154 154
155 extern int xg_get_scroll_id_for_window P_ ((Window wid)); 155 extern int xg_get_scroll_id_for_window P_ ((Display *dpy, Window wid));
156 156
157 extern void xg_create_scroll_bar P_ ((FRAME_PTR f, 157 extern void xg_create_scroll_bar P_ ((FRAME_PTR f,
158 struct scroll_bar *bar, 158 struct scroll_bar *bar,
159 GCallback scroll_callback, 159 GCallback scroll_callback,
160 char *scroll_bar_name)); 160 char *scroll_bar_name));
182 extern void xg_resize_widgets P_ ((FRAME_PTR f, 182 extern void xg_resize_widgets P_ ((FRAME_PTR f,
183 int pixelwidth, 183 int pixelwidth,
184 int pixelheight)); 184 int pixelheight));
185 extern void xg_frame_cleared P_ ((FRAME_PTR f)); 185 extern void xg_frame_cleared P_ ((FRAME_PTR f));
186 extern void xg_frame_set_char_size P_ ((FRAME_PTR f, int cols, int rows)); 186 extern void xg_frame_set_char_size P_ ((FRAME_PTR f, int cols, int rows));
187 extern GtkWidget * xg_win_to_widget P_ ((Window)); 187 extern GtkWidget * xg_win_to_widget P_ ((Display *dpy, Window wdesc));
188
189 extern int xg_display_open P_ ((char *display_name, Display **dpy));
190 extern void xg_display_close P_ ((Display *dpy));
191 extern GdkCursor * xg_create_default_cursor P_ ((Display *dpy));
192
188 extern int xg_create_frame_widgets P_ ((FRAME_PTR f)); 193 extern int xg_create_frame_widgets P_ ((FRAME_PTR f));
189 extern void x_wm_set_size_hint P_ ((FRAME_PTR f, 194 extern void x_wm_set_size_hint P_ ((FRAME_PTR f,
190 long flags, 195 long flags,
191 int user_position)); 196 int user_position));
192 extern void xg_set_background_color P_ ((FRAME_PTR f, unsigned long bg)); 197 extern void xg_set_background_color P_ ((FRAME_PTR f, unsigned long bg));