geany
1.38
About: Geany is a text editor (using GTK2) with basic features of an integrated development environment (syntax highlighting, code folding, symbol name auto-completion, ...). F: office T: editor programming GTK+ IDE
![]() ![]() |
Go to the source code of this file.
Classes | |
struct | SidebarTreeviews |
Typedefs | |
typedef struct SidebarTreeviews | SidebarTreeviews |
Enumerations | |
enum | { SYMBOLS_COLUMN_ICON , SYMBOLS_COLUMN_NAME , SYMBOLS_COLUMN_TAG , SYMBOLS_COLUMN_TOOLTIP , SYMBOLS_N_COLUMNS } |
Functions | |
void | sidebar_init (void) |
void | sidebar_finalize (void) |
void | sidebar_update_tag_list (GeanyDocument *doc, gboolean update) |
void | sidebar_openfiles_add (GeanyDocument *doc) |
void | sidebar_openfiles_update (GeanyDocument *doc) |
void | sidebar_openfiles_update_all (void) |
void | sidebar_select_openfiles_item (GeanyDocument *doc) |
void | sidebar_remove_document (GeanyDocument *doc) |
void | sidebar_add_common_menu_items (GtkMenu *menu) |
void | sidebar_focus_openfiles_tab (void) |
void | sidebar_focus_symbols_tab (void) |
Variables | |
SidebarTreeviews | tv |
typedef struct SidebarTreeviews SidebarTreeviews |
anonymous enum |
void sidebar_add_common_menu_items | ( | GtkMenu * | menu | ) |
Definition at line 591 of file sidebar.c.
References _, gtk_container_add(), NULL, on_hide_sidebar(), on_list_document_activate(), on_list_symbol_activate(), on_sidebar_display_open_files_show(), and on_sidebar_display_symbol_list_show().
Referenced by create_openfiles_popup_menu(), and create_taglist_popup_menu().
void sidebar_finalize | ( | void | ) |
Definition at line 1115 of file sidebar.c.
References SidebarTreeviews::default_tag_tree, openfiles_popup_menu, SidebarTreeviews::popup_taglist, tv, and WIDGET.
Referenced by do_main_quit().
void sidebar_focus_openfiles_tab | ( | void | ) |
Definition at line 1129 of file sidebar.c.
References interface_prefs, main_widgets, GeanyMainWidgets::sidebar_notebook, GeanyInterfacePrefs::sidebar_openfiles_visible, SidebarTreeviews::tree_openfiles, TREEVIEW_OPENFILES, tv, and ui_prefs.
Referenced by cb_func_switch_action().
void sidebar_focus_symbols_tab | ( | void | ) |
Definition at line 1141 of file sidebar.c.
References interface_prefs, main_widgets, GeanyMainWidgets::sidebar_notebook, GeanyInterfacePrefs::sidebar_symbol_visible, TREEVIEW_SYMBOL, and ui_prefs.
Referenced by cb_func_switch_action().
void sidebar_init | ( | void | ) |
Definition at line 1085 of file sidebar.c.
References configuration_add_pref_group(), documents_show_paths, geany_object, group, main_widgets, NULL, on_load_settings(), on_save_settings(), on_sidebar_switch_page(), GeanyMainWidgets::sidebar_notebook, sidebar_tabs_show_hide(), stash_group, stash_group_add_boolean(), stash_group_add_widget_property(), stash_group_new(), and ui_prefs.
Referenced by main_lib().
void sidebar_openfiles_add | ( | GeanyDocument * | doc | ) |
Definition at line 462 of file sidebar.c.
References color, DOC_FILENAME, document_get_status_color(), DOCUMENTS_COLOR, DOCUMENTS_DOCUMENT, DOCUMENTS_FILENAME, DOCUMENTS_ICON, DOCUMENTS_SHORTNAME, GeanyDocument::file_type, get_doc_parent(), GeanyFiletype::icon, GeanyDocumentPrivate::iter, NULL, GeanyDocument::priv, store_openfiles, SidebarTreeviews::tree_openfiles, tv, and ui_get_mime_icon().
Referenced by document_create(), sidebar_openfiles_update(), and sidebar_openfiles_update_all().
void sidebar_openfiles_update | ( | GeanyDocument * | doc | ) |
Definition at line 507 of file sidebar.c.
References color, DOC_FILENAME, document_get_status_color(), DOCUMENTS_COLOR, DOCUMENTS_FILENAME, DOCUMENTS_ICON, GeanyDocument::file_type, GeanyFiletype::icon, GeanyDocumentPrivate::iter, openfiles_remove(), GeanyDocument::priv, sidebar_openfiles_add(), store_openfiles, SidebarTreeviews::tree_openfiles, tv, and utils_str_equal().
Referenced by document_set_filetype(), and ui_update_tab_status().
void sidebar_openfiles_update_all | ( | void | ) |
Definition at line 542 of file sidebar.c.
References documents, foreach_document, sidebar_openfiles_add(), and store_openfiles.
Referenced by on_openfiles_show_paths_activate(), on_prefs_dialog_response(), and update_ui().
void sidebar_remove_document | ( | GeanyDocument * | doc | ) |
Definition at line 554 of file sidebar.c.
References NULL, openfiles_remove(), GeanyDocument::priv, and GeanyDocumentPrivate::tag_tree.
Referenced by remove_page().
void sidebar_select_openfiles_item | ( | GeanyDocument * | doc | ) |
Definition at line 790 of file sidebar.c.
References store_openfiles, and tree_model_find_node().
Referenced by main_lib(), and on_notebook1_switch_page_after().
void sidebar_update_tag_list | ( | GeanyDocument * | doc, |
gboolean | update | ||
) |
Definition at line 188 of file sidebar.c.
References CHANGE_TREE, create_default_tag_tree(), SidebarTreeviews::default_tag_tree, GeanyDocument::file_type, filetype_has_tags(), GeanyDocument::has_tags, GeanyDocument::is_valid, main_widgets, NULL, prepare_taglist(), GeanyDocument::priv, GeanyMainWidgets::sidebar_notebook, SYMBOLS_N_COLUMNS, symbols_recreate_tag_list(), GeanyDocumentPrivate::tag_store, GeanyDocumentPrivate::tag_tree, GeanyDocumentPrivate::tag_tree_dirty, tag_window, TM_TYPE_TAG, TREEVIEW_SYMBOL, and tv.
Referenced by document_update_tags(), main_lib(), on_notebook1_switch_page_after(), on_save_all1_activate(), on_sidebar_switch_page(), and remove_page().
|
extern |
Definition at line 50 of file sidebar.c.
Referenced by check_menu_key(), create_default_tag_tree(), create_taglist_popup_menu(), document_create(), on_compiler_treeview_copy_activate(), on_default_tag_tree_button_press_event(), on_find_in_files(), on_openfiles_document_action(), on_openfiles_expand_collapse(), on_prefs_font_choosed(), openfiles_go_to_selection(), prepare_openfiles(), sidebar_button_press_cb(), sidebar_finalize(), sidebar_focus_openfiles_tab(), sidebar_key_press_cb(), sidebar_openfiles_add(), sidebar_openfiles_update(), sidebar_update_tag_list(), tree_model_find_node(), and unfold_parent().