summaryrefslogtreecommitdiffstats
path: root/src/gs-lozenge.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:57:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:57:27 +0000
commit6f0f7d1b40a8fa8d46a2d6f4317600001cdbbb18 (patch)
treed423850ae901365e582137bdf2b5cbdffd7ca266 /src/gs-lozenge.h
parentInitial commit. (diff)
downloadgnome-software-upstream/43.5.tar.xz
gnome-software-upstream/43.5.zip
Adding upstream version 43.5.upstream/43.5upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--src/gs-lozenge.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/gs-lozenge.h b/src/gs-lozenge.h
new file mode 100644
index 0000000..d331976
--- /dev/null
+++ b/src/gs-lozenge.h
@@ -0,0 +1,38 @@
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
+ * vi:set noexpandtab tabstop=8 shiftwidth=8:
+ *
+ * Copyright (C) 2022 Red Hat (www.redhat.com)
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#pragma once
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+G_BEGIN_DECLS
+
+#define GS_TYPE_LOZENGE (gs_lozenge_get_type ())
+G_DECLARE_FINAL_TYPE (GsLozenge, gs_lozenge, GS, LOZENGE, GtkBox)
+
+GtkWidget * gs_lozenge_new (void);
+gboolean gs_lozenge_get_circular (GsLozenge *self);
+void gs_lozenge_set_circular (GsLozenge *self,
+ gboolean value);
+const gchar * gs_lozenge_get_icon_name (GsLozenge *self);
+void gs_lozenge_set_icon_name (GsLozenge *self,
+ const gchar *value);
+gint gs_lozenge_get_pixel_size (GsLozenge *self);
+void gs_lozenge_set_pixel_size (GsLozenge *self,
+ gint value);
+gboolean gs_lozenge_get_use_markup (GsLozenge *self);
+const gchar * gs_lozenge_get_text (GsLozenge *self);
+void gs_lozenge_set_text (GsLozenge *self,
+ const gchar *value);
+const gchar * gs_lozenge_get_markup (GsLozenge *self);
+void gs_lozenge_set_markup (GsLozenge *self,
+ const gchar *value);
+
+G_END_DECLS