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

filter_cb.h

Go to the documentation of this file.
00001 /*
00002  * $Id: filter_cb.h,v 1.4 2005/11/09 19:18:51 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_filter_cb_h_
00027 #define _gtk_filter_cb_h_
00028 
00029 #include <gtk/gtk.h>
00030 
00031 void filter_cb_close(void);
00032 
00033 /*
00034  * Filter dialog
00035  */
00036 gboolean on_dlg_filters_delete_event(GtkWidget *widget, gpointer user_data);
00037 
00038 #ifdef USE_GTK1
00039 void on_clist_filter_rules_resize_column(GtkCList * clist, gint column, gint width, gpointer user_data);
00040 void on_ctree_filter_filters_resize_column(GtkCList * clist, gint column, gint width, gpointer user_data);
00041 void on_clist_filter_rules_select_row(GtkCList * clist, gint row, gint column, GdkEvent * event, gpointer user_data);
00042 void on_clist_filter_rules_unselect_row(GtkCList * clist, gint row, gint column, GdkEvent * event, gpointer user_data);
00043 void on_clist_filter_rules_drag_end(GtkWidget *widget, GdkDragContext *drag_context, gpointer user_data);
00044 void on_ctree_filter_filters_tree_select_row(GtkCTree * ctree, GList *node, gint column, gpointer user_data);
00045 gboolean on_clist_filter_rules_button_press_event(GtkWidget * widget, GdkEventButton * event, gpointer user_data);
00046 #endif /* USE_GTK1 */
00047 
00048 #ifdef USE_GTK2
00049 gboolean on_treeview_filter_rules_button_press_event(GtkWidget *widget,
00050     GdkEventButton *event, gpointer unused_udata);
00051 void on_treeview_filter_filters_select_row(GtkTreeView *tv,
00052     gpointer unused_udata);
00053 void on_treeview_filter_rules_select_row(GtkTreeView *tv,
00054     gpointer unused_udata);
00055 #endif /* USE_GTK2 */
00056 
00057 void on_button_filter_add_rule_text_clicked(GtkButton *button, gpointer user_data);
00058 void on_button_filter_add_rule_ip_clicked(GtkButton *button, gpointer user_data);
00059 void on_button_filter_add_rule_size_clicked(GtkButton *button, gpointer user_data);
00060 void on_button_filter_add_rule_jump_clicked(GtkButton *button, gpointer user_data);
00061 void on_button_filter_add_rule_flag_clicked(GtkButton *button, gpointer user_data);
00062 void on_button_filter_add_rule_state_clicked(GtkButton *button, gpointer user_data);
00063 void on_button_filter_ok_clicked(GtkButton *button, gpointer user_data);
00064 void on_button_filter_add_rule_clicked(GtkButton *button, gpointer user_data);
00065 void on_button_filter_apply_clicked(GtkButton *button, gpointer user_data);
00066 void on_button_filter_revert_clicked(GtkButton *button, gpointer user_data);
00067 void on_button_filter_cancel_clicked(GtkButton *button, gpointer user_data);
00068 void on_button_filter_clear_clicked(GtkButton *button, gpointer user_data);
00069 void on_button_filter_abort_rule_clicked(GtkButton *button, gpointer user_data);
00070 void on_button_filter_remove_rule_clicked(GtkButton *button, gpointer user_data);
00071 void on_entry_filter_new_activate (GtkEditable *editable, gpointer user_data);
00072 void on_button_filter_remove_clicked(GtkButton *button, gpointer user_data);
00073 void on_button_filter_create_clicked(GtkButton *button, gpointer user_data);
00074 void on_button_filter_reset_all_rules_clicked(GtkButton *button, gpointer user_data);
00075 void on_button_filter_reset_clicked(GtkButton *button, gpointer user_data);
00076 void on_button_filter_reset_all_clicked(GtkButton *button, gpointer user_data);
00077 void on_button_filter_reset_rule_clicked(GtkButton *button, gpointer user_data);
00078 void on_checkbutton_filter_enabled_toggled(GtkToggleButton * togglebutton, gpointer user_data);
00079 
00080 gboolean on_entry_filter_size_focus_out_event(GtkEditable *editable, gpointer unused_udata);
00081 gboolean on_entry_filter_size_key_press_event(GtkWidget *widget, GdkEventKey *event, gpointer unused_udata);
00082 
00083 /*
00084  * Filter popup for rule list
00085  */
00086 void on_popup_filter_rule_copy_activate(GtkMenuItem *menuitem, gpointer user_data);
00087 void on_popup_filter_rule_paste_activate(GtkMenuItem *menuitem, gpointer user_data);
00088 
00089 
00090 #endif /* _gtk_filter_cb_h_ */

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