00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #ifndef _gtk_main_cb_h_
00027 #define _gtk_main_cb_h_
00028
00029 #include "gui.h"
00030
00031
00032
00033
00034 void on_button_quit_clicked(GtkButton *button, gpointer user_data);
00035 gboolean on_main_window_delete_event(
00036 GtkWidget *widget, GdkEvent *event, gpointer user_data);
00037
00038
00039
00040
00041 void on_menu_about_activate(GtkMenuItem * menuitem, gpointer user_data);
00042 void on_menu_faq_activate(GtkMenuItem * menuitem, gpointer user_data);
00043 void on_menu_prefs_activate(GtkMenuItem * menuitem, gpointer user_data);
00044
00045
00046
00047
00048
00049 void on_button_about_close_clicked(GtkButton *button, gpointer user_data);
00050 gboolean on_dlg_about_delete_event(
00051 GtkWidget *widget, GdkEvent *event, gpointer user_data);
00052
00053
00054
00055
00056
00057 void
00058 on_menu_keyboard_shortcuts_activate(GtkMenuItem *unused_menuitem,
00059 gpointer unused_udata);
00060
00061
00062
00063
00064 void on_button_faq_close_clicked(GtkButton *button, gpointer user_data);
00065 gboolean on_dlg_faq_delete_event(
00066 GtkWidget *widget, GdkEvent *event, gpointer user_data);
00067
00068
00069
00070
00071 void on_button_prefs_close_clicked(GtkButton *button, gpointer user_data);
00072 gboolean on_dlg_prefs_delete_event(
00073 GtkWidget *widget, GdkEvent *event, gpointer user_data);
00074
00075
00076
00077
00078
00079 void on_button_really_quit_clicked(GtkButton *button,gpointer user_data);
00080 void on_button_abort_quit_clicked(GtkButton *button, gpointer user_data);
00081 gboolean on_dlg_quit_delete_event(
00082 GtkWidget *widget, GdkEvent *event, gpointer user_data);
00083
00084
00085
00086
00087 void on_menu_net_connections_activate(GtkMenuItem *unused_menuitem,
00088 gpointer unused_udata);
00089 void on_menu_net_stats_activate(GtkMenuItem *unused_menuitem,
00090 gpointer unused_udata);
00091 void on_menu_net_hostcache_activate(GtkMenuItem *unused_menuitem,
00092 gpointer unused_udata);
00093 void on_menu_uploads_transfers_activate(GtkMenuItem *unused_menuitem,
00094 gpointer unused_udata);
00095 void on_menu_uploads_history_activate(GtkMenuItem *unused_menuitem,
00096 gpointer unused_udata);
00097 void on_menu_downloads_files_activate(GtkMenuItem *unused_menuitem,
00098 gpointer unused_udata);
00099 void on_menu_downloads_active_activate(GtkMenuItem *unused_menuitem,
00100 gpointer unused_udata);
00101 void on_menu_downloads_queue_activate(GtkMenuItem *unused_menuitem,
00102 gpointer unused_udata);
00103 void on_menu_search_results_activate(GtkMenuItem *unused_menuitem,
00104 gpointer unused_udata);
00105 void on_menu_search_monitor_activate(GtkMenuItem *unused_menuitem,
00106 gpointer unused_udata);
00107 void on_menu_search_stats_activate(GtkMenuItem *unused_menuitem,
00108 gpointer unused_udata);
00109
00110 void on_notebook_main_switch_page(GtkNotebook *unused_notebook,
00111 GtkNotebookPage *unused_page, gint page_num, gpointer unused_udata);
00112
00113 #ifdef USE_GTK2
00114 void on_main_gui_treeview_menu_cursor_changed(GtkTreeView *, gpointer);
00115 void on_main_gui_treeview_menu_row_collapsed(
00116 GtkTreeView *, GtkTreeIter *, GtkTreePath *, gpointer);
00117 void on_main_gui_treeview_menu_row_expanded(
00118 GtkTreeView *, GtkTreeIter *, GtkTreePath *, gpointer);
00119
00120 #endif
00121
00122
00123 #endif