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
  Fossies Dox: geany-1.38.tar.bz2  ("unofficial" and yet experimental doxygen-generated source code documentation)  

callbacks.h File Reference
#include "gtkcompat.h"
Include dependency graph for callbacks.h:
This graph shows which files directly or indirectly include this file:

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
 

Function Documentation

◆ callbacks_connect()

void callbacks_connect ( GtkBuilder *  builder)

Definition at line 1997 of file callbacks.c.

References builder, and builder_connect_func().

Referenced by ui_init_builder().

◆ on_close1_activate()

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().

◆ on_close_all1_activate()

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().

◆ on_close_other_documents1_activate()

void on_close_other_documents1_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

◆ on_context_action1_activate()

◆ on_copy1_activate()

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().

◆ on_cut1_activate()

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().

◆ on_delete1_activate()

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.

◆ on_escape_key_press_event()

gboolean on_escape_key_press_event ( GtkWidget *  widget,
GdkEventKey *  event,
gpointer  user_data 
)

◆ on_file_properties_activate()

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().

◆ on_find1_activate()

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().

◆ on_find_document_usage1_activate()

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().

◆ on_find_in_files1_activate()

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().

◆ on_find_next1_activate()

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().

◆ on_find_nextsel1_activate()

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().

◆ on_find_previous1_activate()

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().

◆ on_find_prevsel1_activate()

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().

◆ on_find_usage1_activate()

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().

◆ on_go_to_line_activate()

void on_go_to_line_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

◆ on_help1_activate()

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().

◆ on_line_breaking1_activate()

void on_line_breaking1_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

◆ on_line_wrapping1_toggled()

void on_line_wrapping1_toggled ( GtkCheckMenuItem *  checkmenuitem,
gpointer  user_data 
)

◆ on_menu_comment_line1_activate()

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().

◆ on_menu_decrease_indent1_activate()

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().

◆ on_menu_increase_indent1_activate()

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().

◆ on_menu_open_selected_file1_activate()

◆ on_menu_remove_indicators1_activate()

void on_menu_remove_indicators1_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

◆ on_menu_select_all1_activate()

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().

◆ on_menu_show_sidebar1_toggled()

◆ on_menu_toggle_all_additional_widgets1_activate()

void on_menu_toggle_all_additional_widgets1_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

◆ on_menu_toggle_line_commentation1_activate()

void on_menu_toggle_line_commentation1_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

◆ on_menu_uncomment_line1_activate()

void on_menu_uncomment_line1_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

◆ on_motion_event()

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().

◆ on_new1_activate()

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().

◆ on_next_message1_activate()

void on_next_message1_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

◆ on_normal_size1_activate()

void on_normal_size1_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

◆ on_open1_activate()

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().

◆ on_paste1_activate()

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().

◆ on_plugin_preferences1_activate()

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().

◆ on_preferences1_activate()

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().

◆ on_previous_message1_activate()

void on_previous_message1_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

◆ on_print1_activate()

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().

◆ on_project_close1_activate()

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().

◆ on_project_new1_activate()

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().

◆ on_project_open1_activate()

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().

◆ on_project_properties1_activate()

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().

◆ on_quit1_activate()

void on_quit1_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

Definition at line 168 of file callbacks.c.

References main_quit().

◆ on_redo1_activate()

void on_redo1_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

◆ on_reload_all()

◆ on_remove_markers1_activate()

void on_remove_markers1_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

◆ on_replace1_activate()

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().

◆ on_replace_spaces_activate()

void on_replace_spaces_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

◆ on_replace_tabs_activate()

void on_replace_tabs_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

◆ on_save1_activate()

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().

◆ on_save_all1_activate()

◆ on_save_as1_activate()

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().

◆ on_send_selection_to_vte1_activate()

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().

◆ on_show_color_chooser1_activate()

void on_show_color_chooser1_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

◆ on_toggle_case1_activate()

◆ on_toolbar_search_entry_activate()

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().

◆ on_toolbar_search_entry_changed()

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().

◆ on_toolbutton_back_activate()

void on_toolbutton_back_activate ( GtkAction *  action,
gpointer  user_data 
)

Definition at line 1606 of file callbacks.c.

References navqueue_go_back().

◆ on_toolbutton_compile_clicked()

void on_toolbutton_compile_clicked ( GtkAction *  action,
gpointer  user_data 
)

◆ on_toolbutton_forward_activate()

void on_toolbutton_forward_activate ( GtkAction *  action,
gpointer  user_data 
)

Definition at line 1600 of file callbacks.c.

References navqueue_go_forward().

◆ on_toolbutton_goto_clicked()

void on_toolbutton_goto_clicked ( GtkAction *  action,
gpointer  user_data 
)

◆ on_toolbutton_goto_entry_activate()

void on_toolbutton_goto_entry_activate ( GtkAction *  action,
const gchar *  text,
gpointer  user_data 
)

◆ on_toolbutton_reload_clicked()

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().

◆ on_toolbutton_run_clicked()

void on_toolbutton_run_clicked ( GtkAction *  action,
gpointer  user_data 
)

◆ on_toolbutton_search_clicked()

void on_toolbutton_search_clicked ( GtkAction *  action,
gpointer  user_data 
)

◆ on_undo1_activate()

void on_undo1_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

◆ on_zoom_in1_activate()

void on_zoom_in1_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

◆ on_zoom_out1_activate()

void on_zoom_out1_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

◆ toolbar_popup_menu()

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().

Variable Documentation

◆ ignore_callback