deluge.ui package
Subpackages
- deluge.ui.console package
- Subpackages
- deluge.ui.console.cmdline package
- deluge.ui.console.modes package
- Subpackages
- Submodules
- deluge.ui.console.modes.add_util module
- deluge.ui.console.modes.addtorrents module
- deluge.ui.console.modes.basemode module
- deluge.ui.console.modes.cmdline module
- deluge.ui.console.modes.connectionmanager module
- deluge.ui.console.modes.eventview module
- deluge.ui.console.modes.torrentdetail module
- Module contents
- deluge.ui.console.utils package
- deluge.ui.console.widgets package
- Submodules
- deluge.ui.console.console module
- deluge.ui.console.eventlog module
EventLog
EventLog.on_config_value_changed()
EventLog.on_new_version_available()
EventLog.on_plugin_disabled()
EventLog.on_plugin_enabled()
EventLog.on_session_paused()
EventLog.on_session_resumed()
EventLog.on_torrent_added()
EventLog.on_torrent_finished()
EventLog.on_torrent_removed()
EventLog.on_torrent_state_changed()
EventLog.write()
- deluge.ui.console.main module
ConsoleUI
ConsoleUI.exec_args()
ConsoleUI.get_torrent_name()
ConsoleUI.is_active_mode()
ConsoleUI.match_torrent()
ConsoleUI.match_torrents()
ConsoleUI.on_client_disconnect()
ConsoleUI.on_resize()
ConsoleUI.on_torrent_added()
ConsoleUI.on_torrent_removed()
ConsoleUI.quit()
ConsoleUI.register_mode()
ConsoleUI.run()
ConsoleUI.set_batch_write()
ConsoleUI.set_mode()
ConsoleUI.start()
ConsoleUI.start_components()
ConsoleUI.start_console()
ConsoleUI.start_ui()
ConsoleUI.switch_mode()
ConsoleUI.tab_complete_path()
ConsoleUI.tab_complete_torrent()
ConsoleUI.write()
ConsoleUI.write_event()
MockConsoleLog
- deluge.ui.console.parser module
- Module contents
- Subpackages
- deluge.ui.gtk3 package
- Submodules
- deluge.ui.gtk3.aboutdialog module
- deluge.ui.gtk3.addtorrentdialog module
AddTorrentDialog
AddTorrentDialog.add_files()
AddTorrentDialog.add_from_files()
AddTorrentDialog.add_from_magnets()
AddTorrentDialog.add_from_url()
AddTorrentDialog.add_torrents()
AddTorrentDialog.build_priorities()
AddTorrentDialog.get_file_path()
AddTorrentDialog.get_file_priorities()
AddTorrentDialog.hide()
AddTorrentDialog.load_path_choosers_data()
AddTorrentDialog.on_button_add_clicked()
AddTorrentDialog.on_button_apply_clicked()
AddTorrentDialog.on_button_cancel_clicked()
AddTorrentDialog.on_button_file_clicked()
AddTorrentDialog.on_button_hash_clicked()
AddTorrentDialog.on_button_remove_clicked()
AddTorrentDialog.on_button_revert_clicked()
AddTorrentDialog.on_button_trackers_clicked()
AddTorrentDialog.on_button_url_clicked()
AddTorrentDialog.on_chk_move_completed_toggled()
AddTorrentDialog.prefetch_waiting_message()
AddTorrentDialog.prepare_file()
AddTorrentDialog.prepare_file_store()
AddTorrentDialog.save_torrent_options()
AddTorrentDialog.set_default_options()
AddTorrentDialog.setup_download_location_path_chooser()
AddTorrentDialog.setup_move_completed_path_chooser()
AddTorrentDialog.show()
AddTorrentDialog.show_already_added_dialog()
AddTorrentDialog.start()
AddTorrentDialog.toggle_iter()
AddTorrentDialog.update_core_config()
AddTorrentDialog.update_dialog_title_count()
AddTorrentDialog.update_torrent_options()
AddTorrentDialog.update_treeview_toggles()
- deluge.ui.gtk3.common module
- deluge.ui.gtk3.connectionmanager module
ConnectionManager
ConnectionManager.on_button_addhost_clicked()
ConnectionManager.on_button_close_clicked()
ConnectionManager.on_button_connect_clicked()
ConnectionManager.on_button_edithost_clicked()
ConnectionManager.on_button_refresh_clicked()
ConnectionManager.on_button_removehost_clicked()
ConnectionManager.on_button_startdaemon_clicked()
ConnectionManager.on_chk_toggled()
ConnectionManager.on_entry_host_paste_clipboard()
ConnectionManager.on_hostlist_row_activated()
ConnectionManager.on_hostlist_selection_changed()
ConnectionManager.show()
ConnectionManager.shutdown()
ConnectionManager.start()
ConnectionManager.start_daemon()
ConnectionManager.stop()
cell_render_host()
cell_render_status_icon()
- deluge.ui.gtk3.createtorrentdialog module
CreateTorrentDialog
CreateTorrentDialog.adjust_piece_size()
CreateTorrentDialog.create_torrent()
CreateTorrentDialog.on_button_add_clicked()
CreateTorrentDialog.on_button_cancel_clicked()
CreateTorrentDialog.on_button_down_clicked()
CreateTorrentDialog.on_button_file_clicked()
CreateTorrentDialog.on_button_folder_clicked()
CreateTorrentDialog.on_button_remote_path_clicked()
CreateTorrentDialog.on_button_remove_clicked()
CreateTorrentDialog.on_button_save_clicked()
CreateTorrentDialog.on_button_up_clicked()
CreateTorrentDialog.parse_piece_size_text()
CreateTorrentDialog.show()
- deluge.ui.gtk3.details_tab module
- deluge.ui.gtk3.dialogs module
- deluge.ui.gtk3.edittrackersdialog module
EditTrackersDialog
EditTrackersDialog.add_tracker()
EditTrackersDialog.get_selected()
EditTrackersDialog.load_edit_trackers_dialog_state()
EditTrackersDialog.on_button_add_cancel_clicked()
EditTrackersDialog.on_button_add_clicked()
EditTrackersDialog.on_button_add_ok_clicked()
EditTrackersDialog.on_button_down_clicked()
EditTrackersDialog.on_button_edit_cancel_clicked()
EditTrackersDialog.on_button_edit_clicked()
EditTrackersDialog.on_button_edit_ok_clicked()
EditTrackersDialog.on_button_press_event()
EditTrackersDialog.on_button_remove_clicked()
EditTrackersDialog.on_button_up_clicked()
EditTrackersDialog.on_delete_event_add()
EditTrackersDialog.on_delete_event_edit()
EditTrackersDialog.on_edit_trackers_dialog_configure_event()
EditTrackersDialog.on_key_add_press_event()
EditTrackersDialog.on_key_edit_press_event()
EditTrackersDialog.run()
last_tier_trackers_from_liststore()
trackers_tiers_from_text()
- deluge.ui.gtk3.files_tab module
FilesTab
FilesTab.add_files()
FilesTab.clear()
FilesTab.get_file_path()
FilesTab.get_files_from_tree()
FilesTab.get_iter_at_path()
FilesTab.get_selected_files()
FilesTab.keypress_f2()
FilesTab.keypress_menu()
FilesTab.load_state()
FilesTab.on_menuitem_expand_all_activate()
FilesTab.on_menuitem_high_activate()
FilesTab.on_menuitem_low_activate()
FilesTab.on_menuitem_normal_activate()
FilesTab.on_menuitem_open_file_activate()
FilesTab.on_menuitem_show_file_activate()
FilesTab.on_menuitem_skip_activate()
FilesTab.prepare_file()
FilesTab.prepare_file_store()
FilesTab.remove_childless_folders()
FilesTab.save_state()
FilesTab.start()
FilesTab.update()
FilesTab.update_files()
FilesTab.update_folder_percentages()
cell_filename()
cell_priority()
cell_priority_icon()
cell_progress()
- deluge.ui.gtk3.filtertreeview module
FilterTreeView
FilterTreeView.cb_update_filter_tree()
FilterTreeView.create_model_filter()
FilterTreeView.get_pixmap()
FilterTreeView.on_button_press_event()
FilterTreeView.on_pause_all()
FilterTreeView.on_resume_all()
FilterTreeView.on_select_all()
FilterTreeView.on_selection_changed()
FilterTreeView.render_cell_data()
FilterTreeView.select_all()
FilterTreeView.select_default_filter()
FilterTreeView.set_menu_sensitivity()
FilterTreeView.set_row_image()
FilterTreeView.start()
FilterTreeView.stop()
FilterTreeView.update()
FilterTreeView.update_row()
- deluge.ui.gtk3.gtkui module
- deluge.ui.gtk3.ipcinterface module
- deluge.ui.gtk3.listview module
ListView
ListView.ListViewColumn
ListView.TreeviewColumn
ListView.add_bool_column()
ListView.add_column()
ListView.add_func_column()
ListView.add_progress_column()
ListView.add_text_column()
ListView.add_texticon_column()
ListView.create_checklist_menu()
ListView.create_column_state()
ListView.create_model_filter()
ListView.create_new_liststore()
ListView.generic_sort_func()
ListView.get_column_index()
ListView.get_column_name()
ListView.get_sort_column_from_state()
ListView.get_state_field_column()
ListView.load_state()
ListView.on_keypress_search_by_name()
ListView.on_menuitem_toggled()
ListView.on_model_row_inserted()
ListView.on_model_sort_changed()
ListView.on_treeview_header_right_clicked()
ListView.register_checklist_menu()
ListView.remove_column()
ListView.restore_columns_order_from_state()
ListView.save_state()
ListView.set_model_sort()
ListView.set_sort_functions()
ListView.set_treeview()
ListView.stabilize_sort_func()
ListView.update_treeview_column()
ListViewColumnState
- deluge.ui.gtk3.mainwindow module
MainWindow
MainWindow.active()
MainWindow.connect_signals()
MainWindow.first_show()
MainWindow.get_builder()
MainWindow.get_timestamp()
MainWindow.hide()
MainWindow.is_on_active_workspace()
MainWindow.load_window_state()
MainWindow.on_drag_data_received_event()
MainWindow.on_expose_event()
MainWindow.on_focus()
MainWindow.on_newversionavailable_event()
MainWindow.on_sidebar_pane_position_event()
MainWindow.on_tabsbar_pane_position_event()
MainWindow.on_window_configure_event()
MainWindow.on_window_delete_event()
MainWindow.on_window_state_event()
MainWindow.present()
MainWindow.quit()
MainWindow.save_position()
MainWindow.show()
MainWindow.stop()
MainWindow.update()
MainWindow.visible()
- deluge.ui.gtk3.menubar module
MenuBar
MenuBar.add_torrentmenu_separator()
MenuBar.magnet_copied()
MenuBar.on_menuitem_about_activate()
MenuBar.on_menuitem_addtorrent_activate()
MenuBar.on_menuitem_community_activate()
MenuBar.on_menuitem_connectionmanager_activate()
MenuBar.on_menuitem_copymagnet_activate()
MenuBar.on_menuitem_createtorrent_activate()
MenuBar.on_menuitem_edittrackers_activate()
MenuBar.on_menuitem_faq_activate()
MenuBar.on_menuitem_homepage_activate()
MenuBar.on_menuitem_move_activate()
MenuBar.on_menuitem_open_folder_activate()
MenuBar.on_menuitem_pause_activate()
MenuBar.on_menuitem_preferences_activate()
MenuBar.on_menuitem_queue_bottom_activate()
MenuBar.on_menuitem_queue_down_activate()
MenuBar.on_menuitem_queue_top_activate()
MenuBar.on_menuitem_queue_up_activate()
MenuBar.on_menuitem_quit_activate()
MenuBar.on_menuitem_quitdaemon_activate()
MenuBar.on_menuitem_recheck_activate()
MenuBar.on_menuitem_remove_activate()
MenuBar.on_menuitem_resume_activate()
MenuBar.on_menuitem_set_automanaged_off()
MenuBar.on_menuitem_set_automanaged_on()
MenuBar.on_menuitem_set_other()
MenuBar.on_menuitem_set_stop_seed_at_ratio_disable()
MenuBar.on_menuitem_set_unlimited()
MenuBar.on_menuitem_sidebar_owners_toggled()
MenuBar.on_menuitem_sidebar_toggled()
MenuBar.on_menuitem_sidebar_trackers_toggled()
MenuBar.on_menuitem_sidebar_zero_toggled()
MenuBar.on_menuitem_statusbar_toggled()
MenuBar.on_menuitem_toolbar_toggled()
MenuBar.on_menuitem_updatetracker_activate()
MenuBar.on_sessionpaused_event()
MenuBar.on_sessionresumed_event()
MenuBar.on_torrentresumed_event()
MenuBar.on_torrentstatechanged_event()
MenuBar.show_move_storage_dialog()
MenuBar.start()
MenuBar.stop()
MenuBar.update_menu()
- deluge.ui.gtk3.menubar_osx module
- deluge.ui.gtk3.new_release_dialog module
- deluge.ui.gtk3.options_tab module
OptionsTab
OptionsTab.clear()
OptionsTab.on_button_apply_clicked()
OptionsTab.on_chk_move_completed_toggled()
OptionsTab.on_chk_stop_at_ratio_toggled()
OptionsTab.on_chk_toggled()
OptionsTab.on_get_torrent_status()
OptionsTab.on_key_press_event()
OptionsTab.on_path_chooser_text_changed_event()
OptionsTab.on_spin_value_changed()
OptionsTab.parse_torrents_statuses()
OptionsTab.start()
OptionsTab.stop()
OptionsTab.update()
- deluge.ui.gtk3.path_chooser module
PathChooser
PathChooser.on_accelerator_set()
PathChooser.on_auto_complete_enabled_toggled()
PathChooser.on_completion()
PathChooser.on_list_values_changed_event()
PathChooser.on_max_rows_changed()
PathChooser.on_show_filechooser_toggled()
PathChooser.on_show_folder_on_button_toggled()
PathChooser.on_show_hidden_files_toggled()
PathChooser.on_show_path_entry_toggled()
PathChooser.set_config()
PathChoosersHandler()
singleton()
- deluge.ui.gtk3.path_combo_chooser module
CompletionList
PathAutoCompleter
PathChooserComboBox
PathChooserComboBox.complete()
PathChooserComboBox.get_accelerator_string()
PathChooserComboBox.get_auto_complete_enabled()
PathChooserComboBox.get_filechooser_button_enabled()
PathChooserComboBox.get_filechooser_button_visible()
PathChooserComboBox.get_path_entry_visible()
PathChooserComboBox.get_show_folder_name_on_button()
PathChooserComboBox.get_show_hidden_files()
PathChooserComboBox.get_text()
PathChooserComboBox.on_entry_text_changed()
PathChooserComboBox.set_accelerator_string()
PathChooserComboBox.set_auto_complete_enabled()
PathChooserComboBox.set_auto_completer_func()
PathChooserComboBox.set_enable_properties()
PathChooserComboBox.set_filechooser_button_enabled()
PathChooserComboBox.set_filechooser_button_visible()
PathChooserComboBox.set_path_entry_visible()
PathChooserComboBox.set_sensitive()
PathChooserComboBox.set_show_folder_name_on_button()
PathChooserComboBox.set_show_hidden_files()
PathChooserComboBox.set_text()
PathChooserPopup
PathChooserPopup.get_max_popup_rows()
PathChooserPopup.get_position()
PathChooserPopup.is_popped_up()
PathChooserPopup.on_popup_window_button_press_event()
PathChooserPopup.popdown()
PathChooserPopup.popup()
PathChooserPopup.popup_grab_window()
PathChooserPopup.set_entry_value()
PathChooserPopup.set_max_popup_rows()
PathChooserPopup.set_window_position_and_size()
PathCompletionPopup
StoredValuesList
StoredValuesPopup
StoredValuesPopup.add_current_value_to_saved_list()
StoredValuesPopup.edit_selected_path()
StoredValuesPopup.on_button_add_clicked()
StoredValuesPopup.on_button_default_clicked()
StoredValuesPopup.on_button_down_clicked()
StoredValuesPopup.on_button_edit_clicked()
StoredValuesPopup.on_button_remove_clicked()
StoredValuesPopup.on_button_up_clicked()
StoredValuesPopup.on_buttonbox_key_press_event()
StoredValuesPopup.on_scroll_event()
StoredValuesPopup.on_stored_values_popup_window_focus_out_event()
StoredValuesPopup.popup()
ValueList
ValueList.add_values()
ValueList.get_selected_value()
ValueList.get_selection_path()
ValueList.get_values()
ValueList.get_values_count()
ValueList.handle_list_scroll()
ValueList.on_treeview_mouse_button_press_event()
ValueList.on_value_list_treeview_key_press_event()
ValueList.paths_without_trailing_path_sep
ValueList.remove_selected_path()
ValueList.set_path_selected()
ValueList.set_selected_value()
ValueList.set_values()
is_ascii_value()
key_is_down()
key_is_enter()
key_is_pgup_or_pgdown()
key_is_up()
key_is_up_or_down()
path_without_trailing_path_sep()
- deluge.ui.gtk3.peers_tab module
- deluge.ui.gtk3.piecesbar module
PiecesBar
PiecesBar.clear()
PiecesBar.create_roundcorners_subpath()
PiecesBar.do_draw()
PiecesBar.do_size_allocate_event()
PiecesBar.draw_pieces()
PiecesBar.draw_progress_overlay()
PiecesBar.get_fraction()
PiecesBar.get_pieces()
PiecesBar.get_text()
PiecesBar.resized()
PiecesBar.roundcorners_border()
PiecesBar.roundcorners_clipping()
PiecesBar.set_fraction()
PiecesBar.set_pieces()
PiecesBar.set_text()
PiecesBar.update()
PiecesBar.write_text()
- deluge.ui.gtk3.pluginmanager module
PluginManager
PluginManager.add_preferences_page()
PluginManager.add_toolbar_button()
PluginManager.add_toolbar_separator()
PluginManager.add_torrentmenu_menu()
PluginManager.add_torrentmenu_separator()
PluginManager.add_torrentview_text_column()
PluginManager.deregister_hook()
PluginManager.get_selected_torrents()
PluginManager.register_hook()
PluginManager.remove_preferences_page()
PluginManager.remove_toolbar_button()
PluginManager.remove_torrentmenu_item()
PluginManager.remove_torrentview_column()
PluginManager.run_on_apply_prefs()
PluginManager.run_on_show_prefs()
PluginManager.start()
PluginManager.stop()
PluginManager.update()
PluginManager.update_torrent_view()
- deluge.ui.gtk3.preferences module
Preferences
Preferences.add_page()
Preferences.hide()
Preferences.load_languages()
Preferences.load_pref_dialog_state()
Preferences.on_accounts_add_clicked()
Preferences.on_accounts_delete_clicked()
Preferences.on_accounts_edit_clicked()
Preferences.on_accounts_selection_changed()
Preferences.on_button_apply_clicked()
Preferences.on_button_associate_magnet_clicked()
Preferences.on_button_cache_refresh_clicked()
Preferences.on_button_cancel_clicked()
Preferences.on_button_find_plugins_clicked()
Preferences.on_button_ok_clicked()
Preferences.on_button_plugin_install_clicked()
Preferences.on_button_rescan_plugins_clicked()
Preferences.on_checkbutton_language_toggled()
Preferences.on_combo_encryption_changed()
Preferences.on_combo_proxy_type_changed()
Preferences.on_completed_color_set()
Preferences.on_downloading_color_set()
Preferences.on_entry_proxy_host_paste_clipboard()
Preferences.on_get_known_accounts()
Preferences.on_missing_color_set()
Preferences.on_piecesbar_toggle_toggled()
Preferences.on_plugin_selection_changed()
Preferences.on_plugin_toggled()
Preferences.on_pref_dialog_configure_event()
Preferences.on_pref_dialog_delete_event()
Preferences.on_revert_color_completed_clicked()
Preferences.on_revert_color_downloading_clicked()
Preferences.on_revert_color_missing_clicked()
Preferences.on_revert_color_waiting_clicked()
Preferences.on_selection_changed()
Preferences.on_test_port_clicked()
Preferences.on_toggle()
Preferences.on_urldetect_toggle_toggled()
Preferences.on_waiting_color_set()
Preferences.remove_page()
Preferences.set_config()
Preferences.setup_path_choosers()
Preferences.show()
Preferences.start()
Preferences.stop()
- deluge.ui.gtk3.queuedtorrents module
QueuedTorrents
QueuedTorrents.add_to_queue()
QueuedTorrents.on_button_add_clicked()
QueuedTorrents.on_button_clear_clicked()
QueuedTorrents.on_button_close_clicked()
QueuedTorrents.on_button_remove_clicked()
QueuedTorrents.on_chk_autoadd_toggled()
QueuedTorrents.on_statusbar_click()
QueuedTorrents.run()
QueuedTorrents.start()
QueuedTorrents.stop()
QueuedTorrents.update_status_bar()
- deluge.ui.gtk3.removetorrentdialog module
- deluge.ui.gtk3.sidebar module
- deluge.ui.gtk3.status_tab module
- deluge.ui.gtk3.statusbar module
StatusBar
StatusBar.add_item()
StatusBar.add_timeout_item()
StatusBar.clear_statusbar()
StatusBar.display_warning()
StatusBar.on_configvaluechanged_event()
StatusBar.remove_item()
StatusBar.remove_warning()
StatusBar.send_status_request()
StatusBar.set_limit_value()
StatusBar.show_not_connected()
StatusBar.start()
StatusBar.stop()
StatusBar.update()
StatusBar.update_connections_label()
StatusBar.update_dht_label()
StatusBar.update_download_label()
StatusBar.update_traffic_label()
StatusBar.update_upload_label()
StatusBar.visible()
StatusBarItem
StatusBarItem.get_eventbox()
StatusBarItem.get_text()
StatusBarItem.get_widgets()
StatusBarItem.set_callback()
StatusBarItem.set_image_from_file()
StatusBarItem.set_image_from_icon()
StatusBarItem.set_image_from_stock()
StatusBarItem.set_markup()
StatusBarItem.set_text()
StatusBarItem.set_tooltip()
StatusBarItem.show_all()
- deluge.ui.gtk3.systemtray module
SystemTray
SystemTray.blink()
SystemTray.build_tray_bwsetsubmenu()
SystemTray.config_value_changed()
SystemTray.disable()
SystemTray.enable()
SystemTray.on_enable_appindicator_set()
SystemTray.on_enable_system_tray_set()
SystemTray.on_menuitem_add_torrent_activate()
SystemTray.on_menuitem_pause_session_activate()
SystemTray.on_menuitem_quit_activate()
SystemTray.on_menuitem_quitdaemon_activate()
SystemTray.on_menuitem_resume_session_activate()
SystemTray.on_menuitem_show_deluge_activate()
SystemTray.on_tray_clicked()
SystemTray.on_tray_popup()
SystemTray.on_tray_setbwdown()
SystemTray.on_tray_setbwup()
SystemTray.send_status_request()
SystemTray.setbwlimit()
SystemTray.shutdown()
SystemTray.start()
SystemTray.stop()
SystemTray.update()
- deluge.ui.gtk3.tab_data_funcs module
- deluge.ui.gtk3.toolbar module
ToolBar
ToolBar.add_separator()
ToolBar.add_toolbutton()
ToolBar.on_toolbutton_add_clicked()
ToolBar.on_toolbutton_connectionmanager_clicked()
ToolBar.on_toolbutton_pause_clicked()
ToolBar.on_toolbutton_preferences_clicked()
ToolBar.on_toolbutton_queue_down_clicked()
ToolBar.on_toolbutton_queue_up_clicked()
ToolBar.on_toolbutton_remove_clicked()
ToolBar.on_toolbutton_resume_clicked()
ToolBar.remove()
ToolBar.start()
ToolBar.stop()
ToolBar.visible()
- deluge.ui.gtk3.torrentdetails module
Tab
TabWidget
TorrentDetails
TorrentDetails.add_tab()
TorrentDetails.clear()
TorrentDetails.create_tab_pos_menuitem()
TorrentDetails.generate_menu()
TorrentDetails.hide_all_tabs()
TorrentDetails.hide_tab()
TorrentDetails.load_state()
TorrentDetails.regenerate_positions()
TorrentDetails.remove_tab()
TorrentDetails.save_state()
TorrentDetails.set_tab_visible()
TorrentDetails.show_all_tabs()
TorrentDetails.show_tab()
TorrentDetails.shutdown()
TorrentDetails.start()
TorrentDetails.stop()
TorrentDetails.tab_insert_position()
TorrentDetails.update()
TorrentDetails.visible()
- deluge.ui.gtk3.torrentview module
SearchBox
SearchBox.clear_search()
SearchBox.hide()
SearchBox.on_close_search_button_clicked()
SearchBox.on_search_filter_toggle()
SearchBox.on_search_torrents_entry_changed()
SearchBox.on_search_torrents_entry_icon_press()
SearchBox.on_search_torrents_match_toggled()
SearchBox.prefilter_torrentview()
SearchBox.set_search_filter()
SearchBox.show()
TorrentView
TorrentView.add_rows()
TorrentView.get_selected_torrent()
TorrentView.get_selected_torrents()
TorrentView.get_torrent_status()
TorrentView.get_visible_torrents()
TorrentView.keypress_delete()
TorrentView.keypress_down()
TorrentView.keypress_menu()
TorrentView.keypress_up()
TorrentView.mark_dirty()
TorrentView.on_button_press_event()
TorrentView.on_columns_changed_event()
TorrentView.on_drag_data_received()
TorrentView.on_drag_drop()
TorrentView.on_key_press_event()
TorrentView.on_selection_changed()
TorrentView.on_sessionpaused_event()
TorrentView.on_sessionresumed_event()
TorrentView.on_torrentadded_event()
TorrentView.on_torrentqueuechanged_event()
TorrentView.on_torrentremoved_event()
TorrentView.on_torrentstatechanged_event()
TorrentView.remove_column()
TorrentView.remove_row()
TorrentView.save_state()
TorrentView.select_first_row()
TorrentView.send_status_request()
TorrentView.set_columns_to_update()
TorrentView.set_filter()
TorrentView.shutdown()
TorrentView.start()
TorrentView.stop()
TorrentView.update()
TorrentView.update_view()
eta_column_sort()
progress_sort()
queue_column_sort()
queue_peer_seed_sort_function()
seed_peer_column_sort()
str_nocase_sort()
- deluge.ui.gtk3.torrentview_data_funcs module
cell_data_date()
cell_data_date_added()
cell_data_date_completed()
cell_data_date_or_never()
cell_data_peer()
cell_data_peer_progress()
cell_data_progress()
cell_data_queue()
cell_data_ratio()
cell_data_ratio_avail()
cell_data_ratio_ratio()
cell_data_ratio_seeds_peers()
cell_data_size()
cell_data_speed()
cell_data_speed_down()
cell_data_speed_limit()
cell_data_speed_limit_down()
cell_data_speed_limit_up()
cell_data_speed_up()
cell_data_statusicon()
cell_data_time()
cell_data_trackericon()
set_tracker_icon()
- deluge.ui.gtk3.trackers_tab module
- Module contents
- deluge.ui.web package
- Submodules
- deluge.ui.web.auth module
- deluge.ui.web.common module
- deluge.ui.web.json_api module
EventQueue
JSON
JSONComponent
JSONException
WebApi
WebApi.add_host()
WebApi.add_torrents()
WebApi.connect()
WebApi.connected()
WebApi.deregister_event_listener()
WebApi.disable()
WebApi.disconnect()
WebApi.download_torrent_from_url()
WebApi.edit_host()
WebApi.enable()
WebApi.get_config()
WebApi.get_events()
WebApi.get_host_status()
WebApi.get_hosts()
WebApi.get_magnet_info()
WebApi.get_plugin_info()
WebApi.get_plugin_resources()
WebApi.get_plugins()
WebApi.get_torrent_files()
WebApi.get_torrent_info()
WebApi.get_torrent_status()
WebApi.register_event_listener()
WebApi.remove_host()
WebApi.set_config()
WebApi.set_theme()
WebApi.start()
WebApi.start_daemon()
WebApi.stop()
WebApi.stop_daemon()
WebApi.update_ui()
WebApi.upload_plugin()
WebUtils
export()
- deluge.ui.web.pluginmanager module
- deluge.ui.web.server module
- deluge.ui.web.web module
- Module contents
Submodules
deluge.ui.client module
- class deluge.ui.client.Client
Bases:
object
This class is used to connect to a daemon process and issue RPC requests.
- property auth_levels_mapping
- property auth_levels_mapping_reverse
- connect(host='127.0.0.1', port=58846, username='', password='', skip_authentication=False)
Connects to a daemon process.
- Parameters:
host – str, the hostname of the daemon
port – int, the port of the daemon
username – str, the username to login with
password – str, the password to login with
- Returns:
a Deferred object that will be called once the connection has been established or fails
- connected()
Check to see if connected to a daemon.
- Returns:
bool, True if connected
- connection_info()
Get some info about the connection or return None if not connected.
- Returns:
a tuple of (host, port, username) or None if not connected
- property daemon_version: str
Get the connected daemon version
- Returns:
The daemon version
- daemon_version_check_min(min_version='2.1.1.dev99')
Check connected daemon against a minimum version.
- Return type:
bool
- Returns:
If connected daemon meets minimum version requirement.
- deregister_event_handler(event, handler)
Deregisters a event handler.
- Parameters:
event – str, the name of the event
handler – function, the function registered
- disconnect()
Disconnects from the daemon.
- force_call(block=False)
- get_auth_level()
Returns the authentication level the daemon returned upon authentication.
- Returns:
the authentication level
- Return type:
int
- get_auth_user()
Returns the current authenticated username.
- Returns:
the authenticated username
- Return type:
str
- get_bytes_recv()
Returns the number of bytes received from the daemon.
- Returns:
the number of bytes received
- Return type:
int
- get_bytes_sent()
Returns the number of bytes sent to the daemon.
- Returns:
the number of bytes sent
- Return type:
int
- is_classicmode()
Deprecated: Use is_standalone
- is_localhost()
Checks if the current connected host is a localhost or not.
- Returns:
bool, True if connected to a localhost
- is_standalone()
Checks to see if the client has been started in standalone mode.
- Returns:
bool, True if in standalone mode
- register_event_handler(event, handler)
Registers a handler that will be called when an event is received from the daemon.
- Params event:
str, the event to handle
- Params handler:
func, the handler function, f(args)
- set_disconnect_callback(cb)
Set a function to be called whenever the client is disconnected from the daemon for any reason.
- start_classic_mode()
Deprecated: Use start_standalone
- start_daemon(port, config)
Starts a daemon process.
- Parameters:
port (int) – Port for the daemon to listen on.
config (str) – Config path to pass to daemon.
- Returns:
bool – True is successfully started the daemon, False otherwise.
- start_standalone()
Starts a daemon in the same process as the client.
- stop_classic_mode()
Deprecated: Use stop_standalone
- stop_standalone()
Stops the daemon process in the client.
- class deluge.ui.client.DaemonProxy
Bases:
object
- class deluge.ui.client.DaemonSSLProxy(event_handlers=None)
Bases:
DaemonProxy
- authenticate(username, password)
- call(method, *args, **kwargs)
Makes a RPCRequest to the daemon. All methods should be in the form of ‘component.method’.
- Params method:
str, the method to call in the form of ‘component.method’
- Params args:
the arguments to call the remote method with
- Params kwargs:
the keyword arguments to call the remote method with
- Returns:
a twisted.Deferred object that will be activated when a RPCResponse or RPCError is received from the daemon
- connect(host, port)
Connects to a daemon at host:port
- Parameters:
host – str, the host to connect to
port – int, the listening port on the daemon
- Returns:
twisted.Deferred
- deregister_event_handler(event, handler)
Deregisters a event handler.
- Parameters:
event (str) – the name of the event
handler (function) – the function registered
- disconnect()
- get_bytes_recv()
- get_bytes_sent()
- pop_deferred(request_id)
Pops a Deferred object. This is generally called once we receive the reply we were waiting on from the server.
- Parameters:
request_id (int) – the request_id of the Deferred to pop
- register_event_handler(event, handler)
Registers a handler function to be called when :param:event is received from the daemon.
- Parameters:
event (str) – the name of the event to handle
handler (function) – the function to be called when :param:event is emitted from the daemon
- set_disconnect_callback(cb)
Set a function to be called when the connection to the daemon is lost for any reason.
- class deluge.ui.client.DaemonStandaloneProxy(event_handlers=None)
Bases:
DaemonProxy
- call(method, *args, **kwargs)
- deregister_event_handler(event, handler)
Deregisters a event handler.
- Parameters:
event (str) – the name of the event
handler (function) – the function registered
- disconnect()
- register_event_handler(event, handler)
Registers a handler function to be called when :param:event is received from the daemon.
- Parameters:
event (str) – the name of the event to handle
handler (function) – the function to be called when :param:event is emitted from the daemon
- class deluge.ui.client.DelugeRPCClientFactory(daemon, event_handlers)
Bases:
ClientFactory
- clientConnectionFailed(connector, reason)
Called when a connection has failed to connect.
It may be useful to call connector.connect() - this will reconnect.
@type reason: L{twisted.python.failure.Failure}
- clientConnectionLost(connector, reason)
Called when an established connection is lost.
It may be useful to call connector.connect() - this will reconnect.
@type reason: L{twisted.python.failure.Failure}
- protocol
alias of
DelugeRPCProtocol
- startedConnecting(connector)
Called when a connection has been started.
You can call connector.stopConnecting() to stop the connection attempt.
@param connector: a Connector object.
- class deluge.ui.client.DelugeRPCProtocol
Bases:
DelugeTransferProtocol
- connectionMade()
Called when a connection is made.
This may be considered the initializer of the protocol, because it is called when the connection is completed. For clients, this is called once the connection to the server has been established; for servers, this is called after an accept() call stops blocking and a socket has been received. If you need to send any greeting or initial message, do it here.
- message_received(request)
This method is called whenever we receive a message from the daemon.
- Parameters:
request – a tuple that should be either a RPCResponse, RCPError or RPCSignal
- send_request(request)
Sends a RPCRequest to the server.
- Parameters:
request – RPCRequest
- class deluge.ui.client.DelugeRPCRequest
Bases:
object
This object is created whenever there is a RPCRequest to be sent to the daemon. It is generally only used by the DaemonProxy’s call method.
- args = None
- format_message()
Returns a properly formatted RPCRequest based on the properties. Will raise a TypeError if the properties haven’t been set yet.
- Returns:
a properly formatted RPCRequest
- kwargs = None
- method = None
- request_id = None
- class deluge.ui.client.DottedObject(daemon, method)
Bases:
object
This is used for dotted name calls to client
- class deluge.ui.client.RemoteMethod(daemon, method)
Bases:
DottedObject
This is used when something like ‘client.core.get_something()’ is attempted.
- deluge.ui.client.format_kwargs(kwargs)
deluge.ui.common module
The ui common module contains methods and classes that are deemed useful for all the interfaces.
- class deluge.ui.common.FileTree(paths)
Bases:
object
Converts a dict of paths, from a V1 torrent, into a file tree.
- Each file will have the dictionary structure of:
{ file_name: [index, length, download] }
- Where:
index (int): the index of file in the torrent length (int): the size of the file, in bytes download (bool): marks the file to download
- Folder will be dictionaries of files:
{ dir1: {file_name1: […], file_name2: […]}, dir2: … }
- Parameters:
paths (dict) – The paths to be converted.
- get_tree()
Return the tree, after first converting all file lists to a tuple.
- Returns:
dict – the file tree.
- walk(callback)
Walk through the file tree calling the callback function on each item contained.
- Parameters:
callback (function) – The function to be used as a callback, it should have the signature func(item, path) where item is a tuple for a file and dict for a directory.
- class deluge.ui.common.FileTree2(paths)
Bases:
object
Converts a list of paths, from a V1 torrent, into a file tree.
- Each file will have the dictionary structure of:
{ file_name: {type, path, index, length, download} }
- where:
type (str): will always be “file” path (str): the absolute file path from the root the torrent index (int): the index of file in the torrent length (int): the size of the file, in bytes download (bool): marks the file to download
- Folder will be dictionaries of files:
{ dir1: type, contents: {file_name1: {…}, file_name2: {…}}, dir2: … }
- where:
type (str): will always be “dir” contents (dict): a dictionary of inner files and folders
- The entire tree will start with a root dictionary:
{ contents: {dirs…}, type: “dir” }
- Parameters:
paths (list) – The paths to be converted.
- get_tree()
Return the tree.
- Returns:
the file tree.
- Return type:
dictionary
- walk(callback)
Walk through the file tree calling the callback function on each item contained.
- Parameters:
callback (function) – The function to be used as a callback, it should have the signature func(item, path) where item is a tuple for a file and dict for a directory.
- class deluge.ui.common.FileTree2BTv2(file_tree)
Bases:
FileTree2
Converts a dict of paths, from a V2 torrent, into a file tree.
- Each file will have the dictionary structure of:
{ file_name: {type, path, index, length, download} }
- where:
type (str): will always be “file” path (str): the absolute file path from the root the torrent index (int): the index of file in the torrent length (int): the size of the file, in bytes download (bool): marks the file to download
- Folder will be dictionaries of files:
{ dir1: type, contents: {file_name1: {…}, file_name2: {…}}, dir2: … }
- where:
type (str): will always be “dir” contents (dict): a dictionary of inner files and folders
- The entire tree will start with a root dictionary:
{ contents: {dirs…}, type: “dir” }
- Parameters:
file_tree (dict) – The paths to be converted.
- class deluge.ui.common.FiletreeBTv2(file_tree)
Bases:
FileTree
Converts a dict of paths, from a V2 torrent, into a file tree.
- Each file will have the dictionary structure of:
{ file_name: [index, length, download] }
- Where:
index (int): the index of file in the torrent length (int): the size of the file, in bytes download (bool): marks the file to download
- Folder will be dictionaries of files:
{ dir1: {file_name1: […], file_name2: […]}, dir2: … }
- Parameters:
file_tree (dict) – The paths to be converted.
- class deluge.ui.common.TorrentInfo(filename='', filetree=1, torrent_file=None, force_bt_version=1)
Bases:
object
Collects information about a torrent file.
- Parameters:
filename (str, optional) – The path to the .torrent file.
filetree (int, optional) – The version of filetree to create (defaults to 1).
torrent_file (dict, optional) – A bdecoded .torrent file contents.
force_bt_version (int, optional) – The BitTorrent spec to use for parsing (defaults to 1).
- as_dict(*keys)
The torrent info as a dictionary, filtered by keys.
- Parameters:
keys (str) – A space-separated string of keys.
- Returns:
dict – The torrent info dict with specified keys.
- property filedata
The contents of the .torrent file.
- Returns:
bytes – The bencoded metainfo.
- property files
The files that the torrent contains.
- Returns:
list – The list of torrent files.
- property files_tree
A tree of the files the torrent contains.
{ "some_directory": { "some_file": (index, size, download) } }
- Returns:
dict – The tree of files.
- classmethod from_metadata(metadata, trackers=None)
Create a TorrentInfo from metadata and trackers
- Parameters:
metadata (dict) – A bdecoded info section of torrent file.
trackers (list of lists, optional) – The trackers to include.
- property info_hash
The calculated torrent info_hash.
- Returns:
str – The torrent info_hash.
- property metainfo
Returns the torrent metainfo dictionary.
This is the bdecoded torrent file contents.
- Returns:
dict – The metainfo dictionary.
- property name
The name of the torrent.
- Returns:
str – The torrent name.
deluge.ui.coreconfig module
deluge.ui.countries module
deluge.ui.hostlist module
- class deluge.ui.hostlist.HostList
Bases:
object
This class contains methods for adding, removing and looking up hosts in hostlist.conf.
- add_default_host()
- add_host(hostname, port, username, password)
Add a new host to hostlist.
- Parameters:
hostname (str) – The IP or hostname of the deluge daemon.
port (int) – The port of the deluge daemon.
username (str) – The username to login to the daemon with.
password (str) – The password to login to the daemon with.
- Returns:
str – The new host id.
- check_info_exists(hostname, port, username, skip_host_id=None)
Check for existing host entries with the same details.
- Parameters:
hostname (str) – The IP or hostname of the deluge daemon.
port (int) – The port of the deluge daemon.
username (str) – The username to login to the daemon with.
skip_host_id (str) – A host_id to skip to check if other hosts match details.
- Raises:
ValueError – Host details already exist.
- connect_host(host_id)
Connect to host daemon
- get_host_info(host_id)
Get the host details for host_id.
- Parameters:
host_id (str) – The host id to get info on.
- Returns:
list – A list of (host_id, hostname, port, username).
- get_host_status(host_id)
Gets the current status (online/offline) of the host
- Parameters:
host_id (str) – The host id to check status of.
- Returns:
tuple – A tuple of strings (host_id, status, version).
- get_hosts_info()
Get information of all the hosts in the hostlist.
- Returns:
list of lists – Host information in the format [(host_id, hostname, port, username)].
- remove_host(host_id)
Removes the host entry from hostlist config.
- Parameters:
host_id (str) – The host id to remove.
- Returns:
bool – True is successfully removed, False otherwise.
- update_host(host_id, hostname, port, username, password)
Update the supplied host id with new connection details.
- Parameters:
host_id (str) – The host id to update.
hostname (str) – The new IP or hostname of the deluge daemon.
port (int) – The new port of the deluge daemon.
username (str) – The new username to login to the daemon with.
password (str) – The new password to login to the daemon with.
- deluge.ui.hostlist.default_hostlist()
Create a new hosts key for hostlist with a localhost entry
- deluge.ui.hostlist.mask_hosts_password(hosts)
Replace passwords in hosts list with *’s for log output
- deluge.ui.hostlist.migrate_config_2_to_3(config)
Mirgrates old hostlist config files to new file version
- deluge.ui.hostlist.migrate_hostlist(old_filename, new_filename)
Check for old hostlist filename and save details to new filename
- deluge.ui.hostlist.validate_host_info(hostname, port)
Checks that hostname and port are valid.
- Parameters:
hostname (str) – The IP or hostname of the deluge daemon.
port (int) – The port of the deluge daemon.
- Raises:
ValueError – Host details are not valid with reason.
deluge.ui.sessionproxy module
- class deluge.ui.sessionproxy.SessionProxy
Bases:
Component
The SessionProxy component is used to cache session information client-side to reduce the number of RPCs needed to provide a rich user interface.
It will query the Core for only changes in the status of the torrents and will try to satisfy client requests from the cache.
- create_status_dict(torrent_ids, keys)
Creates a status dict from the cache.
- Parameters:
torrent_ids (list of strings) – the torrent_ids
keys (list of strings) – the status keys
- Returns:
a dict with the status information for the torrent_ids
- Return type:
dict
- get_torrent_status(torrent_id, keys)
Get a status dict for one torrent.
- Parameters:
torrent_id (string) – the torrent_id
keys (list of strings) – the status keys
- Returns:
a dict of status information
- Return type:
dict
- get_torrents_status(filter_dict, keys)
Get a dict of torrent statuses.
The filter can take 2 keys, state and id. The state filter can be one of the torrent states or the special one Active. The id key is simply a list of torrent_ids.
- Parameters:
filter_dict (dict) – the filter used for this query
keys (list of strings) – the status keys
- Returns:
a dict of torrent_ids and their status dicts
- Return type:
dict
- on_torrent_added(torrent_id, from_state)
- on_torrent_removed(torrent_id)
- on_torrent_state_changed(torrent_id, state)
- start()
- stop()
deluge.ui.tracker_icons module
- class deluge.ui.tracker_icons.FaviconParser
Bases:
HTMLParser
A HTMLParser which extracts favicons from a HTML page
- get_icons()
Returns a list of favicons extracted from the HTML page
- Returns:
a list of favicons
- Return type:
list
- handle_endtag(tag)
- handle_starttag(tag, attrs)
- exception deluge.ui.tracker_icons.InvalidIconError
Bases:
Exception
- exception deluge.ui.tracker_icons.NoIconsError
Bases:
Exception
- class deluge.ui.tracker_icons.TrackerIcon(filename)
Bases:
object
Represents a tracker’s icon
- __init__(filename)
Initialises a new TrackerIcon object
- Parameters:
filename (string) – the filename of the icon
- get_cached_icon()
Returns the cached icon data.
- get_data()
Returns the TrackerIcon’s image data as a string
- Returns:
the image data
- Return type:
string
- get_filename(full=True)
Returns the TrackerIcon image’s filename
- Parameters:
full (boolean) – an (optional) arg to indicate whether or not to return the full path
- Returns:
the path of the TrackerIcon’s image
- Return type:
string
- get_mimetype()
Returns the mimetype of this TrackerIcon’s image
- Returns:
the mimetype of the image
- Return type:
string
- set_cached_icon(data)
Set the cached icon data.
- class deluge.ui.tracker_icons.TrackerIcons(icon_dir=None, no_icon=None)
Bases:
Component
A TrackerIcon factory class
- __init__(icon_dir=None, no_icon=None)
Initialises a new TrackerIcons object
- Parameters:
icon_dir (string) – the (optional) directory of where to store the icons
no_icon (string) – the (optional) path name of the icon to show when no icon can be fetched
- check_icon_is_valid(icon_name)
Performs a sanity check on icon_name
- Parameters:
icon_name (string) – the name of the icon to check
- Returns:
the name of the validated icon
- Return type:
string
- Raises:
InvalidIconError
- static del_tmp_file(result, tmp_file)
Remove tmp_file created when downloading tracker page
- download_icon(icons, host)
Downloads the first available icon from icons
- Parameters:
icons (list) – a list of icons
host (string) – the tracker’s host name
- Returns:
a Deferred which fires with the downloaded icon’s filename
- Return type:
Deferred
- download_page(host, filename, url=None)
Downloads a tracker host’s page
If no url is provided, it bases the url on the host
- Parameters:
host (
str
) – The tracker hostfilename (
str
) – Location to download pageurl (
Optional
[str
]) – The url of the host
- Return type:
Deferred
[str
]- Returns:
The filename of the tracker host’s page
- fetch(host)
Fetches (downloads) the icon for the given host. When the icon is downloaded a callback is fired on the the queue of callers to this function.
- Parameters:
host (string) – the host to obtain the TrackerIcon for
- Returns:
a Deferred which fires with the TrackerIcon for the given host
- Return type:
Deferred
- get(host)
Returns a TrackerIcon for the given tracker’s host from the icon cache.
- Parameters:
host (string) – the host for the TrackerIcon
- Returns:
the TrackerIcon for the host
- Return type:
- has(host)
Returns True or False if the tracker icon for the given host exists or not.
- Parameters:
host (string) – the host for the TrackerIcon
- Returns:
True or False
- Return type:
bool
- host_to_url(host)
Given a host, returns the URL to fetch
- Parameters:
host (string) – the tracker host
- Returns:
the url of the tracker
- Return type:
string
- on_download_icon_complete(icon_name, host)
Runs any download cleanup functions
- Parameters:
icon_name (string) – the filename of the icon that finished downloading
host (string) – the host the icon completed to download for
- Returns:
the icon that finished downloading
- Return type:
- on_download_icon_fail(f, host, icons=None)
Recovers from a download error
- Parameters:
f (Failure) – the failure that occurred
host (string) – the host the icon failed to download for
icons (list) – the (optional) list of remaining icons
- Returns:
a Deferred if recovery was possible else the original failure
- Return type:
Deferred or Failure
- on_download_page_complete(page)
Runs any download clean up functions
- Parameters:
page (string) – the page that finished downloading
- Returns:
the page that finished downloading
- Return type:
string
- on_download_page_fail(failure)
Runs any download failure clean-up functions
- Parameters:
failure (
Failure
) – The failure that occurred.- Return type:
Failure
- Returns:
The original failure.
- on_parse_complete(icons, host)
Runs any parse clean up functions
- Parameters:
icons (list) – the icons that were extracted from the page
host (string) – the host the icons are for
- Returns:
the icons that were extracted from the page
- Return type:
list
- on_parse_fail(f)
Recovers from a parse error
- Parameters:
f (Failure) – the failure that occurred
- Returns:
a Deferred if recovery was possible else the original failure
- Return type:
Deferred or Failure
- parse_html_page(page)
Parses the html page for favicons
- Parameters:
page (string) – the page to parse
- Returns:
a Deferred which callbacks a list of available favicons (url, type)
- Return type:
Deferred
- resize_icon(icon)
Resizes the given icon to be 16x16 pixels
- Parameters:
icon (TrackerIcon) – the icon to resize
- Returns:
the resized icon
- Return type:
- store_icon(icon, host)
Stores the icon for the given host Callbacks any pending deferreds waiting on this icon
- Parameters:
icon (TrackerIcon or None) – the icon to store
host (string) – the host to store it for
- Returns:
the stored icon
- Return type:
TrackerIcon or None
- deluge.ui.tracker_icons.extension_to_mimetype(extension)
Given a filename extension, returns the appropriate mimetype
- Parameters:
extension (string) – the filename extension
- Returns:
the mimetype for the given filename extension
- Return type:
string
- Raises:
KeyError – if given an invalid filename extension
- deluge.ui.tracker_icons.host_to_icon_name(host, mimetype)
Given a host, returns the appropriate icon name
- Parameters:
host (string) – the host in question
mimetype (string) – the mimetype of the icon
- Returns:
the icon’s filename
- Return type:
string
- deluge.ui.tracker_icons.icon_name_to_host(icon)
Given a host’s icon name, returns the host name
- Parameters:
icon (string) – the icon name
- Returns:
the host name
- Return type:
string
- deluge.ui.tracker_icons.mimetype_to_extension(mimetype)
Given a mimetype, returns the appropriate filename extension
- Parameters:
mimetype (string) – the mimetype
- Returns:
the filename extension for the given mimetype
- Return type:
string
- Raises:
KeyError – if given an invalid mimetype
- deluge.ui.tracker_icons.url_to_host(url)
Given a URL, returns the host it belongs to
- Parameters:
url (string) – the URL in question
- Returns:
the host of the given URL
- Return type:
string
deluge.ui.ui module
deluge.ui.ui_entry module
Main starting point for Deluge
- deluge.ui.ui_entry.start_ui()
Entry point for ui script