diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2025-03-27 19:44:46 +0100 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2025-03-27 19:44:46 +0100 |
| commit | 6bcf6c01484c580b7b5846f9b0593e2b499d5aee (patch) | |
| tree | 59d1759cb89111c8ffbbe0d4d1c757ed6760452a /include/turns/adw/dialog.hpp | |
| parent | eabdf3c6c4f10ee8232a75fff6f1cefa0734cebf (diff) | |
| download | libadwaitamm-6bcf6c01484c580b7b5846f9b0593e2b499d5aee.tar.xz libadwaitamm-6bcf6c01484c580b7b5846f9b0593e2b499d5aee.zip | |
adw: add more dialog functions
Diffstat (limited to 'include/turns/adw/dialog.hpp')
| -rw-r--r-- | include/turns/adw/dialog.hpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/include/turns/adw/dialog.hpp b/include/turns/adw/dialog.hpp index 316a218..3536dfa 100644 --- a/include/turns/adw/dialog.hpp +++ b/include/turns/adw/dialog.hpp @@ -55,8 +55,16 @@ namespace turns::adw auto static get_type() -> GType; auto static get_base_type() -> GType; - auto add_breakpoint(adw::Breakpoint && breakpoint) -> void; + auto add_breakpoint(Glib::RefPtr<Breakpoint> const & breakpoint) -> void; auto close() -> void; + auto force_close() -> void; + auto get_can_close() const -> bool; + auto get_child() const -> Gtk::Widget *; + auto get_content_height() const -> int; + auto get_content_width() const -> int; + auto get_current_breakpoint() const -> Glib::RefPtr<Breakpoint>; + auto get_default_widget() const -> Gtk::Widget *; + auto get_focus() const -> Gtk::Widget *; auto present(Gtk::Widget * parent) -> void; auto set_title(Glib::ustring const & str) -> void; @@ -68,7 +76,7 @@ namespace turns::adw namespace Glib { - auto wrap(AdwDialog * object, bool copy = false) -> Glib::RefPtr<turns::adw::Dialog>; + auto wrap(AdwDialog * object, bool copy = false) -> turns::adw::Dialog *; } // namespace Glib #endif
\ No newline at end of file |
