Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

main_cb.h

Go to the documentation of this file.
00001 /*
00002  * $Id: main_cb.h,v 1.9 2005/11/15 14:47:10 cbiere Exp $
00003  *
00004  * Copyright (c) 2001-2003, Raphael Manfredi, Richard Eckart
00005  *
00006  *----------------------------------------------------------------------
00007  * This file is part of gtk-gnutella.
00008  *
00009  *  gtk-gnutella is free software; you can redistribute it and/or modify
00010  *  it under the terms of the GNU General Public License as published by
00011  *  the Free Software Foundation; either version 2 of the License, or
00012  *  (at your option) any later version.
00013  *
00014  *  gtk-gnutella is distributed in the hope that it will be useful,
00015  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00016  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017  *  GNU General Public License for more details.
00018  *
00019  *  You should have received a copy of the GNU General Public License
00020  *  along with gtk-gnutella; if not, write to the Free Software
00021  *  Foundation, Inc.:
00022  *      59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00023  *----------------------------------------------------------------------
00024  */
00025 
00026 #ifndef _gtk_main_cb_h_
00027 #define _gtk_main_cb_h_
00028 
00029 #include "gui.h"
00030 
00031 /***
00032  *** General main window actions
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  *** Menu bar
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  *** About dialog
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  *** Keyboard shortcut dialog
00055  ***/
00056 
00057 void
00058 on_menu_keyboard_shortcuts_activate(GtkMenuItem *unused_menuitem,
00059     gpointer unused_udata);
00060 
00061 /***
00062  *** FAQ dialog
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  *** Prefs dialog
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  *** Quit dialog
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  *** Navigation menu
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 /* USE_GTK2 */
00121 
00122 
00123 #endif /* _gtk_main_cb_h_ */

Generated on Sun Feb 12 10:49:56 2006 for Gtk-Gnutella by doxygen 1.3.6