diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2025-04-28 13:52:49 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2025-04-28 13:52:49 +0200 |
| commit | f1444607e0dd39cea4591e6bc82938abd61e38e2 (patch) | |
| tree | d4d8e2157749624acf57f511d0988be78f8442e6 /include/adwaitamm/entryrow.hpp | |
| parent | 00ab9e29298ae1884591685b63e73528cb762084 (diff) | |
| download | libadwaitamm-f1444607e0dd39cea4591e6bc82938abd61e38e2.tar.xz libadwaitamm-f1444607e0dd39cea4591e6bc82938abd61e38e2.zip | |
adw: extract libadwaitamm
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); }; |
