diff options
Diffstat (limited to 'include/adwaitamm/spinrow.hpp')
| -rw-r--r-- | include/adwaitamm/spinrow.hpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/adwaitamm/spinrow.hpp b/include/adwaitamm/spinrow.hpp index f5e02b6..15aac22 100644 --- a/include/adwaitamm/spinrow.hpp +++ b/include/adwaitamm/spinrow.hpp @@ -38,7 +38,7 @@ namespace Adwaita using helpers::gobj_mixin<CppObjectType, BaseObjectType>::gobj; using helpers::gobj_mixin<CppObjectType, BaseObjectType>::gobj_copy; -#pragma mark - Special Member Functions + SpinRow(Gtk::Adjustment & adjustment, double climb_rate, unsigned int digits); SpinRow(double min, double max, double step); SpinRow(SpinRow const & other) = delete; @@ -47,15 +47,15 @@ namespace Adwaita auto operator=(SpinRow const & other) noexcept -> SpinRow & = delete; auto operator=(SpinRow && other) noexcept -> SpinRow & = default; -#pragma mark - GObject Support + auto static get_type() -> GType; auto static get_base_type() -> GType; -#pragma mark - Functions + auto configure(Gtk::Adjustment & adjustment, double climb_rate, unsigned int digits) -> void; auto update() -> void; -#pragma mark - Getters + [[nodiscard]] auto get_adjustment() const -> Glib::RefPtr<Gtk::Adjustment>; [[nodiscard]] auto get_climb_rate() const -> double; [[nodiscard]] auto get_digits() const -> unsigned int; @@ -65,7 +65,7 @@ namespace Adwaita [[nodiscard]] auto get_value() const -> double; [[nodiscard]] auto get_wrap() const -> bool; -#pragma mark - Setters + auto set_adjustment(Gtk::Adjustment & value) -> void; auto set_climb_rate(double value) -> void; auto set_digits(unsigned int value) -> void; @@ -76,7 +76,7 @@ namespace Adwaita auto set_value(double value) -> void; auto set_wrap(bool value) -> void; -#pragma mark - Properties + [[nodiscard]] auto property_adjustment() -> Glib::PropertyProxy<Glib::RefPtr<Gtk::Adjustment>>; [[nodiscard]] auto property_adjustment() const -> Glib::PropertyProxy_ReadOnly<Glib::RefPtr<Gtk::Adjustment>>; [[nodiscard]] auto property_climb_rate() -> Glib::PropertyProxy<double>; @@ -94,7 +94,7 @@ namespace Adwaita [[nodiscard]] auto property_wrap() -> Glib::PropertyProxy<bool>; [[nodiscard]] auto property_wrap() const -> Glib::PropertyProxy_ReadOnly<bool>; -#pragma mark - Signals + auto signal_input() -> Glib::SignalProxy<int(double &)>; auto signal_output() -> Glib::SignalProxy<bool()>; auto signal_wrapped() -> Glib::SignalProxy<void()>; @@ -102,7 +102,7 @@ namespace Adwaita protected: friend SpinRow_Class; -#pragma mark - Internal Constructors + explicit SpinRow(Glib::ConstructParams const & params); explicit SpinRow(BaseObjectType * gobj); }; |
