summaryrefslogtreecommitdiff
path: root/src/widgets/panel/panel-item.h
diff options
context:
space:
mode:
authorHannes Schulze <haschu0103@outlook.de>2024-05-06 13:42:55 +0200
committerHannes Schulze <haschu0103@outlook.de>2024-05-06 14:33:54 +0200
commit37d5ef75306c45ca95550f4af40d9750c5b9cb88 (patch)
tree7125c8e8445eeecb86097bc99bb2d1febfb7e2a5 /src/widgets/panel/panel-item.h
initial commit
yup, i definitely wrote all of this in a single commit
Diffstat (limited to 'src/widgets/panel/panel-item.h')
-rw-r--r--src/widgets/panel/panel-item.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/widgets/panel/panel-item.h b/src/widgets/panel/panel-item.h
new file mode 100644
index 0000000..318bd85
--- /dev/null
+++ b/src/widgets/panel/panel-item.h
@@ -0,0 +1,23 @@
+#pragma once
+
+#include <gtk/gtk.h>
+#include "services/configuration-service.h"
+
+G_BEGIN_DECLS
+
+#define FOOBAR_TYPE_PANEL_ITEM foobar_panel_item_get_type( )
+
+G_DECLARE_DERIVABLE_TYPE( FoobarPanelItem, foobar_panel_item, FOOBAR, PANEL_ITEM, GtkWidget )
+
+struct _FoobarPanelItemClass
+{
+ GtkWidgetClass parent_class;
+};
+
+GtkWidget* foobar_panel_item_get_child ( FoobarPanelItem* self );
+void foobar_panel_item_set_child ( FoobarPanelItem* self,
+ GtkWidget* child );
+void foobar_panel_item_invoke_action( FoobarPanelItem* self,
+ FoobarPanelItemAction action );
+
+G_END_DECLS \ No newline at end of file