summaryrefslogtreecommitdiff
path: root/stickynotes/stickynotes_callbacks.h
diff options
context:
space:
mode:
authorPerberos <[email protected]>2011-11-14 18:24:48 -0300
committerPerberos <[email protected]>2011-11-14 18:24:48 -0300
commit312ba610a1e98fc656fb58178227d7d45a64494e (patch)
tree54a3c2b6084c80e63fb0526c6e7b8e01627acbd7 /stickynotes/stickynotes_callbacks.h
downloadmate-applets-312ba610a1e98fc656fb58178227d7d45a64494e.tar.bz2
mate-applets-312ba610a1e98fc656fb58178227d7d45a64494e.tar.xz
initial
Diffstat (limited to 'stickynotes/stickynotes_callbacks.h')
-rw-r--r--stickynotes/stickynotes_callbacks.h49
1 files changed, 49 insertions, 0 deletions
diff --git a/stickynotes/stickynotes_callbacks.h b/stickynotes/stickynotes_callbacks.h
new file mode 100644
index 00000000..686d7da2
--- /dev/null
+++ b/stickynotes/stickynotes_callbacks.h
@@ -0,0 +1,49 @@
+/* Sticky Notes
+ * Copyright (C) 2002-2003 Loban A Rahman
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+ * 02111-1307, USA.
+ */
+
+#ifndef __STICKYNOTES_CALLBACKS_H__
+#define __STICKYNOTES_CALLBACKS_H__
+
+#include <stickynotes.h>
+
+/* Callbacks for the sticky notes windows */
+gboolean stickynote_toggle_lock_cb(GtkWidget *widget, StickyNote *note);
+gboolean stickynote_close_cb(GtkWidget *widget, StickyNote *note);
+gboolean stickynote_resize_cb(GtkWidget *widget, GdkEventButton *event, StickyNote *note);
+gboolean stickynote_move_cb(GtkWidget *widget, GdkEventButton *event, StickyNote *note);
+gboolean stickynote_expose_cb(GtkWidget *widget, GdkEventExpose *event, StickyNote *note);
+gboolean stickynote_configure_cb(GtkWidget *widget, GdkEventConfigure *event, StickyNote *note);
+gboolean stickynote_delete_cb(GtkWidget *widget, GdkEvent *event, StickyNote *note);
+gboolean stickynote_show_popup_menu(GtkWidget *widget, GdkEventButton *event, GtkWidget *popup_menu);
+
+/* Callbacks for the sticky notes popup menu */
+void popup_create_cb(GtkWidget *widget, StickyNote *note);
+void popup_destroy_cb(GtkWidget *widget, StickyNote *note);
+void popup_toggle_lock_cb(GtkToggleAction *action, StickyNote *note);
+void popup_properties_cb(GtkWidget *widget, StickyNote *note);
+
+/* Callbacks for sticky notes properties dialog */
+void properties_apply_title_cb(StickyNote *note);
+void properties_apply_color_cb(StickyNote *note);
+void properties_apply_font_cb(StickyNote *note);
+void properties_color_cb(GtkWidget *button, StickyNote *note);
+void properties_font_cb(GtkWidget *button, StickyNote *note);
+void properties_activate_cb(GtkWidget *widget, StickyNote *note);
+
+#endif /* __STICKYNOTES_CALLBACKS_H__ */