r279: Can now set run actions by dragging.
[rox-filer/ma.git] / ROX-Filer / src / gui_support.h
blob2152d618b97635a2d845ff9142e16e33de0e04d9
1 /*
2 * $Id$
4 * ROX-Filer, filer for the ROX desktop project
5 * By Thomas Leonard, <tal197@ecs.soton.ac.uk>.
6 */
8 #ifndef _GUI_SUPPORT_H
9 #define _GUI_SUPPORT_H
11 #include <gtk/gtk.h>
13 #define WIN_STATE_STICKY (1<<0) /* Fixed relative to screen */
14 #define WIN_STATE_HIDDEN (1<<4) /* Not on taskbar but window visible */
15 #define WIN_STATE_FIXED_POSITION (1<<8) /* Window is fixed in position even */
16 #define WIN_STATE_ARRANGE_IGNORE (1<<9) /* Ignore for auto arranging */
18 extern GdkFont *fixed_font;
19 extern GdkFont *item_font;
20 extern GtkStyle *fixed_style;
21 extern gint fixed_width;
23 void gui_support_init();
24 int get_choice(char *title,
25 char *message,
26 int number_of_buttons, ...);
27 void report_error(char *title, char *message);
28 void set_cardinal_property(GdkWindow *window, GdkAtom prop, guint32 value);
29 void make_panel_window(GdkWindow *window);
30 gint hide_dialog_event(GtkWidget *widget, GdkEvent *event, gpointer window);
31 void delayed_error(char *title, char *error);
32 gboolean load_file(char *pathname, char **data_out, long *length_out);
34 #endif /* _GUI_SUPPORT_H */