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

downloads_cb.h

Go to the documentation of this file.
00001 /*
00002  * $Id: downloads_cb.h,v 1.3 2005/11/17 21:04:44 cbiere Exp $
00003  *
00004  * Copyright (c) 2001-2003, 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 _gtk1_downloads_cb_h_
00027 #define _gtk1_downloads_cb_h_
00028 
00029 #include "gtk/gui.h"
00030 
00031 /***
00032  *** downloads panel
00033  ***/
00034 /* active downloads */
00035 gboolean on_ctree_downloads_button_press_event (GtkWidget *widget, GdkEventButton *event, gpointer user_data);
00036 void on_button_downloads_abort_clicked (GtkButton *button, gpointer user_data);
00037 void on_button_downloads_resume_clicked (GtkButton *button, gpointer user_data);
00038 void on_ctree_downloads_resize_column (GtkCList *clist, gint column, gint width, gpointer user_data);
00039 void on_ctree_downloads_tree_select_row (GtkCTree *ctree, GList *node, gint column, gpointer user_data);
00040 void on_ctree_downloads_tree_unselect_row (GtkCTree *ctree, GList *node, gint column, gpointer user_data);
00041 
00042 /* queued downloads */
00043 gboolean on_ctree_downloads_queue_button_press_event (GtkWidget *widget, GdkEventButton *event, gpointer user_data);
00044 void on_ctree_downloads_queue_resize_column (GtkCList *clist, gint column, gint width, gpointer user_data);
00045 void on_ctree_downloads_queue_tree_select_row (GtkCTree *ctree, GList *node, gint column, gpointer user_data);
00046 void on_ctree_downloads_queue_tree_unselect_row (GtkCTree *ctree, GList *node, gint column, gpointer user_data);
00047 void on_ctree_downloads_queue_drag_begin(GtkWidget *widget, GdkDragContext *drag_context, gpointer user_data);
00048 void on_ctree_downloads_queue_drag_end(GtkWidget *widget, GdkDragContext *drag_context, gpointer user_data);
00049 void on_entry_queue_regex_activate (GtkEditable *editable, gpointer user_data);
00050 
00051 /***
00052  *** popup-downloads
00053  ***/
00054 void on_popup_downloads_push_activate(GtkMenuItem *menuitem, gpointer user_data);
00055 void on_popup_downloads_abort_named_activate(GtkMenuItem *menuitem, gpointer user_data);
00056 void on_popup_downloads_abort_host_activate(GtkMenuItem *menuitem, gpointer user_data);
00057 void on_popup_downloads_abort_sha1_activate(GtkMenuItem *menuitem, gpointer user_data);
00058 void on_popup_downloads_remove_file_activate(GtkMenuItem *menuitem, gpointer user_data);
00059 void on_popup_downloads_search_again_activate(GtkMenuItem *menuitem, gpointer user_data);
00060 void on_popup_downloads_queue_activate(GtkMenuItem *menuitem, gpointer user_data);
00061 void on_popup_downloads_copy_url_activate(GtkMenuItem *menuitem, gpointer user_data);
00062 void on_popup_downloads_connect_activate(GtkMenuItem *menuitem, gpointer user_data);
00063 void on_popup_downloads_expand_all_activate(GtkMenuItem *menuitem, gpointer user_data);
00064 void on_popup_downloads_collapse_all_activate(GtkMenuItem *menuitem, gpointer user_data);
00065 void on_popup_downloads_browse_host_activate(GtkMenuItem *unused_menuitem,
00066     gpointer unused_udata);
00067 
00068 
00069 /***
00070  *** popup-queue
00071  ***/
00072 void on_popup_queue_start_now_activate (GtkMenuItem *menuitem, gpointer user_data);
00073 void on_popup_queue_freeze_activate (GtkMenuItem *menuitem, gpointer user_data);
00074 void on_popup_queue_search_again_activate (GtkMenuItem *menuitem, gpointer user_data);
00075 void on_popup_queue_abort_host_activate(GtkMenuItem * menuitem, gpointer user_data);
00076 void on_popup_queue_abort_named_activate(GtkMenuItem * menuitem, gpointer user_data);
00077 void on_popup_queue_abort_sha1_activate(GtkMenuItem * menuitem, gpointer user_data);
00078 void on_popup_queue_abort_activate(GtkMenuItem * menuitem, gpointer user_data);
00079 void on_popup_queue_copy_url_activate(GtkMenuItem *menuitem, gpointer user_data);
00080 void on_popup_queue_connect_activate(GtkMenuItem *menuitem, gpointer user_data);
00081 void on_popup_queue_expand_all_activate(GtkMenuItem *menuitem, gpointer user_data);
00082 void on_popup_queue_collapse_all_activate(GtkMenuItem *menuitem, gpointer user_data);
00083 void on_popup_queue_browse_host_activate(GtkMenuItem *unused_menuitem,
00084     gpointer unused_udata);
00085 void on_popup_downloads_selection_get(GtkWidget *widget,
00086     GtkSelectionData *data, guint info, guint eventtime,
00087     gpointer user_data);
00088 gint on_popup_downloads_selection_clear_event(GtkWidget *widget,
00089     GdkEventSelection *event);
00090 
00091 #endif /* _gtk1_downloads_cb_h_ */

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