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 _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
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
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
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
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