summaryrefslogtreecommitdiff
path: root/adw/include/adwaitamm/private
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2025-04-28 11:22:20 +0200
committerFelix Morgner <felix.morgner@gmail.com>2025-04-28 11:22:20 +0200
commit0b4f979c001835b20ff75a848eee83f59c1397c0 (patch)
treeb1fe6df13af1e873f8bff9b4f822d95d7b09a00f /adw/include/adwaitamm/private
parent3fe6119b93141d74c9f34f69d2b3b6ae016c2abf (diff)
downloadturns-0b4f979c001835b20ff75a848eee83f59c1397c0.tar.xz
turns-0b4f979c001835b20ff75a848eee83f59c1397c0.zip
adw: implement SpinRow
Diffstat (limited to 'adw/include/adwaitamm/private')
-rw-r--r--adw/include/adwaitamm/private/spinrow_p.hpp35
1 files changed, 35 insertions, 0 deletions
diff --git a/adw/include/adwaitamm/private/spinrow_p.hpp b/adw/include/adwaitamm/private/spinrow_p.hpp
new file mode 100644
index 0000000..f99c28d
--- /dev/null
+++ b/adw/include/adwaitamm/private/spinrow_p.hpp
@@ -0,0 +1,35 @@
+/**
+ * @author Felix Morgner (felix.morgner@gmail.com)
+ * @copyright Copyright (c) 2025
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ */
+
+#ifndef LIBADWAITAMM_PRIVATE_SPIN_ROW_P_HPP
+#define LIBADWAITAMM_PRIVATE_SPIN_ROW_P_HPP
+
+#include "adwaitamm/private/actionrow_p.hpp"
+
+#include <glibmm/class.h>
+#include <glibmm/objectbase.h>
+
+#define _ADWAITA_INSIDE
+#include <adw-spin-row.h>
+#undef _ADWAITA_INSIDE
+
+namespace Adwaita
+{
+ struct SpinRow_Class : Glib::Class
+ {
+ using BaseClassParent = AdwActionRowClass;
+ using BaseClassType = AdwSpinRowClass;
+ using BaseObjectType = AdwSpinRow;
+ using CppClassParent = ActionRow_Class;
+ using CppObjectType = struct SpinRow;
+
+ auto init() -> Glib::Class const &;
+ auto static class_init_function(void * gclass, void * data) -> void;
+ auto static wrap_new(GObject * object) -> Glib::ObjectBase *;
+ };
+} // namespace Adwaita
+
+#endif \ No newline at end of file