aboutsummaryrefslogtreecommitdiff
path: root/include/adwaitamm/applicationwindow.hpp
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2025-04-29 09:43:32 +0200
committerFelix Morgner <felix.morgner@gmail.com>2025-04-29 09:43:32 +0200
commit6cde8749c3cde48661fc390794d5d488812ed305 (patch)
tree0446eb451b87e423e258c39f0b2aa1d22b5eb6a7 /include/adwaitamm/applicationwindow.hpp
parentd6d3fa394d7ebb703afc84deb91dbece0776ff88 (diff)
downloadlibadwaitamm-6cde8749c3cde48661fc390794d5d488812ed305.tar.xz
libadwaitamm-6cde8749c3cde48661fc390794d5d488812ed305.zip
app-win: add missing API
Diffstat (limited to 'include/adwaitamm/applicationwindow.hpp')
-rw-r--r--include/adwaitamm/applicationwindow.hpp25
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;