-
Notifications
You must be signed in to change notification settings - Fork 2
/
gtk_menu.h
80 lines (75 loc) · 4.46 KB
/
gtk_menu.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
#ifndef _gtk_menu_h_
#define _gtk_menu_h_ 1
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h> /* for GDK key values */
#include "gtk_appdata.h"
#include "gtk_common_dlg.h"
#include "gtk_filebuf.h"
#include "gtk_findreplace.h"
#include "gtk_goto.h"
#include "gtk_print.h"
#include "gtk_statusbar.h"
#include "gtk_settings.h"
#include "gtk_sourceview.h"
/* general functions */
GtkWidget *create_menubar (gpointer data, GtkAccelGroup *mainaccel);
void help_about (gpointer data);
/* menu callbacks */
void menu_file_new_activate (GtkMenuItem *menuitem, gpointer data);
void menu_file_open_activate (GtkMenuItem *menuitem, gpointer data);
void menu_file_open_recent_activate (GtkRecentChooser *chooser, gpointer data);
void menu_file_reload_activate (GtkMenuItem *menuitem, gpointer data);
void menu_file_save_activate (GtkMenuItem *menuitem, gpointer data);
void menu_file_saveas_activate (GtkMenuItem *menuitem, gpointer data);
void menu_file_pagesu_activate (GtkMenuItem *menuitem, gpointer data);
void menu_file_pprev_activate (GtkMenuItem *menuitem, gpointer data);
void menu_file_print_activate (GtkMenuItem *menuitem, gpointer data);
void menu_file_rdonly_activate (GtkMenuItem *menuitem, gpointer data);
void menu_file_close_activate (GtkMenuItem *menuitem, gpointer data);
void menu_file_quit_activate (GtkMenuItem *menuitem, gpointer data);
void menu_edit_undo_activate (GtkMenuItem *menuitem, gpointer data);
void menu_edit_redo_activate (GtkMenuItem *menuitem, gpointer data);
void menu_edit_copy_activate (GtkMenuItem *menuitem, gpointer data);
void menu_edit_cut_activate (GtkMenuItem *menuitem, gpointer data);
void menu_edit_paste_activate (GtkMenuItem *menuitem, gpointer data);
void menu_edit_delete_activate (GtkMenuItem *menuitem, gpointer data);
void menu_edit_selectall_activate (GtkMenuItem *menuitem, gpointer data);
void menu_edit_deselectall_activate (GtkMenuItem *menuitem, gpointer data);
void menu_edit_find_activate (GtkMenuItem *menuitem, gpointer data);
void menu_edit_replace_activate (GtkMenuItem *menuitem, gpointer data);
void menu_edit_goto_activate (GtkMenuItem *menuitem, gpointer data);
void menu_edit_preferences_activate (GtkMenuItem *menuitem, gpointer data);
// void menu_showmb_activate (GtkMenuItem *menuitem, gpointer data);
void menu_createview_activate (GtkMenuItem *menuitem, gpointer data);
void menu_removeview_activate (GtkMenuItem *menuitem, gpointer data);
void menu_showdoc_activate (GtkMenuItem *menuitem, gpointer data);
void menu_showtb_activate (GtkMenuItem *menuitem, gpointer data);
void menu_tbshow_text_activate (GtkMenuItem *menuitem, gpointer data);
void menu_tbshow_icons_activate (GtkMenuItem *menuitem, gpointer data);
void menu_tbshow_both_activate (GtkMenuItem *menuitem, gpointer data);
void menu_font_select_activate (GtkMenuItem *menuitem, gpointer data);
void menu_view_wordwrap_activate (GtkMenuItem *menuitem, gpointer data);
void menu_status_clear_activate (GtkMenuItem *menuitem, gpointer data);
void menu_status_properties_activate (GtkMenuItem *menuitem, gpointer data);
void menu_status_bigredbtn_activate (GtkMenuItem *menuitem, gpointer data);
void menu_tools_eol_lf (GtkMenuItem *menuitem, gpointer data);
void menu_tools_eol_crlf (GtkMenuItem *menuitem, gpointer data);
void menu_tools_eol_cr (GtkMenuItem *menuitem, gpointer data);
void menu_tools_indent_activate (GtkMenuItem *menuitem, gpointer data);
void menu_tools_unindent_activate (GtkMenuItem *menuitem, gpointer data);
void menu_tools_indent_fixed_activate (GtkMenuItem *menuitem, gpointer data);
void menu_tools_unindent_fixed_activate (GtkMenuItem *menuitem, gpointer data);
void menu_tools_insdtm_activate (GtkMenuItem *menuitem, gpointer data);
void menu_tools_insfile_activate (GtkMenuItem *menuitem, gpointer data);
void menu_tools_comment_activate (GtkMenuItem *menuitem, gpointer data);
void menu_tools_uncomment_activate (GtkMenuItem *menuitem, gpointer data);
void menu_tools_toupper_activate (GtkMenuItem *menuitem, gpointer data);
void menu_tools_tolower_activate (GtkMenuItem *menuitem, gpointer data);
void menu_tools_totitle_activate (GtkMenuItem *menuitem, gpointer data);
void menu_tools_join_activate (GtkMenuItem *menuitem, gpointer data);
void menu_help_about_activate (GtkMenuItem *menuitem, gpointer data);
void menu_view_linehl_activate (GtkMenuItem *menuitem, gpointer data);
void menu_view_margin_activate (GtkMenuItem *menuitem, gpointer data);
void menu_view_lineno_activate (GtkMenuItem *menuitem, gpointer data);
void menu_tools_syntax_activate (GtkMenuItem *menuitem, gpointer data);
#endif