summaryrefslogtreecommitdiff
path: root/adw/include/adwaitamm/toastoverlay.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'adw/include/adwaitamm/toastoverlay.hpp')
-rw-r--r--adw/include/adwaitamm/toastoverlay.hpp14
1 files changed, 6 insertions, 8 deletions
diff --git a/adw/include/adwaitamm/toastoverlay.hpp b/adw/include/adwaitamm/toastoverlay.hpp
index f4d54cb..9872c1b 100644
--- a/adw/include/adwaitamm/toastoverlay.hpp
+++ b/adw/include/adwaitamm/toastoverlay.hpp
@@ -2,11 +2,11 @@
#define LIBADWAITAMM_TOASTOVERLAY_HPP
#include "adwaitamm/helpers/gobj_mixin.hpp"
-#include "adwaitamm/helpers/properties.hpp"
#include <glibmm/class.h>
#include <glibmm/object.h>
#include <glibmm/objectbase.h>
+#include <glibmm/propertyproxy.h>
#include <glibmm/refptr.h>
#include <gtkmm/widget.h>
@@ -53,20 +53,18 @@ namespace Adwaita
auto static get_type() -> GType;
auto static get_base_type() -> GType;
- auto add(Glib::RefPtr<struct Toast> const & toast) -> void;
+ auto add_toast(struct Toast & toast) -> void;
+ auto dismiss_all() -> void;
+ auto get_child() const -> Gtk::Widget *;
+ auto set_child(Gtk::Widget & value) -> void;
- auto property_child(this auto && self);
+ auto property_child() -> Glib::PropertyProxy<Gtk::Widget *>;
protected:
explicit ToastOverlay(Glib::ConstructParams const & params);
explicit ToastOverlay(BaseObjectType * gobj);
};
- auto ToastOverlay::property_child(this auto && self)
- {
- return helpers::make_property_proxy<Gtk::Widget *>(self, "child");
- }
-
} // namespace Adwaita
namespace Glib