summaryrefslogtreecommitdiffstats
path: root/src/gs-description-box.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/gs-description-box.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/gs-description-box.h b/src/gs-description-box.h
new file mode 100644
index 0000000..667b214
--- /dev/null
+++ b/src/gs-description-box.h
@@ -0,0 +1,29 @@
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
+ * vi:set noexpandtab tabstop=8 shiftwidth=8:
+ *
+ * Copyright (C) 2020 Red Hat <www.redhat.com>
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#pragma once
+
+#include <gtk/gtk.h>
+
+G_BEGIN_DECLS
+
+#define GS_TYPE_DESCRIPTION_BOX (gs_description_box_get_type ())
+
+G_DECLARE_FINAL_TYPE (GsDescriptionBox, gs_description_box, GS, DESCRIPTION_BOX, GtkWidget)
+
+GtkWidget *gs_description_box_new (void);
+const gchar *gs_description_box_get_text (GsDescriptionBox *box);
+void gs_description_box_set_text (GsDescriptionBox *box,
+ const gchar *text);
+gboolean gs_description_box_get_collapsed
+ (GsDescriptionBox *box);
+void gs_description_box_set_collapsed
+ (GsDescriptionBox *box,
+ gboolean collapsed);
+
+G_END_DECLS