summaryrefslogtreecommitdiff
path: root/adw/src/private
diff options
context:
space:
mode:
Diffstat (limited to 'adw/src/private')
-rw-r--r--adw/src/private/comborow_p.cpp41
1 files changed, 41 insertions, 0 deletions
diff --git a/adw/src/private/comborow_p.cpp b/adw/src/private/comborow_p.cpp
new file mode 100644
index 0000000..4277db2
--- /dev/null
+++ b/adw/src/private/comborow_p.cpp
@@ -0,0 +1,41 @@
+/**
+ * @author Felix Morgner (felix.morgner@gmail.com)
+ * @copyright Copyright (c) 2025
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ */
+
+#include "adwaitamm/private/comborow_p.hpp"
+
+#include "adwaitamm/comborow.hpp"
+
+#include <glibmm/class.h>
+#include <glibmm/object.h>
+#include <glibmm/objectbase.h>
+
+#include <gtkmm/object.h>
+
+#include <adwaita.h>
+
+namespace Adwaita
+{
+ auto ComboRow_Class::init() -> Glib::Class const &
+ {
+ if (!gtype_)
+ {
+ class_init_func_ = &class_init_function;
+ register_derived_type(adw_combo_row_get_type());
+ }
+ return *this;
+ }
+
+ auto ComboRow_Class::class_init_function(void * gclass, void * data) -> void
+ {
+ auto const klass = static_cast<BaseClassType *>(gclass);
+ CppClassParent::class_init_function(klass, data);
+ }
+
+ auto ComboRow_Class::wrap_new(GObject * object) -> Glib::ObjectBase *
+ {
+ return Gtk::manage(new ComboRow(ADW_COMBO_ROW(object)));
+ }
+} // namespace Adwaita \ No newline at end of file