1 extern GtkStyle
*input_style
;
2 extern GtkWidget
*parent_window
;
4 void mg_changui_new (session
*sess
, restore_gui
*res
, int tab
, int focus
);
5 void mg_update_xtext (GtkWidget
*wid
);
6 void mg_open_quit_dialog (gboolean minimize_button
);
7 void mg_switch_page (int relative
, int num
);
8 void mg_move_tab (session
*, int delta
);
9 void mg_move_tab_family (session
*, int delta
);
10 void mg_bring_tofront (GtkWidget
*vbox
);
11 void mg_bring_tofront_sess (session
*sess
);
12 void mg_decide_userlist (session
*sess
, gboolean switch_to_current
);
13 void mg_set_topic_tip (session
*sess
);
14 GtkWidget
*mg_create_generic_tab (char *name
, char *title
, int force_toplevel
, int link_buttons
, void *close_callback
, void *userdata
, int width
, int height
, GtkWidget
**vbox_ret
, void *family
);
15 void mg_set_title (GtkWidget
*button
, char *title
);
16 void mg_set_access_icon (session_gui
*gui
, GdkPixbuf
*pix
, gboolean away
);
17 void mg_apply_setup (void);
18 void mg_close_sess (session
*);
19 void mg_tab_close (session
*sess
);
20 void mg_detach (session
*sess
, int mode
);
21 void mg_progressbar_create (session_gui
*gui
);
22 void mg_progressbar_destroy (session_gui
*gui
);
23 void mg_dnd_drop_file (session
*sess
, char *target
, char *uri
);
24 void mg_change_layout (int type
);
25 void mg_update_meters (session_gui
*);
26 void mg_inputbox_cb (GtkWidget
*igad
, session_gui
*gui
);
27 void mg_create_icon_item (char *label
, char *stock
, GtkWidget
*menu
, void *callback
, void *userdata
);
28 GtkWidget
*mg_submenu (GtkWidget
*menu
, char *text
);
30 gboolean
mg_drag_begin_cb (GtkWidget
*widget
, GdkDragContext
*context
, gpointer userdata
);
31 void mg_drag_end_cb (GtkWidget
*widget
, GdkDragContext
*context
, gpointer userdata
);
32 gboolean
mg_drag_drop_cb (GtkWidget
*widget
, GdkDragContext
*context
, int x
, int y
, guint time
, gpointer user_data
);
33 gboolean
mg_drag_motion_cb (GtkWidget
*widget
, GdkDragContext
*context
, int x
, int y
, guint time
, gpointer user_data
);