aboutsummaryrefslogtreecommitdiff
path: root/include/adwaitamm/windowtitle.hpp
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2025-04-28 13:52:49 +0200
committerFelix Morgner <felix.morgner@gmail.com>2025-04-28 13:52:49 +0200
commitf1444607e0dd39cea4591e6bc82938abd61e38e2 (patch)
treed4d8e2157749624acf57f511d0988be78f8442e6 /include/adwaitamm/windowtitle.hpp
parent00ab9e29298ae1884591685b63e73528cb762084 (diff)
downloadlibadwaitamm-f1444607e0dd39cea4591e6bc82938abd61e38e2.tar.xz
libadwaitamm-f1444607e0dd39cea4591e6bc82938abd61e38e2.zip
adw: extract libadwaitamm
Diffstat (limited to 'include/adwaitamm/windowtitle.hpp')
-rw-r--r--include/adwaitamm/windowtitle.hpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/adwaitamm/windowtitle.hpp b/include/adwaitamm/windowtitle.hpp
index d142a95..e84fa06 100644
--- a/include/adwaitamm/windowtitle.hpp
+++ b/include/adwaitamm/windowtitle.hpp
@@ -35,7 +35,7 @@ namespace Adwaita
using helpers::gobj_mixin<CppObjectType, BaseObjectType>::gobj;
using helpers::gobj_mixin<CppObjectType, BaseObjectType>::gobj_copy;
-#pragma mark - Special Member Functions
+
WindowTitle(Glib::ustring const & title, Glib::ustring const & subtitle);
WindowTitle(WindowTitle const & other) = delete;
WindowTitle(WindowTitle && other) noexcept = default;
@@ -43,19 +43,19 @@ namespace Adwaita
auto operator=(WindowTitle const & other) noexcept -> WindowTitle & = delete;
auto operator=(WindowTitle && other) noexcept -> WindowTitle & = default;
-#pragma mark - GObject Support
+
auto static get_type() -> GType;
auto static get_base_type() -> GType;
-#pragma mark - Getters
+
[[nodiscard]] auto get_subtitle() const -> Glib::ustring;
[[nodiscard]] auto get_title() const -> Glib::ustring;
-#pragma mark - Setters
+
auto set_subtitle(Glib::ustring const & value) -> void;
auto set_title(Glib::ustring const & value) -> void;
-#pragma mark - Properties
+
[[nodiscard]] auto property_subtitle() -> Glib::PropertyProxy<Glib::ustring>;
[[nodiscard]] auto property_subtitle() const -> Glib::PropertyProxy_ReadOnly<Glib::ustring>;
[[nodiscard]] auto property_title() -> Glib::PropertyProxy<Glib::ustring>;
@@ -64,7 +64,7 @@ namespace Adwaita
protected:
friend WindowTitle_Class;
-#pragma mark - Internal Constructors
+
explicit WindowTitle(Glib::ConstructParams const & params);
explicit WindowTitle(BaseObjectType * gobj);
};