From 1af3d14f3f995645a0de08a54b244c19840709e9 Mon Sep 17 00:00:00 2001 From: Hannes Schulze Date: Thu, 19 Jun 2025 23:17:58 +0200 Subject: init hs project --- csrc/widgets/panel/panel-item.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 csrc/widgets/panel/panel-item.h (limited to 'csrc/widgets/panel/panel-item.h') diff --git a/csrc/widgets/panel/panel-item.h b/csrc/widgets/panel/panel-item.h new file mode 100644 index 0000000..12a7e35 --- /dev/null +++ b/csrc/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 -- cgit v1.3.1