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

search_cb.h File Reference

#include <gtk/gtk.h>

Go to the source code of this file.

Functions

void on_search_popdown_switch (GtkWidget *w, gpointer data)
void on_search_notebook_switch (GtkNotebook *notebook, GtkNotebookPage *page, gint page_num, gpointer user_data)
 When the user switches notebook tabs, update the rest of GUI.

void on_clist_search_select_row (GtkCList *clist, gint row, gint column, GdkEvent *event, gpointer user_data)
 Changes current search and updates GUI.

void on_search_selected (GtkItem *i, gpointer data)
void on_button_search_clicked (GtkButton *button, gpointer user_data)
 Create a search based on query entered.

void on_entry_search_activate (GtkEditable *editable, gpointer user_data)
void on_entry_search_changed (GtkEditable *editable, gpointer user_data)
 When a search string is entered, activate the search button.

void on_button_search_clear_clicked (GtkButton *button, gpointer user_data)
 Clear search results, de-activate clear search button.

void on_button_search_close_clicked (GtkButton *button, gpointer user_data)
void on_button_search_download_clicked (GtkButton *button, gpointer user_data)
void on_button_search_collapse_all_clicked (GtkButton *button, gpointer user_data)
void on_button_search_expand_all_clicked (GtkButton *button, gpointer user_data)
gboolean on_clist_search_results_key_press_event (GtkWidget *widget, GdkEventKey *event, gpointer user_data)
gboolean on_clist_search_results_button_press_event (GtkWidget *widget, GdkEventButton *event, gpointer user_data)
 Handles showing the popup in the event of right-clicks and downloading for double-clicks.

void on_button_search_filter_clicked (GtkButton *button, gpointer user_data)
void on_clist_search_results_click_column (GtkCList *clist, gint column, gpointer user_data)
 Sort search according to selected column.

void on_button_search_passive_clicked (GtkButton *button, gpointer user_data)
 Please add comment.

void on_ctree_search_results_select_row (GtkCTree *ctree, GList *node, gint column, gpointer user_data)
 This function is called when the user selects a row in the search results pane.

void on_ctree_search_results_unselect_row (GtkCTree *ctree, GList *node, gint column, gpointer user_data)
void on_ctree_search_results_resize_column (GtkCList *clist, gint column, gint width, gpointer user_data)
void on_popup_search_drop_name_activate (GtkMenuItem *menuitem, gpointer user_data)
 For all selected results, create a filter based on name.

void on_popup_search_drop_sha1_activate (GtkMenuItem *menuitem, gpointer user_data)
 For all selected results, create a filter based on sha1.

void on_popup_search_drop_host_activate (GtkMenuItem *menuitem, gpointer user_data)
 For all selected results, create a filter based on host.

void on_popup_search_drop_name_global_activate (GtkMenuItem *menuitem, gpointer user_data)
 For all selected results, create a global filter based on name.

void on_popup_search_drop_sha1_global_activate (GtkMenuItem *menuitem, gpointer user_data)
 For all selected results, create a global filter based on sha1.

void on_popup_search_drop_host_global_activate (GtkMenuItem *menuitem, gpointer user_data)
 For all selected results, create a global filter based on host.

void on_popup_search_autodownload_name_activate (GtkMenuItem *menuitem, gpointer user_data)
 Please add comment.

void on_popup_search_autodownload_sha1_activate (GtkMenuItem *menuitem, gpointer user_data)
 Please add comment.

void on_popup_search_edit_filter_activate (GtkMenuItem *menuitem, gpointer user_data)
 Please add comment.

void on_popup_search_clear_results_activate (GtkMenuItem *menuitem, gpointer user_data)
void on_popup_search_close_activate (GtkMenuItem *menuitem, gpointer user_data)
void on_popup_search_duplicate_activate (GtkMenuItem *menuitem, gpointer user_data)
 Create a new search identical to the current search.

void on_popup_search_restart_activate (GtkMenuItem *menuitem, gpointer user_data)
 Please add comment.

void on_popup_search_resume_activate (GtkMenuItem *menuitem, gpointer user_data)
 Please add comment.

void on_popup_search_stop_activate (GtkMenuItem *menuitem, gpointer user_data)
 Stop current search.

void on_popup_search_config_cols_activate (GtkMenuItem *menuitem, gpointer user_data)
 Please add comment.

void on_popup_search_new_from_selected_activate (GtkMenuItem *menuitem, gpointer user_data)
 Please add comment.

void on_popup_search_expand_all_activate (GtkMenuItem *menuitem, gpointer user_data)
 Please add comment.

void on_popup_search_collapse_all_activate (GtkMenuItem *menuitem, gpointer user_data)
 Please add comment.

void on_popup_search_metadata_activate (GtkMenuItem *menuitem, gpointer user_data)
 Queue a bitzi queries from the search context menu.


Function Documentation

void on_button_search_clear_clicked GtkButton *  button,
gpointer  user_data
 

Clear search results, de-activate clear search button.

void on_button_search_clicked GtkButton *  button,
gpointer  user_data
 

Create a search based on query entered.

void on_button_search_close_clicked GtkButton *  button,
gpointer  user_data
 

void on_button_search_collapse_all_clicked GtkButton *  button,
gpointer  user_data
 

void on_button_search_download_clicked GtkButton *  button,
gpointer  user_data
 

void on_button_search_expand_all_clicked GtkButton *  button,
gpointer  user_data
 

void on_button_search_filter_clicked GtkButton *  button,
gpointer  user_data
 

void on_button_search_passive_clicked GtkButton *  button,
gpointer  user_data
 

Please add comment.

gboolean on_clist_search_results_button_press_event GtkWidget *  widget,
GdkEventButton *  event,
gpointer  user_data
 

Handles showing the popup in the event of right-clicks and downloading for double-clicks.

void on_clist_search_results_click_column GtkCList *  clist,
gint  column,
gpointer  user_data
 

Sort search according to selected column.

gboolean on_clist_search_results_key_press_event GtkWidget *  widget,
GdkEventKey *  event,
gpointer  user_data
 

void on_clist_search_select_row GtkCList *  clist,
gint  row,
gint  column,
GdkEvent *  event,
gpointer  user_data
 

Changes current search and updates GUI.

void on_ctree_search_results_resize_column GtkCList *  clist,
gint  column,
gint  width,
gpointer  user_data
 

void on_ctree_search_results_select_row GtkCTree *  ctree,
GList *  node,
gint  unused_column,
gpointer  unused_udata
 

This function is called when the user selects a row in the search results pane.

Autoselection takes place here.

void on_ctree_search_results_unselect_row GtkCTree *  ctree,
GList *  node,
gint  column,
gpointer  user_data
 

void on_entry_search_activate GtkEditable *  editable,
gpointer  user_data
 

void on_entry_search_changed GtkEditable *  editable,
gpointer  user_data
 

When a search string is entered, activate the search button.

void on_popup_search_autodownload_name_activate GtkMenuItem *  menuitem,
gpointer  user_data
 

Please add comment.

void on_popup_search_autodownload_sha1_activate GtkMenuItem *  menuitem,
gpointer  user_data
 

Please add comment.

void on_popup_search_clear_results_activate GtkMenuItem *  menuitem,
gpointer  user_data
 

void on_popup_search_close_activate GtkMenuItem *  menuitem,
gpointer  user_data
 

void on_popup_search_collapse_all_activate GtkMenuItem *  menuitem,
gpointer  user_data
 

Please add comment.

void on_popup_search_config_cols_activate GtkMenuItem *  menuitem,
gpointer  user_data
 

Please add comment.

void on_popup_search_drop_host_activate GtkMenuItem *  menuitem,
gpointer  user_data
 

For all selected results, create a filter based on host.

void on_popup_search_drop_host_global_activate GtkMenuItem *  menuitem,
gpointer  user_data
 

For all selected results, create a global filter based on host.

void on_popup_search_drop_name_activate GtkMenuItem *  menuitem,
gpointer  user_data
 

For all selected results, create a filter based on name.

void on_popup_search_drop_name_global_activate GtkMenuItem *  menuitem,
gpointer  user_data
 

For all selected results, create a global filter based on name.

void on_popup_search_drop_sha1_activate GtkMenuItem *  menuitem,
gpointer  user_data
 

For all selected results, create a filter based on sha1.

void on_popup_search_drop_sha1_global_activate GtkMenuItem *  menuitem,
gpointer  user_data
 

For all selected results, create a global filter based on sha1.

void on_popup_search_duplicate_activate GtkMenuItem *  unused_menuitem,
gpointer  unused_udata
 

Create a new search identical to the current search.

Note:
Doesn't duplicate filters or passive searches yet.

void on_popup_search_edit_filter_activate GtkMenuItem *  menuitem,
gpointer  user_data
 

Please add comment.

void on_popup_search_expand_all_activate GtkMenuItem *  menuitem,
gpointer  user_data
 

Please add comment.

void on_popup_search_metadata_activate GtkMenuItem *  menuitem,
gpointer  user_data
 

Queue a bitzi queries from the search context menu.

void on_popup_search_new_from_selected_activate GtkMenuItem *  menuitem,
gpointer  user_data
 

Please add comment.

void on_popup_search_restart_activate GtkMenuItem *  menuitem,
gpointer  user_data
 

Please add comment.

void on_popup_search_resume_activate GtkMenuItem *  menuitem,
gpointer  user_data
 

Please add comment.

void on_popup_search_stop_activate GtkMenuItem *  menuitem,
gpointer  user_data
 

Stop current search.

void on_search_notebook_switch GtkNotebook *  notebook,
GtkNotebookPage *  unused_page,
gint  page_num,
gpointer  unused_udata
 

When the user switches notebook tabs, update the rest of GUI.

This may be obsolete as we removed the tabbed interface --Emile 27/12/03

void on_search_popdown_switch GtkWidget *  w,
gpointer  data
 

void on_search_selected GtkItem *  i,
gpointer  data
 


Generated on Sun Feb 12 10:50:07 2006 for Gtk-Gnutella by doxygen 1.3.6