diff options
author | Javier <dev.git@javispedro.com> | 2014-01-28 16:50:47 +0100 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2014-01-28 16:50:47 +0100 |
commit | c2d6d46b9ca89cb1c0729ee599c3566d3d1e7cf7 (patch) | |
tree | 7e1e2285437816c06ac884d68284d854413cf41e /mate-applet/topmenu-mate-panel-applet.h | |
download | topmenu-gtk-c2d6d46b9ca89cb1c0729ee599c3566d3d1e7cf7.tar.gz topmenu-gtk-c2d6d46b9ca89cb1c0729ee599c3566d3d1e7cf7.zip |
initial import
Diffstat (limited to 'mate-applet/topmenu-mate-panel-applet.h')
-rw-r--r-- | mate-applet/topmenu-mate-panel-applet.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/mate-applet/topmenu-mate-panel-applet.h b/mate-applet/topmenu-mate-panel-applet.h new file mode 100644 index 0000000..0563597 --- /dev/null +++ b/mate-applet/topmenu-mate-panel-applet.h @@ -0,0 +1,38 @@ +#ifndef _TOPMENU_MATE_PANEL_APPLET_H_ +#define _TOPMENU_MATE_PANEL_APPLET_H_ + +#include <mate-panel-applet.h> +#include "../libtopmenu-server/topmenu-widget.h" + +G_BEGIN_DECLS + +#define TOPMENU_TYPE_MATE_PANEL_APPLET topmenu_mate_panel_applet_get_type() +#define TOPMENU_MATE_PANEL_APPLET(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), TOPMENU_TYPE_MATE_PANEL_APPLET, TopMenuMatePanelApplet)) +#define TOPMENU_IS_MATE_PANEL_APPLET(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), TOPMENU_TYPE_MATE_PANEL_APPLET)) +#define TOPMENU_MATE_PANEL_APPLET_CLASS(c) (G_TYPE_CHECK_CLASS_CAST((c), TOPMENU_TYPE_MATE_PANEL_APPLET, TopMenuMatePanelAppletClass)) +#define TOPMENU_IS_MATE_PANEL_APPLET_CLASS(c) (G_TYPE_CHECK_CLASS_TYPE((c), TOPMENU_TYPE_MATE_PANEL_APPLET)) +#define TOPMENU_MATE_PANEL_APPLET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), TOPMENU_TYPE_MATE_PANEL_APPLET, TopMenuMatePanelAppletClass)) + +typedef struct _TopMenuMatePanelApplet TopMenuMatePanelApplet; +typedef struct _TopMenuMatePanelAppletClass TopMenuMatePanelAppletClass; + +struct _TopMenuMatePanelApplet +{ + MatePanelApplet parent_instance; + TopMenuWidget *menu_widget; + GdkWindow *cur_plug; + GtkActionGroup *actions; +}; + +struct _TopMenuMatePanelAppletClass +{ + MatePanelAppletClass parent_class; +}; + +GType topmenu_mate_panel_applet_get_type(void); + +MatePanelApplet *topmenu_mate_panel_applet_new(void); + +G_END_DECLS + +#endif /* _TOPMENU_MATE_PANEL_APPLET_H_ */ |