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

search_cb.h

Go to the documentation of this file.
00001 /*
00002  * $Id: search_cb.h,v 1.9 2005/11/09 19:59:29 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 _gtk2_search_cb_h_
00027 #define _gtk2_search_cb_h_
00028 
00029 #include <gtk/gtk.h>
00030 
00031 void on_combo_entry_searches_activate(GtkEditable *editable, gpointer user_data);
00032 void on_entry_search_activate(GtkEditable *editable, gpointer user_data);
00033 void on_entry_search_changed(GtkEditable *editable, gpointer unused_udata);
00034 void on_search_popdown_switch(GtkWidget * w, gpointer data);
00035 void on_search_notebook_switch(GtkNotebook * notebook, GtkNotebookPage * page, gint page_num, gpointer user_data);
00036 void on_search_notebook_focus_tab(GtkNotebook * notebook, GtkNotebookTab arg1, gpointer user_data);
00037 void on_tree_view_search_select_row(GtkTreeView * tree_view, gpointer user_data);
00038 void on_search_selected(GtkItem * i, gpointer data);
00039 void on_button_search_clicked(GtkButton *button, gpointer user_data);
00040 void on_button_search_clear_clicked(GtkButton * button, gpointer user_data);
00041 void on_button_search_close_clicked(GtkButton *button, gpointer user_data);
00042 void on_button_search_download_clicked(GtkButton *button, gpointer user_data);
00043 
00044 gboolean on_tree_view_search_results_key_press_event(GtkWidget *widget, GdkEventKey *event, gpointer user_data);
00045 gboolean on_tree_view_search_button_press_event(GtkWidget *widget,
00046     GdkEventButton *event, gpointer unused_udata);
00047 gboolean on_tree_view_search_results_button_press_event(GtkWidget *widget, GdkEventButton *event, gpointer user_data);
00048 void on_button_search_filter_clicked (GtkButton *button, gpointer user_data);
00049 gboolean on_tree_view_search_results_click_column(GtkTreeViewColumn * tree_view_column, gpointer user_data);
00050 void on_tree_view_search_results_select_row(GtkTreeView * tree_view, gpointer user_data);
00051 void on_tree_view_search_results_unselect_row(GtkTreeView * tree_view, gint row, gint column, GdkEvent * event, gpointer user_data);
00052 void on_tree_view_search_results_resize_column(GtkTreeView * tree_view, gint column, gint width, gpointer user_data);
00053 void on_button_search_passive_clicked (GtkButton *button, gpointer user_data);
00054 
00055 void search_update_tooltip(GtkTreeView *tv, GtkTreePath *path);
00056 void search_callbacks_shutdown(void);
00057 
00058 
00059 
00060 
00061 /***
00062  *** Search results popup
00063  ***/
00064 void on_popup_search_download_activate(GtkMenuItem *menuitem, gpointer user_data);
00065 void on_popup_search_drop_name_activate(GtkMenuItem *menuitem, gpointer user_data);
00066 void on_popup_search_drop_sha1_activate(GtkMenuItem *menuitem, gpointer user_data);
00067 void on_popup_search_drop_host_activate(GtkMenuItem *menuitem, gpointer user_data);
00068 void on_popup_search_drop_name_global_activate(GtkMenuItem *menuitem, gpointer user_data);
00069 void on_popup_search_drop_sha1_global_activate(GtkMenuItem *menuitem, gpointer user_data);
00070 void on_popup_search_drop_host_global_activate(GtkMenuItem *menuitem, gpointer user_data);
00071 void on_popup_search_autodownload_name_activate(GtkMenuItem *menuitem, gpointer user_data);
00072 void on_popup_search_autodownload_sha1_activate(GtkMenuItem *menuitem, gpointer user_data);
00073 void on_popup_search_edit_filter_activate(GtkMenuItem *menuitem, gpointer user_data);
00074 void on_popup_search_clear_results_activate(GtkMenuItem *menuitem, gpointer user_data);
00075 void on_popup_search_close_activate(GtkMenuItem *menuitem, gpointer user_data);
00076 void on_popup_search_duplicate_activate(GtkMenuItem *menuitem, gpointer user_data);
00077 void on_popup_search_restart_activate(GtkMenuItem *menuitem, gpointer user_data);
00078 void on_popup_search_resume_activate(GtkMenuItem *menuitem, gpointer user_data);
00079 void on_popup_search_stop_activate(GtkMenuItem *menuitem, gpointer user_data);
00080 void on_popup_search_config_cols_activate(GtkMenuItem *menuitem, gpointer user_data);
00081 void on_popup_search_new_from_selected_activate(GtkMenuItem *menuitem, gpointer user_data);
00082 void on_popup_search_expand_all_activate (GtkMenuItem *menuitem, gpointer user_data);
00083 void on_popup_search_collapse_all_activate (GtkMenuItem *menuitem, gpointer user_data);
00084 void on_popup_search_metadata_activate(GtkMenuItem *menuitem, gpointer user_data);
00085 
00086 gpointer search_gui_get_record(GtkTreeModel *model, GtkTreeIter *iter);
00087 #endif /* _gtk2_search_cb_h_ */

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