sidebar_openfiles_remove_iter() should be static
[geany-mirror.git] / src / callbacks.h
blob0cd1a2d211fbfe16d983bc88828caf12134317ce
1 /*
2 * callbacks.h - this file is part of Geany, a fast and lightweight IDE
4 * Copyright 2005 The Geany contributors
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License along
17 * with this program; if not, write to the Free Software Foundation, Inc.,
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21 #ifndef GEANY_CALLBACKS_H
22 #define GEANY_CALLBACKS_H 1
24 #include "gtkcompat.h"
26 G_BEGIN_DECLS
28 /* Defined in auto-generated code in signalconn.c */
29 void callbacks_connect(GtkBuilder *builder);
31 extern gboolean ignore_callback;
33 void on_new1_activate(GtkMenuItem *menuitem, gpointer user_data);
35 void on_save1_activate(GtkMenuItem *menuitem, gpointer user_data);
37 void on_save_as1_activate(GtkMenuItem *menuitem, gpointer user_data);
39 void on_quit1_activate(GtkMenuItem *menuitem, gpointer user_data);
41 void on_open1_activate(GtkMenuItem *menuitem, gpointer user_data);
43 void on_save_all1_activate(GtkMenuItem *menuitem, gpointer user_data);
45 void on_close1_activate(GtkMenuItem *menuitem, gpointer user_data);
47 void on_close_all1_activate(GtkMenuItem *menuitem, gpointer user_data);
49 void on_replace_tabs_activate(GtkMenuItem *menuitem, gpointer user_data);
51 void on_toolbutton_search_clicked(GtkAction *action, gpointer user_data);
53 gboolean toolbar_popup_menu(GtkWidget *widget, GdkEventButton *event, gpointer user_data);
55 void on_undo1_activate(GtkMenuItem *menuitem, gpointer user_data);
57 void on_redo1_activate(GtkMenuItem *menuitem, gpointer user_data);
59 void on_cut1_activate(GtkMenuItem *menuitem, gpointer user_data);
61 void on_copy1_activate(GtkMenuItem *menuitem, gpointer user_data);
63 void on_paste1_activate(GtkMenuItem *menuitem, gpointer user_data);
65 void on_delete1_activate(GtkMenuItem *menuitem, gpointer user_data);
67 void on_zoom_in1_activate(GtkMenuItem *menuitem, gpointer user_data);
69 void on_zoom_out1_activate(GtkMenuItem *menuitem, gpointer user_data);
71 void on_toolbar_search_entry_changed(GtkAction *action, const gchar *text, gpointer user_data);
73 void on_toolbar_search_entry_activate(GtkAction *action, const gchar *text, gpointer user_data);
75 void on_entry_tagfilter_changed(GtkAction *action, gpointer user_data);
77 void on_entry_tagfilter_icon_press(GtkEntry *entry, GtkEntryIconPosition icon_pos, GdkEvent *event, gpointer user_data);
79 void on_entry_tagfilter_activate(GtkEntry *entry, gpointer user_data);
81 void on_toggle_case1_activate(GtkMenuItem *menuitem, gpointer user_data);
83 void on_find_usage1_activate(GtkMenuItem *menuitem, gpointer user_data);
85 void on_preferences1_activate(GtkMenuItem *menuitem, gpointer user_data);
87 void on_normal_size1_activate(GtkMenuItem *menuitem, gpointer user_data);
89 void on_show_color_chooser1_activate(GtkMenuItem *menuitem, gpointer user_data);
91 void on_find1_activate(GtkMenuItem *menuitem, gpointer user_data);
93 void on_find_next1_activate(GtkMenuItem *menuitem, gpointer user_data);
95 void on_find_previous1_activate(GtkMenuItem *menuitem, gpointer user_data);
97 void on_find_nextsel1_activate(GtkMenuItem *menuitem, gpointer user_data);
99 void on_find_prevsel1_activate(GtkMenuItem *menuitem, gpointer user_data);
101 void on_replace1_activate(GtkMenuItem *menuitem, gpointer user_data);
103 void on_find_in_files1_activate(GtkMenuItem *menuitem, gpointer user_data);
105 void on_toolbutton_reload_clicked(GtkAction *action, gpointer user_data);
107 void on_reload_all(GtkAction *action, gpointer user_data);
109 void on_go_to_line_activate(GtkMenuItem *menuitem, gpointer user_data);
111 void on_help1_activate(GtkMenuItem *menuitem, gpointer user_data);
113 void on_toolbutton_compile_clicked(GtkAction *action, gpointer user_data);
115 void on_line_wrapping1_toggled(GtkCheckMenuItem *checkmenuitem, gpointer user_data);
117 void on_toolbutton_goto_entry_activate(GtkAction *action, const gchar *text, gpointer user_data);
119 void on_toolbutton_goto_clicked(GtkAction *action, gpointer user_data);
121 void on_toolbutton_run_clicked(GtkAction *action, gpointer user_data);
123 void on_menu_remove_indicators1_activate(GtkMenuItem *menuitem, gpointer user_data);
125 void on_print1_activate(GtkMenuItem *menuitem, gpointer user_data);
127 void on_file_properties_activate(GtkMenuItem *menuitem, gpointer user_data);
129 void on_menu_select_all1_activate(GtkMenuItem *menuitem, gpointer user_data);
131 void on_menu_show_sidebar1_toggled(GtkCheckMenuItem *checkmenuitem, gpointer user_data);
133 void on_menu_comment_line1_activate(GtkMenuItem *menuitem, gpointer user_data);
135 void on_menu_uncomment_line1_activate(GtkMenuItem *menuitem, gpointer user_data);
137 void on_menu_increase_indent1_activate(GtkMenuItem *menuitem, gpointer user_data);
139 void on_menu_decrease_indent1_activate(GtkMenuItem *menuitem, gpointer user_data);
141 void on_menu_toggle_line_commentation1_activate(GtkMenuItem *menuitem, gpointer user_data);
143 void on_next_message1_activate(GtkMenuItem *menuitem, gpointer user_data);
145 void on_project_new1_activate(GtkMenuItem *menuitem, gpointer user_data);
147 void on_project_new_from_folder1_activate(GtkMenuItem *menuitem, gpointer user_data);
149 void on_project_open1_activate(GtkMenuItem *menuitem, gpointer user_data);
151 void on_project_close1_activate(GtkMenuItem *menuitem, gpointer user_data);
153 void on_project_properties1_activate(GtkMenuItem *menuitem, gpointer user_data);
155 void on_menu_open_selected_file1_activate(GtkMenuItem *menuitem, gpointer user_data);
157 void on_remove_markers1_activate(GtkMenuItem *menuitem, gpointer user_data);
159 void on_context_action1_activate(GtkMenuItem *menuitem, gpointer user_data);
161 void on_menu_toggle_all_additional_widgets1_activate(GtkMenuItem *menuitem, gpointer user_data);
163 void on_toolbutton_back_activate(GtkAction *action, gpointer user_data);
165 void on_toolbutton_forward_activate(GtkAction *action, gpointer user_data);
167 gboolean on_motion_event(GtkWidget *widget, GdkEventMotion *event, gpointer user_data);
169 gboolean on_escape_key_press_event(GtkWidget *widget, GdkEventKey *event, gpointer user_data);
171 void on_line_breaking1_activate(GtkMenuItem *menuitem, gpointer user_data);
173 void on_replace_spaces_activate(GtkMenuItem *menuitem, gpointer user_data);
175 void on_previous_message1_activate(GtkMenuItem *menuitem, gpointer user_data);
177 void on_close_other_documents1_activate(GtkMenuItem *menuitem, gpointer user_data);
179 void on_find_document_usage1_activate(GtkMenuItem *menuitem, gpointer user_data);
181 void on_send_selection_to_vte1_activate(GtkMenuItem *menuitem, gpointer user_data);
183 void on_plugin_preferences1_activate(GtkMenuItem *menuitem, gpointer user_data);
185 G_END_DECLS
187 #endif /* GEANY_CALLBACKS_H */