diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/adwaitamm/applicationwindow.hpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/include/adwaitamm/applicationwindow.hpp b/include/adwaitamm/applicationwindow.hpp index bef520d..fa41469 100644 --- a/include/adwaitamm/applicationwindow.hpp +++ b/include/adwaitamm/applicationwindow.hpp @@ -7,15 +7,21 @@ #ifndef LIBADWAITAMM_APPLICATION_WINDOW_HPP #define LIBADWAITAMM_APPLICATION_WINDOW_HPP +#include "adwaitamm/breakpoint.hpp" +#include "adwaitamm/dialog.hpp" #include "helpers/gobj_mixin.hpp" #include <glibmm/object.h> #include <glibmm/objectbase.h> +#include <glibmm/propertyproxy.h> #include <glibmm/refptr.h> #include <glibmm/ustring.h> +#include <giomm/listmodel.h> + #include <gtkmm/application.h> #include <gtkmm/applicationwindow.h> +#include <gtkmm/widget.h> #include <glib-object.h> @@ -46,6 +52,25 @@ namespace Adwaita auto static get_type() -> GType; auto static get_base_type() -> GType; + auto add_breakpoint(Glib::RefPtr<Breakpoint> const & breakpoint) -> void; + + auto get_adaptive_preview() const -> bool; + auto get_content() const -> Gtk::Widget *; + auto get_current_breakpoint() const -> Glib::RefPtr<Breakpoint>; + auto get_dialogs() const -> Glib::RefPtr<Gio::ListModel>; + auto get_visible_dialog() const -> Dialog *; + + auto set_adaptive_preview(bool value) -> void; + auto set_content(Gtk::Widget & value) -> void; + + auto property_adaptive_preview() -> Glib::PropertyProxy<bool>; + auto property_adaptive_preview() const -> Glib::PropertyProxy_ReadOnly<bool>; + auto property_content() -> Glib::PropertyProxy<Gtk::Widget *>; + auto property_content() const -> Glib::PropertyProxy_ReadOnly<Gtk::Widget *>; + auto property_current_breakpoint() const -> Glib::PropertyProxy_ReadOnly<Glib::RefPtr<Breakpoint>>; + auto property_dialogs() const -> Glib::PropertyProxy_ReadOnly<Glib::RefPtr<Gio::ListModel>>; + auto property_visible_dialog() const -> Glib::PropertyProxy_ReadOnly<Dialog *>; + protected: friend ApplicationWindow_Class; |
