diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-07-02 11:43:45 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-07-02 11:57:08 +0100 |
commit | 5a83b31acab390785505b84895359fa9fbc25ed9 (patch) | |
tree | 5980b748c690f412ce890a20fd7099a9485beb93 /include/vcl/builder.hxx | |
parent | 5983675eccd9517915d8f5558c25f47c952edb24 (diff) |
expose a way to drop ownership of a window from builder tree
Change-Id: I6f6bff32271ed1d6c328ba211a6b1249fda039dd
Diffstat (limited to 'include/vcl/builder.hxx')
-rw-r--r-- | include/vcl/builder.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/vcl/builder.hxx b/include/vcl/builder.hxx index 3f4841e0ef17..baa77d367f54 100644 --- a/include/vcl/builder.hxx +++ b/include/vcl/builder.hxx @@ -297,6 +297,9 @@ public: OString get_by_window(const ::Window *pWindow) const; void delete_by_window(const ::Window *pWindow); + //release ownership of pWindow, i.e. don't delete it + void drop_ownership(const ::Window *pWindow); + //apply the properties of rProps to pWindow static void set_properties(::Window *pWindow, const stringmap &rProps); |