00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00034 #ifndef HN_OTHERS_BUTTON_H
00035 #define HN_OTHERS_BUTTON_H
00036
00037 #include "hn-wm-types.h"
00038
00039 #include <gtk/gtktogglebutton.h>
00040
00041 G_BEGIN_DECLS
00042
00043 #define HN_TYPE_OTHERS_BUTTON (hn_others_button_get_type ())
00044 #define HN_OTHERS_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), HN_TYPE_OTHERS_BUTTON, HNOthersButton))
00045 #define HN_IS_OTHERS_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), HN_TYPE_OTHERS_BUTTON))
00046 #define HN_OTHERS_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), HN_TYPE_OTHERS_BUTTON, HNOthersButtonClass))
00047 #define HN_IS_OTHERS_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), HN_TYPE_OTHERS_BUTTON))
00048 #define HN_OTHERS_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), HN_TYPE_OTHERS_BUTTON, HNOthersButtonClass))
00049
00050 typedef struct _HNOthersButton HNOthersButton;
00051 typedef struct _HNOthersButtonPrivate HNOthersButtonPrivate;
00052 typedef struct _HNOthersButtonClass HNOthersButtonClass;
00053
00054 struct _HNOthersButton
00055 {
00056 GtkToggleButton parent_instance;
00057 HNOthersButtonPrivate *priv;
00058 };
00059
00060 struct _HNOthersButtonClass
00061 {
00062 GtkToggleButtonClass parent_class;
00063 };
00064
00065 GType hn_others_button_get_type (void) G_GNUC_CONST;
00066
00067 GtkWidget * hn_others_button_new (void);
00068 void hn_others_button_dnotify_register (HNOthersButton * button);
00069 void hn_others_button_close_menu (HNOthersButton * button);
00070
00071 G_END_DECLS
00072 #endif