cropper

view callbacks.c @ 0:ca9155129253

initial commit code base: gthumb_crop.glade and generated code from it with glade
author meillo@marmaro.de
date Tue, 04 Dec 2007 16:48:51 +0100
parents
children 80535e4deaa4
line source
1 #ifdef HAVE_CONFIG_H
2 # include <config.h>
3 #endif
5 #include <gtk/gtk.h>
7 #include "callbacks.h"
8 #include "interface.h"
9 #include "support.h"
12 void
13 on_none1_activate (GtkMenuItem *menuitem,
14 gpointer user_data)
15 {
17 }
20 void
21 on_square1_activate (GtkMenuItem *menuitem,
22 gpointer user_data)
23 {
25 }
28 void
29 on_4x3__book__dvd_1_activate (GtkMenuItem *menuitem,
30 gpointer user_data)
31 {
33 }
36 void
37 on_4x6__postcard_1_activate (GtkMenuItem *menuitem,
38 gpointer user_data)
39 {
41 }
44 void
45 on_5x1_activate (GtkMenuItem *menuitem,
46 gpointer user_data)
47 {
49 }
52 void
53 on_8x1_activate (GtkMenuItem *menuitem,
54 gpointer user_data)
55 {
57 }
60 void
61 on_custom1_activate (GtkMenuItem *menuitem,
62 gpointer user_data)
63 {
65 }
68 void
69 on_ratio_w_spinbutton_value_changed (GtkSpinButton *spinbutton,
70 gpointer user_data)
71 {
73 }
76 void
77 on_ratio_w_spinbutton_change_value (GtkSpinButton *spinbutton,
78 GtkScrollType scroll,
79 gpointer user_data)
80 {
82 }
85 void
86 on_ratio_swap_button_clicked (GtkButton *button,
87 gpointer user_data)
88 {
90 }
93 void
94 on_ratio_h_spinbutton_change_value (GtkSpinButton *spinbutton,
95 GtkScrollType scroll,
96 gpointer user_data)
97 {
99 }
102 void
103 on_ratio_h_spinbutton_value_changed (GtkSpinButton *spinbutton,
104 gpointer user_data)
105 {
107 }
110 gboolean
111 on_cropper_window_delete_event (GtkWidget *widget,
112 GdkEvent *event,
113 gpointer user_data)
114 {
116 g_print ("delete event occurred\n");
117 return FALSE;
118 }
121 void
122 on_cropper_window_destroy (GtkObject *object,
123 gpointer user_data)
124 {
125 gtk_main_quit();
126 }