re-adding .pngs as binary
[dia.git] / app / commands.h
blob10a60a26534335ee34805de742ee2ef0c020153e
1 /* Dia -- an diagram creation/manipulation program
2 * Copyright (C) 1998 Alexander Larsson
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 #ifndef COMMANDS_H
19 #define COMMANDS_H
21 #include <gtk/gtk.h>
23 void file_quit_callback(gpointer data, guint action, GtkWidget *widget);
24 void file_pagesetup_callback(gpointer data, guint action, GtkWidget *widget);
25 void file_print_callback(gpointer data, guint action, GtkWidget *widget);
26 void file_close_callback(gpointer data, guint action, GtkWidget *widget);
27 void file_new_callback(gpointer data, guint action, GtkWidget *widget);
28 void file_preferences_callback(gpointer data, guint action, GtkWidget *widget);
30 void help_manual_callback(gpointer data, guint action, GtkWidget *widget);
31 void help_about_callback(gpointer data, guint action, GtkWidget *widget);
33 void edit_copy_callback(gpointer data, guint action, GtkWidget *widget);
34 void edit_cut_callback(gpointer data, guint action, GtkWidget *widget);
35 void edit_paste_callback(gpointer data, guint action, GtkWidget *widget);
36 void edit_delete_callback(gpointer data, guint action, GtkWidget *widget);
37 void edit_undo_callback(gpointer data, guint action, GtkWidget *widget);
38 void edit_redo_callback(gpointer data, guint action, GtkWidget *widget);
39 void edit_paste_text_callback(gpointer data, guint action, GtkWidget *widget);
40 void edit_copy_text_callback(gpointer data, guint action, GtkWidget *widget);
41 void edit_cut_text_callback(gpointer data, guint action, GtkWidget *widget);
43 void received_selection_handler(GtkWidget *widget, GtkSelectionData *selection,
44 gpointer data);
45 void get_selection_handler(GtkWidget *widget, GtkSelectionData *selection,
46 gpointer data);
48 void view_zoom_in_callback(gpointer data, guint action, GtkWidget *widget);
49 void view_zoom_out_callback(gpointer data, guint action, GtkWidget *widget);
51 void view_zoom_set_callback(gpointer data, guint action, GtkWidget *widget);
53 void view_aa_callback(gpointer data, guint action, GtkWidget *widget);
54 void view_visible_grid_callback (gpointer data, guint action,
55 GtkWidget *widget);
56 void view_snap_to_grid_callback (gpointer data, guint action,
57 GtkWidget *widget);
58 void view_toggle_rulers_callback(gpointer data, guint action,
59 GtkWidget *widget);
60 void view_show_cx_pts_callback (gpointer data, guint action,
61 GtkWidget *widget);
63 void view_new_view_callback(gpointer data, guint action, GtkWidget *widget);
64 void view_show_all_callback(gpointer data, guint action, GtkWidget *widget);
65 void view_diagram_properties_callback(gpointer data, guint action,
66 GtkWidget *widget);
68 void objects_place_over_callback(gpointer data, guint action,
69 GtkWidget *widget);
70 void objects_place_under_callback(gpointer data, guint action,
71 GtkWidget *widget);
72 void objects_group_callback(gpointer data, guint action, GtkWidget *widget);
73 void objects_ungroup_callback(gpointer data, guint action, GtkWidget *widget);
75 void dialogs_properties_callback(gpointer data, guint action,
76 GtkWidget *widget);
77 void dialogs_layers_callback(gpointer data, guint action, GtkWidget *widget);
79 void objects_align_h_callback(gpointer data, guint action, GtkWidget *widget);
80 void objects_align_v_callback(gpointer data, guint action, GtkWidget *widget);
82 #endif /* COMMANDS_H */