diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2003-01-21 02:57:20 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-01-21 02:57:20 +0800 |
commit | c2beffd03405e6db4295afd6c2982388b808cb2e (patch) | |
tree | 819e50881626c5109ccdba5abb158585a3ca148b /lib/egg/egg-accel-dialog.h | |
parent | 822ca51797e05edbe42b80f1a33a70a7327d732e (diff) | |
download | gsoc2013-epiphany-c2beffd03405e6db4295afd6c2982388b808cb2e.tar gsoc2013-epiphany-c2beffd03405e6db4295afd6c2982388b808cb2e.tar.gz gsoc2013-epiphany-c2beffd03405e6db4295afd6c2982388b808cb2e.tar.bz2 gsoc2013-epiphany-c2beffd03405e6db4295afd6c2982388b808cb2e.tar.lz gsoc2013-epiphany-c2beffd03405e6db4295afd6c2982388b808cb2e.tar.xz gsoc2013-epiphany-c2beffd03405e6db4295afd6c2982388b808cb2e.tar.zst gsoc2013-epiphany-c2beffd03405e6db4295afd6c2982388b808cb2e.zip |
Merge eog-menu-api branch
2003-01-20 Marco Pesenti Gritti <marco@it.gnome.org>
* Merge eog-menu-api branch
Diffstat (limited to 'lib/egg/egg-accel-dialog.h')
-rw-r--r-- | lib/egg/egg-accel-dialog.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/lib/egg/egg-accel-dialog.h b/lib/egg/egg-accel-dialog.h new file mode 100644 index 000000000..8aa2fc435 --- /dev/null +++ b/lib/egg/egg-accel-dialog.h @@ -0,0 +1,43 @@ +#ifndef EGG_ACCEL_DIALOG_H +#define EGG_ACCEL_DIALOG_H + +#include <gtk/gtk.h> + +#define EGG_TYPE_ACCEL_DIALOG (egg_accel_dialog_get_type ()) +#define EGG_ACCEL_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EGG_TYPE_ACCEL_DIALOG, EggAccelDialog)) +#define EGG_ACCEL_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), EGG_TYPE_ACCEL_DIALOG, EggAccelDialogClass)) +#define EGG_IS_ACCEL_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EGG_TYPE_ACCEL_DIALOG)) +#define EGG_IS_ACCEL_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), EGG_TYPE_ACCEL_DIALOG)) +#define EGG_ACCEL_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), EGG_TYPE_ACCEL_DIALOG, EggAccelDialogClass)) + +typedef struct _EggAccelDialog EggAccelDialog; +typedef struct _EggAccelDialogClass EggAccelDialogClass; + +struct _EggAccelDialog { + GtkDialog parent; + + GtkListStore *accel_store; + + GtkWidget *accel_view; + + GtkWidget *shift_toggle; + GtkWidget *ctrl_toggle; + GtkWidget *alt_toggle; + GtkWidget *key_entry; + + GtkWidget *set_button; + GtkWidget *reset_button; + + GtkWidget *ok_button; +}; + +struct _EggAccelDialogClass { + GtkDialogClass parent_class; +}; + +GType egg_accel_dialog_get_type (void); +GtkWidget *egg_accel_dialog_new (void); + +void egg_accel_dialog_rescan_accels (EggAccelDialog *accel_dialog); + +#endif |