From 37d5ef75306c45ca95550f4af40d9750c5b9cb88 Mon Sep 17 00:00:00 2001 From: Hannes Schulze Date: Mon, 6 May 2024 13:42:55 +0200 Subject: initial commit yup, i definitely wrote all of this in a single commit --- src/widgets/panel/panel-item.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/widgets/panel/panel-item.h (limited to 'src/widgets/panel/panel-item.h') 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 +#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 -- cgit v1.3.1