1
0

mssh-pref.h 847 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. #ifndef __MSSH_PREF_H__
  2. #define __MSSH_PREF_H__
  3. #include <gtk/gtk.h>
  4. G_BEGIN_DECLS
  5. #define MSSH_TYPE_PREF mssh_pref_get_type()
  6. #define MSSH_PREF(obj) G_TYPE_CHECK_INSTANCE_CAST(obj,\
  7. MSSH_TYPE_PREF, MSSHPref)
  8. #define MSSH_PREF_CLASS(klass) G_TYPE_CHECK_CLASS_CAST(klass,\
  9. MSSH_PREF_TYPE, MSSHPrefClass)
  10. #define IS_MSSH_PREF(obj) G_TYPE_CHECK_INSTANCE_TYPE(obj,\
  11. MSSH_TYPE_PREF)
  12. #define IS_MSSH_PREF_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE(klass,\
  13. MSSH_TYPE_PREF)
  14. typedef struct
  15. {
  16. GtkWindow widget;
  17. GtkWidget *ctrl;
  18. GtkWidget *alt;
  19. GtkWidget *shift;
  20. GtkWidget *super;
  21. } MSSHPref;
  22. typedef struct
  23. {
  24. GtkWindowClass parent_class;
  25. } MSSHPrefClass;
  26. GType mssh_pref_get_type(void) G_GNUC_CONST;
  27. GtkWidget* mssh_pref_new(void);
  28. G_END_DECLS
  29. #endif /* __MSSH_PREF_H__ */