diff options
Diffstat (limited to 'include/adwaitamm/entryrow.hpp')
| -rw-r--r-- | include/adwaitamm/entryrow.hpp | 16 |
1 files changed, 8 insertions, 8 deletions
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<CppObjectType, BaseObjectType>::gobj; using helpers::gobj_mixin<CppObjectType, BaseObjectType>::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<bool>; [[nodiscard]] auto property_activates_default() const -> Glib::PropertyProxy_ReadOnly<bool>; [[nodiscard]] auto property_attributes() -> Glib::PropertyProxy<Pango::AttrList>; @@ -100,14 +100,14 @@ namespace Adwaita [[nodiscard]] auto property_show_apply_button() const -> Glib::PropertyProxy_ReadOnly<bool>; [[nodiscard]] auto property_text_length() -> Glib::PropertyProxy_ReadOnly<unsigned int>; -#pragma mark - Signals + auto signal_apply() -> Glib::SignalProxy<void()>; auto signal_entry_activated() -> Glib::SignalProxy<void()>; protected: friend EntryRow_Class; -#pragma mark - Internal Constructors + explicit EntryRow(Glib::ConstructParams const & params); explicit EntryRow(BaseObjectType * gobj); }; |
