⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 callbacks.h

📁 linux的多线程下载工具。基于gtk界面。
💻 H
字号:
/* callbacks.h (for interface) * * Copyright (C) 2004-2004 Wang Xiaoguang (Chice) <chice_wxg@hotmail.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Authors: Wang Xiaoguang (Chice) <chice_wxg@hotmail.com> */#include <gtk/gtk.h>gbooleanon_window_main_delete_event            (GtkWidget       *widget,GdkEvent        *event,gpointer         user_data);void on_window_main_state_event            (GtkWidget       *widget,gpointer event,gpointer         user_data);gbooleanon_canvas_graph_expose_event           (GtkWidget       *widget,GdkEventExpose  *event, gpointer         user_data);voidon_menu_download_new_task_activate     (GtkMenuItem     *menuitem,  gpointer         user_data);	voidon_menu_download_start_task_activate   (GtkMenuItem     *menuitem,  gpointer         user_data);voidon_menu_download_modify_task_activate   (GtkMenuItem     *menuitem,  gpointer         user_data);voidon_menu_download_stop_task_activate    (GtkMenuItem     *menuitem,  gpointer         user_data);voidon_menu_download_remove_task_activate  (GtkMenuItem     *menuitem,  gpointer         user_data);voidon_menu_download_delete_file_activate  (GtkMenuItem     *menuitem,  gpointer         user_data);voidon_menu_download_start_all_activate  (GtkMenuItem     *menuitem,  gpointer         user_data);voidon_menu_download_stop_all_activate  (GtkMenuItem     *menuitem,  gpointer         user_data);voidon_menu_download_copy_url_activate  (GtkMenuItem     *menuitem,  gpointer         user_data);voidon_menu_download_restart_task_activate  (GtkMenuItem     *menuitem,  gpointer         user_data);voidon_menu_category_new_dir_activate     (GtkMenuItem     *menuitem,  gpointer         user_data);voidon_menu_category_remove_dir_activate     (GtkMenuItem     *menuitem,  gpointer         user_data);voidon_menu_language_item_activate     (GtkMenuItem     *menuitem,  gpointer         user_data);voidon_menu_options_system_activate     (GtkMenuItem     *menuitem,  gpointer         user_data);voidon_menu_options_proxy_activate     (GtkMenuItem     *menuitem,  gpointer         user_data);voidon_menu_options_shell_programs_activate     (GtkMenuItem     *menuitem,  gpointer         user_data);voidon_menu_help_content_activate     (GtkMenuItem     *menuitem,  gpointer         user_data);voidon_menu_help_report_bugs_activate     (GtkMenuItem     *menuitem,  gpointer         user_data);voidon_menu_help_url_activate     (GtkMenuItem     *menuitem,  gpointer         user_data);voidon_menu_help_about_activate     (GtkMenuItem     *menuitem,  gpointer         user_data);voidon_menu_task_popup_open_file_activate     (GtkMenuItem     *menuitem,  gpointer         user_data);voidon_menu_task_popup_open_dir_activate     (GtkMenuItem     *menuitem,  gpointer         user_data);voidon_menu_task_popup_install_activate     (GtkMenuItem     *menuitem,  gpointer         user_data);voidon_menu_popup_window_drop_show_activate     (GtkMenuItem     *menuitem,  gpointer         user_data);voidon_menu_popup_window_drop_exit_activate     (GtkMenuItem     *menuitem,  gpointer         user_data);voidon_treeview_tasks_selection_changed (GtkTreeSelection *sel, GtkListStore *liststore);int on_treeview_tasks_button_press(GtkWidget *widget,GdkEventButton *event);voidon_treeview_infos_selection_changed (GtkTreeSelection *sel, GtkListStore *liststore);voidon_treeview_dirs_selection_changed (GtkTreeSelection *sel, GtkListStore *liststore);void on_url_drag_data_received (GtkWidget          *widget,GdkDragContext     *context,gint                x,gint                y,GtkSelectionData   *data,guint               info,guint               time);voidon_dialog_taskprop_entry_url_changed (GtkEditable     *editable, gpointer         user_data);voidon_dialog_taskprop_button_cancel_clicked  (GtkButton       *button, gpointer         user_data);voidon_dialog_taskprop_button_ok_clicked  (GtkButton       *button,  gpointer  user_data);voidon_dialog_taskprop_category_text_changed (GtkEditable     *editable, gpointer         user_data);voidon_dialog_new_dir_button_cancel_clicked  (GtkButton       *button, gpointer         user_data);voidon_dialog_new_dir_button_ok_clicked  (GtkButton       *button,  gpointer  user_data);voidon_dialog_options_button_cancel_clicked  (GtkButton       *button, gpointer         user_data);voidon_dialog_options_button_ok_clicked  (GtkButton       *button,  gpointer  user_data);gbooleanon_window_drop_button_press(GtkWidget *widget, GdkEventButton *event, gpointer data);int on_window_drop_button_release(GtkWidget *widget,GdkEventButton *event);void on_window_drop_motion(GtkWidget *widget,GdkEventMotion *event);gbooleanon_window_drop_expose_event           (GtkWidget       *widget,GdkEventExpose  *event, gpointer         user_data);voidon_treeview_proxys_selection_changed (GtkTreeSelection *sel, GtkListStore *liststore);voidon_dialog_proxy_settings_button_cancel_clicked  (GtkButton       *button,  gpointer  user_data);voidon_dialog_proxy_settings_button_ok_clicked  (GtkButton       *button,  gpointer  user_data);voidon_dialog_proxy_settings_button_add_clicked  (GtkButton       *button,  gpointer  user_data);voidon_dialog_proxy_settings_button_modify_clicked  (GtkButton       *button,  gpointer  user_data);voidon_dialog_proxy_settings_button_remove_clicked  (GtkButton       *button,  gpointer  user_data);voidon_dialog_proxy_settings_close         (GtkDialog       *dialog,   gpointer         user_data);voidon_dialog_shell_programs_button_cancel_clicked  (GtkButton       *button,  gpointer  user_data);voidon_dialog_shell_programs_button_ok_clicked  (GtkButton       *button,  gpointer  user_data);gbooleanon_toptip_button_press(GtkWidget *widget, GdkEventButton *event, gpointer data);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -