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
![]() ![]() |
#include "gtkcompat.h"
Go to the source code of this file.
Functions | |
void | callbacks_connect (GtkBuilder *builder) |
void | on_new1_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_save1_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_save_as1_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_quit1_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_open1_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_save_all1_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_close1_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_close_all1_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_replace_tabs_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_toolbutton_search_clicked (GtkAction *action, gpointer user_data) |
gboolean | toolbar_popup_menu (GtkWidget *widget, GdkEventButton *event, gpointer user_data) |
void | on_undo1_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_redo1_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_cut1_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_copy1_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_paste1_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_delete1_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_zoom_in1_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_zoom_out1_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_toolbar_search_entry_changed (GtkAction *action, const gchar *text, gpointer user_data) |
void | on_toolbar_search_entry_activate (GtkAction *action, const gchar *text, gpointer user_data) |
void | on_toggle_case1_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_find_usage1_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_preferences1_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_normal_size1_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_show_color_chooser1_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_find1_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_find_next1_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_find_previous1_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_find_nextsel1_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_find_prevsel1_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_replace1_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_find_in_files1_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_toolbutton_reload_clicked (GtkAction *action, gpointer user_data) |
void | on_reload_all (GtkAction *action, gpointer user_data) |
void | on_go_to_line_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_help1_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_toolbutton_compile_clicked (GtkAction *action, gpointer user_data) |
void | on_line_wrapping1_toggled (GtkCheckMenuItem *checkmenuitem, gpointer user_data) |
void | on_toolbutton_goto_entry_activate (GtkAction *action, const gchar *text, gpointer user_data) |
void | on_toolbutton_goto_clicked (GtkAction *action, gpointer user_data) |
void | on_toolbutton_run_clicked (GtkAction *action, gpointer user_data) |
void | on_menu_remove_indicators1_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_print1_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_file_properties_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_menu_select_all1_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_menu_show_sidebar1_toggled (GtkCheckMenuItem *checkmenuitem, gpointer user_data) |
void | on_menu_comment_line1_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_menu_uncomment_line1_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_menu_increase_indent1_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_menu_decrease_indent1_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_menu_toggle_line_commentation1_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_next_message1_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_project_new1_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_project_open1_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_project_close1_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_project_properties1_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_menu_open_selected_file1_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_remove_markers1_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_context_action1_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_menu_toggle_all_additional_widgets1_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_toolbutton_back_activate (GtkAction *action, gpointer user_data) |
void | on_toolbutton_forward_activate (GtkAction *action, gpointer user_data) |
gboolean | on_motion_event (GtkWidget *widget, GdkEventMotion *event, gpointer user_data) |
gboolean | on_escape_key_press_event (GtkWidget *widget, GdkEventKey *event, gpointer user_data) |
void | on_line_breaking1_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_replace_spaces_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_previous_message1_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_close_other_documents1_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_find_document_usage1_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_send_selection_to_vte1_activate (GtkMenuItem *menuitem, gpointer user_data) |
void | on_plugin_preferences1_activate (GtkMenuItem *menuitem, gpointer user_data) |
Variables | |
gboolean | ignore_callback |
void callbacks_connect | ( | GtkBuilder * | builder | ) |
Definition at line 1997 of file callbacks.c.
References builder, and builder_connect_func().
Referenced by ui_init_builder().
void on_close1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 159 of file callbacks.c.
References document_close, document_get_current(), and NULL.
Referenced by cb_func_file_action().
void on_close_all1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 153 of file callbacks.c.
References document_close_all().
Referenced by cb_func_file_action(), and show_tab_bar_popup_menu().
void on_close_other_documents1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 1729 of file callbacks.c.
References document_close, document_get_current(), documents, documents_array, GeanyDocument::is_valid, and NULL.
Referenced by show_tab_bar_popup_menu().
void on_context_action1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 1490 of file callbacks.c.
References _, command, GeanyFiletype::context_action_cmd, GeanyToolPrefs::context_action_cmd, document_get_current(), GeanyDocument::editor, editor_info, EMPTY, error(), GeanyDocument::file_type, NULL, GeanyEditor::sci, sci_get_selection_contents(), sci_has_selection(), spawn_async(), tool_prefs, ui_set_statusbar(), and utils_str_replace_all().
Referenced by cb_func_editor_action().
void on_copy1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 256 of file callbacks.c.
References main_widgets, sci_copy(), and GeanyMainWidgets::window.
Referenced by cb_func_clipboard_action().
void on_cut1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 239 of file callbacks.c.
References main_widgets, sci_cut(), and GeanyMainWidgets::window.
Referenced by cb_func_clipboard_action().
void on_delete1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 291 of file callbacks.c.
References main_widgets, sci_clear(), sci_has_selection(), and GeanyMainWidgets::window.
gboolean on_escape_key_press_event | ( | GtkWidget * | widget, |
GdkEventKey * | event, | ||
gpointer | user_data | ||
) |
Definition at line 1674 of file callbacks.c.
References GEANY_KEY_GROUP_FOCUS, GEANY_KEYS_FOCUS_EDITOR, keybindings_get_modifiers(), and keybindings_send_command().
Referenced by toolbar_reload().
void on_file_properties_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 1177 of file callbacks.c.
References dialogs_show_file_properties(), document_get_current(), and NULL.
Referenced by cb_func_file_action().
void on_find1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 868 of file callbacks.c.
References search_show_find_dialog().
Referenced by cb_func_search_action(), and on_toolbutton_search_clicked().
void on_find_document_usage1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 800 of file callbacks.c.
References find_usage().
Referenced by cb_func_search_action().
void on_find_in_files1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 908 of file callbacks.c.
References NULL, and search_show_find_in_files_dialog().
Referenced by cb_func_search_action().
void on_find_next1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 874 of file callbacks.c.
References search_find_again().
Referenced by cb_func_search_action().
void on_find_nextsel1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 890 of file callbacks.c.
References document_get_current(), and search_find_selection().
Referenced by cb_func_search_action().
void on_find_previous1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 880 of file callbacks.c.
References GEANY_FIND_REGEXP, search_data, search_find_again(), and utils_beep().
Referenced by cb_func_search_action().
void on_find_prevsel1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 896 of file callbacks.c.
References document_get_current(), and search_find_selection().
Referenced by cb_func_search_action().
void on_find_usage1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 806 of file callbacks.c.
References find_usage().
Referenced by cb_func_search_action().
void on_go_to_line_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 929 of file callbacks.c.
References _, dialogs_show_input_goto_line(), document_get_current(), GeanyDocument::editor, editor_goto_line(), get_line_and_offset_from_text(), main_widgets, NULL, utils_beep(), and GeanyMainWidgets::window.
Referenced by cb_func_goto_action(), and on_toolbutton_goto_clicked().
void on_help1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 987 of file callbacks.c.
References NULL, utils_get_help_url(), and utils_open_browser().
Referenced by cb_func_menu_help().
void on_line_breaking1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 1688 of file callbacks.c.
References document_get_current(), GeanyDocument::editor, ignore_callback, GeanyEditor::line_breaking, and NULL.
Referenced by cb_func_document_action().
void on_line_wrapping1_toggled | ( | GtkCheckMenuItem * | checkmenuitem, |
gpointer | user_data | ||
) |
Definition at line 735 of file callbacks.c.
References document_get_current(), GeanyDocument::editor, editor_set_line_wrapping(), ignore_callback, GeanyEditor::line_wrapping, and NULL.
Referenced by cb_func_document_action().
void on_menu_comment_line1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 1304 of file callbacks.c.
References document_get_current(), GeanyDocument::editor, editor_do_comment(), and NULL.
Referenced by cb_func_format_action().
void on_menu_decrease_indent1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 1340 of file callbacks.c.
References document_get_current(), GeanyDocument::editor, editor_indent(), and NULL.
Referenced by cb_func_format_action().
void on_menu_increase_indent1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 1331 of file callbacks.c.
References document_get_current(), GeanyDocument::editor, editor_indent(), and NULL.
Referenced by cb_func_format_action().
void on_menu_open_selected_file1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 1407 of file callbacks.c.
References _, app, GeanyProject::base_path, document_get_current(), document_open_file(), GeanyDocument::editor, editor_get_default_selection(), EMPTY, filename, GEANY_WORDCHARS, NULL, GeanyApp::project, project_get_base_path(), SETPTR, ui_set_statusbar(), utils_get_current_file_dir_utf8(), utils_get_locale_from_utf8(), and utils_get_utf8_from_locale().
Referenced by cb_func_file_action().
void on_menu_remove_indicators1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 1210 of file callbacks.c.
References document_get_current(), GeanyDocument::editor, editor_indicator_clear(), GEANY_INDICATOR_ERROR, and NULL.
Referenced by cb_func_document_action().
void on_menu_select_all1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 1228 of file callbacks.c.
References main_widgets, sci_select_all(), and GeanyMainWidgets::window.
Referenced by cb_func_select_action().
void on_menu_show_sidebar1_toggled | ( | GtkCheckMenuItem * | checkmenuitem, |
gpointer | user_data | ||
) |
Definition at line 1255 of file callbacks.c.
References GEANY_KEY_GROUP_FOCUS, GEANY_KEYS_FOCUS_EDITOR, ignore_callback, interface_prefs, keybindings_send_command(), main_widgets, NULL, GeanyMainWidgets::sidebar_notebook, GeanyInterfacePrefs::sidebar_openfiles_visible, GeanyInterfacePrefs::sidebar_symbol_visible, ui_prefs, and ui_sidebar_show_hide().
Referenced by cb_func_view_action().
void on_menu_toggle_all_additional_widgets1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 1547 of file callbacks.c.
References interface_prefs, main_widgets, GeanyMainWidgets::notebook, GeanyInterfacePrefs::show_notebook_tabs, ui_lookup_widget(), ui_statusbar_showhide(), and GeanyMainWidgets::window.
Referenced by cb_func_view_action(), and notebook_tab_click().
void on_menu_toggle_line_commentation1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 1322 of file callbacks.c.
References document_get_current(), GeanyDocument::editor, editor_do_comment_toggle(), and NULL.
Referenced by cb_func_format_action().
void on_menu_uncomment_line1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 1313 of file callbacks.c.
References document_get_current(), GeanyDocument::editor, editor_do_uncomment(), and NULL.
Referenced by cb_func_format_action().
gboolean on_motion_event | ( | GtkWidget * | widget, |
GdkEventMotion * | event, | ||
gpointer | user_data | ||
) |
Definition at line 1612 of file callbacks.c.
References GeanyPrefs::auto_focus, and prefs.
Referenced by create_new_sci(), and toolbar_reload().
void on_new1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 92 of file callbacks.c.
References document_new_file(), and NULL.
Referenced by toolbar_init().
void on_next_message1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 1349 of file callbacks.c.
References _, msgwin_goto_messages_file_line(), msgwindow, ui_set_statusbar(), and ui_tree_view_find_next().
Referenced by cb_func_search_action().
void on_normal_size1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 470 of file callbacks.c.
References document_get_current(), GeanyDocument::editor, NULL, GeanyEditor::sci, and sci_zoom_off().
Referenced by cb_func_view_action().
void on_open1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 322 of file callbacks.c.
References dialogs_show_open_file().
Referenced by cb_func_file_action(), and toolbar_init().
void on_paste1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 273 of file callbacks.c.
References main_widgets, NULL, sci_paste(), and GeanyMainWidgets::window.
Referenced by cb_func_clipboard_action().
void on_plugin_preferences1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 1900 of file callbacks.c.
References NULL, and plugin_show_configure().
Referenced by cb_func_menu_preferences().
void on_preferences1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 308 of file callbacks.c.
References prefs_show_dialog().
Referenced by cb_func_menu_preferences().
void on_previous_message1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 1357 of file callbacks.c.
References _, msgwin_goto_messages_file_line(), msgwindow, ui_set_statusbar(), and ui_tree_view_find_previous().
Referenced by cb_func_search_action().
void on_print1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 1219 of file callbacks.c.
References document_get_current(), NULL, and printing_print_doc().
Referenced by cb_func_file_action().
void on_project_close1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 1377 of file callbacks.c.
References project_close.
Referenced by cb_func_project_action().
void on_project_new1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 1365 of file callbacks.c.
References project_new().
Referenced by cb_func_project_action().
void on_project_open1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 1371 of file callbacks.c.
References project_open.
Referenced by cb_func_project_action().
void on_project_properties1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 1383 of file callbacks.c.
References project_properties().
Referenced by cb_func_project_action().
void on_quit1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 168 of file callbacks.c.
References main_quit().
void on_redo1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 225 of file callbacks.c.
References document_can_redo(), document_get_current(), document_redo(), GeanyDocument::editor, NULL, GeanyEditor::sci, and sci_cancel().
Referenced by cb_func_editor_action().
void on_reload_all | ( | GtkAction * | action, |
gpointer | user_data | ||
) |
Definition at line 339 of file callbacks.c.
References _, GeanyDocument::changed, dialogs_show_question_full(), document_can_redo(), document_can_undo(), document_reload_force(), documents, file_prefs, foreach_document, GeanyFilePrefs::keep_edit_history_on_reload, main_widgets, GeanyMainWidgets::notebook, and NULL.
Referenced by cb_func_file_action().
void on_remove_markers1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 1473 of file callbacks.c.
References document_get_current(), GeanyDocument::editor, editor_indicator_clear(), GEANY_INDICATOR_SEARCH, NULL, GeanyEditor::sci, and sci_marker_delete_all().
Referenced by cb_func_document_action().
void on_replace1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 902 of file callbacks.c.
References search_show_replace_dialog().
Referenced by cb_func_search_action().
void on_replace_spaces_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 1702 of file callbacks.c.
References document_get_current(), GeanyDocument::editor, editor_replace_spaces(), and NULL.
Referenced by cb_func_document_action().
void on_replace_tabs_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 576 of file callbacks.c.
References document_get_current(), GeanyDocument::editor, editor_replace_tabs(), and NULL.
Referenced by cb_func_document_action().
void on_save1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 108 of file callbacks.c.
References document_get_current(), document_save_file(), NULL, and ui_prefs.
Referenced by cb_func_file_action().
void on_save_all1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 125 of file callbacks.c.
References GeanyDocument::changed, count, document_get_current(), document_get_from_page(), document_save_file(), document_show_tab(), main_widgets, max, ngettext, GeanyMainWidgets::notebook, sidebar_update_tag_list(), ui_set_statusbar(), and ui_set_window_title().
Referenced by cb_func_file_action().
void on_save_as1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 119 of file callbacks.c.
References dialogs_show_save_as().
Referenced by cb_func_file_action().
void on_send_selection_to_vte1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 1762 of file callbacks.c.
Referenced by cb_func_format_action().
void on_show_color_chooser1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 848 of file callbacks.c.
References document_get_current(), GeanyDocument::editor, editor_find_current_word(), GEANY_WORDCHARS, NULL, pos, GeanyEditor::sci, sci_get_current_position(), and tools_color_chooser().
Referenced by cb_func_menu_opencolorchooser().
void on_toggle_case1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 597 of file callbacks.c.
References document_get_current(), GeanyDocument::editor, GEANY_KEY_GROUP_SELECT, GEANY_KEYS_SELECT_WORD, keybindings_send_command(), NULL, sci, GeanyEditor::sci, sci_get_current_position(), sci_get_selection_contents(), sci_has_selection(), SCI_LOWERCASE, sci_replace_sel(), SCI_SELECTIONISRECTANGLE, sci_send_command(), sci_set_selection_start(), SCI_UPPERCASE, text, and utils_str_has_upper().
Referenced by cb_func_format_action().
void on_toolbar_search_entry_activate | ( | GtkAction * | action, |
const gchar * | text, | ||
gpointer | user_data | ||
) |
Definition at line 413 of file callbacks.c.
References do_toolbar_search(), and text.
Referenced by toolbar_init().
void on_toolbar_search_entry_changed | ( | GtkAction * | action, |
const gchar * | text, | ||
gpointer | user_data | ||
) |
Definition at line 406 of file callbacks.c.
References do_toolbar_search(), and text.
Referenced by toolbar_init().
void on_toolbutton_back_activate | ( | GtkAction * | action, |
gpointer | user_data | ||
) |
Definition at line 1606 of file callbacks.c.
References navqueue_go_back().
void on_toolbutton_compile_clicked | ( | GtkAction * | action, |
gpointer | user_data | ||
) |
Definition at line 862 of file callbacks.c.
References GEANY_KEY_GROUP_BUILD, GEANY_KEYS_BUILD_COMPILE, and keybindings_send_command().
void on_toolbutton_forward_activate | ( | GtkAction * | action, |
gpointer | user_data | ||
) |
Definition at line 1600 of file callbacks.c.
References navqueue_go_forward().
void on_toolbutton_goto_clicked | ( | GtkAction * | action, |
gpointer | user_data | ||
) |
Definition at line 972 of file callbacks.c.
References entry, NULL, on_go_to_line_activate(), on_toolbutton_goto_entry_activate(), text, and toolbar_get_widget_child_by_name().
void on_toolbutton_goto_entry_activate | ( | GtkAction * | action, |
const gchar * | text, | ||
gpointer | user_data | ||
) |
Definition at line 956 of file callbacks.c.
References document_get_current(), GeanyDocument::editor, editor_goto_line(), GEANY_KEY_GROUP_FOCUS, GEANY_KEYS_FOCUS_EDITOR, get_line_and_offset_from_text(), keybindings_send_command(), NULL, text, and utils_beep().
Referenced by on_toolbutton_goto_clicked(), and toolbar_init().
void on_toolbutton_reload_clicked | ( | GtkAction * | action, |
gpointer | user_data | ||
) |
Definition at line 329 of file callbacks.c.
References document_get_current(), document_reload_prompt(), and NULL.
Referenced by cb_func_file_action().
void on_toolbutton_run_clicked | ( | GtkAction * | action, |
gpointer | user_data | ||
) |
Definition at line 1204 of file callbacks.c.
References GEANY_KEY_GROUP_BUILD, GEANY_KEYS_BUILD_RUN, and keybindings_send_command().
void on_toolbutton_search_clicked | ( | GtkAction * | action, |
gpointer | user_data | ||
) |
Definition at line 420 of file callbacks.c.
References document_get_current(), document_search_bar_find(), entry, NULL, on_find1_activate(), search_data, setup_find(), text, toolbar_get_widget_child_by_name(), and ui_set_search_entry_background().
void on_undo1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 211 of file callbacks.c.
References document_can_undo(), document_get_current(), document_undo(), GeanyDocument::editor, NULL, GeanyEditor::sci, and sci_cancel().
Referenced by cb_func_editor_action().
void on_zoom_in1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 449 of file callbacks.c.
References document_get_current(), GeanyDocument::editor, NULL, GeanyEditor::sci, and sci_zoom_in().
Referenced by cb_func_view_action().
void on_zoom_out1_activate | ( | GtkMenuItem * | menuitem, |
gpointer | user_data | ||
) |
Definition at line 460 of file callbacks.c.
References document_get_current(), GeanyDocument::editor, NULL, GeanyEditor::sci, and sci_zoom_out().
Referenced by cb_func_view_action().
gboolean toolbar_popup_menu | ( | GtkWidget * | widget, |
GdkEventButton * | event, | ||
gpointer | user_data | ||
) |
Definition at line 586 of file callbacks.c.
References NULL, and ui_widgets.
Referenced by toolbar_reload().
|
extern |
Definition at line 87 of file libmain.c.
Referenced by apply_settings(), document_save_file_as(), encodings_radio_item_change_cb(), filetypes_select_radio_item(), main_init(), msgwin_show_hide(), on_cr_activate(), on_crlf_activate(), on_editor_notify(), on_filetype_change(), on_fullscreen1_toggled(), on_indent_width_activate(), on_lf_activate(), on_line_breaking1_activate(), on_line_wrapping1_toggled(), on_markers_margin1_toggled(), on_menu_show_indentation_guides1_toggled(), on_menu_show_line_endings1_toggled(), on_menu_show_sidebar1_toggled(), on_menu_show_white_space1_toggled(), on_menu_write_unicode_bom1_toggled(), on_set_file_readonly1_toggled(), on_show_line_numbers1_toggled(), on_show_messages_window1_toggled(), on_show_toolbar1_toggled(), on_strip_trailing_spaces1_activate(), on_symbol_tree_menu_show(), on_symbol_tree_sort_clicked(), on_tv_notebook_switch_page(), on_tv_notebook_switch_page_after(), on_use_auto_indentation1_toggled(), on_window_state_event(), openfiles_go_to_selection(), set_indent_type(), toolbar_show_hide(), ui_document_show_hide(), ui_sidebar_show_hide(), and ui_update_view_editor_menu_items().