r110: Added a option for using RISC OS mouse bindings to the options box, although
[rox-filer.git] / ROX-Filer / src / gui_support.h
blob54c87b2e2041db85b3788c16f8ffedd7979b190d
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 void gui_support_init();
19 int get_choice(char *title,
20 char *message,
21 int number_of_buttons, ...);
22 void report_error(char *title, char *message);
23 void set_cardinal_property(GdkWindow *window, GdkAtom prop, guint32 value);
24 void make_panel_window(GdkWindow *window);
25 gint hide_dialog_event(GtkWidget *widget, GdkEvent *event, gpointer window);
26 void delayed_error(char *title, char *error);
27 gboolean load_file(char *pathname, char **data_out, long *length_out);
29 #endif /* _GUI_SUPPORT_H */