mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
See the ChangeLog for more information. * Move egg from gnome-utils to lib * New "Tip of the day" dialog. * Some small fixes. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@8462 57a11ea4-9604-0410-9ed3-97b8803252fd
44 lines
1.3 KiB
C
44 lines
1.3 KiB
C
#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
|