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 _gtk1_search_cb_h_
00027 #define _gtk1_search_cb_h_
00028
00029 #include <gtk/gtk.h>
00030
00031 void on_search_popdown_switch(GtkWidget * w, gpointer data);
00032 void on_search_notebook_switch(GtkNotebook * notebook, GtkNotebookPage * page, gint page_num, gpointer user_data);
00033 void on_clist_search_select_row(GtkCList * clist, gint row, gint column, GdkEvent * event, gpointer user_data);
00034 void on_search_selected(GtkItem * i, gpointer data);
00035 void on_button_search_clicked (GtkButton *button, gpointer user_data);
00036 void on_entry_search_activate (GtkEditable *editable, gpointer user_data);
00037 void on_entry_search_changed (GtkEditable *editable, gpointer user_data);
00038 void on_button_search_clear_clicked(GtkButton * button, gpointer user_data);
00039 void on_button_search_close_clicked (GtkButton *button, gpointer user_data);
00040 void on_button_search_download_clicked (GtkButton *button, gpointer user_data);
00041 void on_button_search_collapse_all_clicked (GtkButton *button, gpointer user_data);
00042 void on_button_search_expand_all_clicked (GtkButton *button, gpointer user_data);
00043
00044 gboolean on_clist_search_results_key_press_event(GtkWidget *widget, GdkEventKey *event, gpointer user_data);
00045 gboolean on_clist_search_results_button_press_event(GtkWidget *widget, GdkEventButton *event, gpointer user_data);
00046 void on_button_search_filter_clicked (GtkButton *button, gpointer user_data);
00047 void on_clist_search_results_click_column(GtkCList * clist, gint column, gpointer user_data);
00048 void on_button_search_passive_clicked (GtkButton *button, gpointer user_data);
00049
00050 void on_ctree_search_results_select_row(GtkCTree *ctree, GList *node, gint column, gpointer user_data);
00051 void on_ctree_search_results_unselect_row(GtkCTree *ctree, GList *node, gint column, gpointer user_data);
00052 void on_ctree_search_results_resize_column(GtkCList * clist, gint column, gint width, gpointer user_data);
00053
00054
00055
00056
00057
00058 void on_popup_search_drop_name_activate(GtkMenuItem *menuitem, gpointer user_data);
00059 void on_popup_search_drop_sha1_activate(GtkMenuItem *menuitem, gpointer user_data);
00060 void on_popup_search_drop_host_activate(GtkMenuItem *menuitem, gpointer user_data);
00061 void on_popup_search_drop_name_global_activate(GtkMenuItem *menuitem, gpointer user_data);
00062 void on_popup_search_drop_sha1_global_activate(GtkMenuItem *menuitem, gpointer user_data);
00063 void on_popup_search_drop_host_global_activate(GtkMenuItem *menuitem, gpointer user_data);
00064 void on_popup_search_autodownload_name_activate(GtkMenuItem *menuitem, gpointer user_data);
00065 void on_popup_search_autodownload_sha1_activate(GtkMenuItem *menuitem, gpointer user_data);
00066 void on_popup_search_edit_filter_activate(GtkMenuItem *menuitem, gpointer user_data);
00067 void on_popup_search_clear_results_activate(GtkMenuItem *menuitem, gpointer user_data);
00068 void on_popup_search_close_activate(GtkMenuItem *menuitem, gpointer user_data);
00069 void on_popup_search_duplicate_activate(GtkMenuItem *menuitem, gpointer user_data);
00070 void on_popup_search_restart_activate(GtkMenuItem *menuitem, gpointer user_data);
00071 void on_popup_search_resume_activate(GtkMenuItem *menuitem, gpointer user_data);
00072 void on_popup_search_stop_activate(GtkMenuItem *menuitem, gpointer user_data);
00073 void on_popup_search_config_cols_activate(GtkMenuItem *menuitem, gpointer user_data);
00074 void on_popup_search_new_from_selected_activate(GtkMenuItem *menuitem, gpointer user_data);
00075 void on_popup_search_expand_all_activate(GtkMenuItem *menuitem, gpointer user_data);
00076 void on_popup_search_collapse_all_activate(GtkMenuItem *menuitem, gpointer user_data);
00077 void on_popup_search_metadata_activate(GtkMenuItem *menuitem, gpointer user_data);
00078
00079 #endif