From f1444607e0dd39cea4591e6bc82938abd61e38e2 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Mon, 28 Apr 2025 13:52:49 +0200 Subject: adw: extract libadwaitamm --- include/adwaitamm/entryrow.hpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'include/adwaitamm/entryrow.hpp') diff --git a/include/adwaitamm/entryrow.hpp b/include/adwaitamm/entryrow.hpp index 16f0f3b..416323c 100644 --- a/include/adwaitamm/entryrow.hpp +++ b/include/adwaitamm/entryrow.hpp @@ -46,7 +46,7 @@ namespace Adwaita using helpers::gobj_mixin::gobj; using helpers::gobj_mixin::gobj_copy; -#pragma mark - Special Member Functions + explicit EntryRow(); EntryRow(EntryRow const & other) = delete; EntryRow(EntryRow && other) noexcept = default; @@ -54,17 +54,17 @@ namespace Adwaita auto operator=(EntryRow const & other) noexcept -> EntryRow & = delete; auto operator=(EntryRow && other) noexcept -> EntryRow & = default; -#pragma mark - GObject Support + auto static get_type() -> GType; auto static get_base_type() -> GType; -#pragma mark - Functions + auto add_prefix(Gtk::Widget & widget) -> void; auto add_suffix(Gtk::Widget & widget) -> void; auto grab_focus_without_selecting() -> bool; auto remove(Gtk::Widget & widget) -> void; -#pragma mark - Getters + [[nodiscard]] auto get_activates_default() const -> bool; [[nodiscard]] auto get_attributes() const -> Pango::AttrList; [[nodiscard]] auto get_enable_emoji_completion() const -> bool; @@ -74,7 +74,7 @@ namespace Adwaita [[nodiscard]] auto get_show_apply_button() const -> bool; [[nodiscard]] auto get_text_length() const -> unsigned int; -#pragma mark - Setters + auto set_activates_default(bool value) -> void; auto set_attributes(Pango::AttrList & value) -> void; auto set_enable_emoji_completion(bool value) -> void; @@ -83,7 +83,7 @@ namespace Adwaita auto set_max_length(int value) -> void; auto set_show_apply_button(bool value) -> void; -#pragma mark - Properties + [[nodiscard]] auto property_activates_default() -> Glib::PropertyProxy; [[nodiscard]] auto property_activates_default() const -> Glib::PropertyProxy_ReadOnly; [[nodiscard]] auto property_attributes() -> Glib::PropertyProxy; @@ -100,14 +100,14 @@ namespace Adwaita [[nodiscard]] auto property_show_apply_button() const -> Glib::PropertyProxy_ReadOnly; [[nodiscard]] auto property_text_length() -> Glib::PropertyProxy_ReadOnly; -#pragma mark - Signals + auto signal_apply() -> Glib::SignalProxy; auto signal_entry_activated() -> Glib::SignalProxy; protected: friend EntryRow_Class; -#pragma mark - Internal Constructors + explicit EntryRow(Glib::ConstructParams const & params); explicit EntryRow(BaseObjectType * gobj); }; -- cgit v1.2.3