aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-dialog-widgets.h
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@helixcode.com>2000-05-28 05:28:58 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2000-05-28 05:28:58 +0800
commitd206a2e89b5efb9373e3a99cf4cb28fd04986a8a (patch)
tree7bcaad664d9bea821328ccf0825244fde043efb9 /e-util/e-dialog-widgets.h
parentc5cf5131eaabf0a1c2b7b64e798b71a41a020c11 (diff)
downloadgsoc2013-evolution-d206a2e89b5efb9373e3a99cf4cb28fd04986a8a.tar.gz
gsoc2013-evolution-d206a2e89b5efb9373e3a99cf4cb28fd04986a8a.tar.zst
gsoc2013-evolution-d206a2e89b5efb9373e3a99cf4cb28fd04986a8a.zip
Moved over from event-editor-utils.c. (e_dialog_editable_get): Likewise.
2000-05-27 Federico Mena Quintero <federico@helixcode.com> * e-dialog-widgets.c (e_dialog_editable_set): Moved over from event-editor-utils.c. (e_dialog_editable_get): Likewise. (e_dialog_toggle_set): Likewise. (e_dialog_toggle_get): Likewise. (e_dialog_spin_set): Likewise. (e_dialog_spin_get_double): Likewise. (e_dialog_spin_get_int): Likewise. (e_dialog_option_menu_set): Likewise, and added a value map. (e_dialog_option_menu_get): Likewise. (e_dialog_dateedit_set): Likewise. (e_dialog_dateedit_get): Likewise. (e_dialog_radio_set): New function. (e_dialog_radio_get): New function. svn path=/trunk/; revision=3232
Diffstat (limited to 'e-util/e-dialog-widgets.h')
-rw-r--r--e-util/e-dialog-widgets.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/e-util/e-dialog-widgets.h b/e-util/e-dialog-widgets.h
index 13b7a65d22..cbcdd1c8f1 100644
--- a/e-util/e-dialog-widgets.h
+++ b/e-util/e-dialog-widgets.h
@@ -22,11 +22,31 @@
#ifndef E_DIALOG_WIDGETS_H
#define E_DIALOG_WIDGETS_H
+#include <time.h>
#include <glade/glade.h>
#include <libgnomeui/gnome-propertybox.h>
+void e_dialog_editable_set (GtkWidget *widget, char *value);
+char *e_dialog_editable_get (GtkWidget *widget);
+
+void e_dialog_radio_set (GtkWidget *widget, int value, const int *value_map);
+int e_dialog_radio_get (GtkWidget *widget, const int *value_map);
+
+void e_dialog_toggle_set (GtkWidget *widget, gboolean value);
+gboolean e_dialog_toggle_get (GtkWidget *widget);
+
+void e_dialog_spin_set (GtkWidget *widget, double value);
+double e_dialog_spin_get_double (GtkWidget *widget);
+int e_dialog_spin_get_int (GtkWidget *widget);
+
+void e_dialog_option_menu_set (GtkWidget *widget, int value, const int *value_map);
+int e_dialog_option_menu_get (GtkWidget *widget, const int *value_map);
+
+void e_dialog_dateedit_set (GtkWidget *widget, time_t t);
+time_t e_dialog_dateedit_get (GtkWidget *widget);
+
gboolean e_dialog_widget_hook_value (GtkWidget *dialog, GtkWidget *widget,
gpointer value_var, gpointer info);