Added cs to the list of languages
[midnight-commander.git] / gnome / gmain.h
blobd905283e79e6ebe1753fb94d44b6437e1984ba34
1 #ifndef __GMC_MAIN_H
2 #define __GMC_MAIN_H
3 #include "dlg.h"
4 #include "panel.h"
5 #include "widget.h"
6 #include "info.h"
8 int xtoolkit_init (int *argc, char *argv []);
9 void xtoolkit_end (void);
11 extern Dlg_head *desktop_dlg;
12 extern int nowindows;
14 /* Required by the standard code */
15 widget_data xtoolkit_create_dialog (Dlg_head *h, int with_grid);
16 widget_data xtoolkit_get_main_dialog (Dlg_head *h);
17 void x_dlg_set_window (Dlg_head *h, GtkWidget *win);
18 widget_data x_create_panel_container (int which);
19 void x_panel_container_show (widget_data wdata);
20 void x_destroy_cmd (void *);
21 int x_create_radio (Dlg_head *h, widget_data parent, WRadio *r);
22 int x_create_check (Dlg_head *h, widget_data parent, WCheck *c);
23 int x_create_label (Dlg_head *h, widget_data parent, WLabel *l);
24 int x_create_input (Dlg_head *h, widget_data parent, WInput *in);
25 int x_create_listbox (Dlg_head *h, widget_data parent, WListbox *l);
26 int x_create_buttonbar (Dlg_head *h, widget_data parent, WButtonBar *bb);
27 void x_filter_changed (WPanel *panel);
28 void x_list_insert (WListbox *l, WLEntry *p, WLEntry *e);
29 void x_redefine_label (WButtonBar *bb, int idx);
30 void x_add_widget (Dlg_head *h, Widget_Item *w);
31 int translate_gdk_keysym_to_curses (GdkEventKey *event);
32 void gnome_init_panels ();
33 void set_current_panel (int index);
34 void bind_gtk_keys (GtkWidget *w, Dlg_head *h);
35 WPanel *new_panel_at (char *dir);
36 WPanel *new_panel_with_geometry_at (char *dir, char *geometry);
37 void layout_panel_gone (WPanel *panel);
38 void gtkrundlg_event (Dlg_head *h);
39 int gmc_open (file_entry *fe);
40 int gmc_open_filename (char *fname, GList *args);
41 int gmc_view (char *filename, int start_line);
42 void x_show_info (WInfo *info, struct my_statfs *s, struct stat *b);
43 void x_create_info (Dlg_head *h, widget_data parent, WInfo *info);
45 void gmc_window_setup_from_panel (GnomeDialog *dialog, WPanel *panel);
47 struct gmc_color_pairs_s {
48 GdkColor *fore, *back;
51 extern struct gmc_color_pairs_s gmc_color_pairs [];
52 #endif