diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-07-16 20:20:39 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-07-16 20:31:51 +0100 |
commit | 98d26079c57c873827beb2d00883547aa558e9a3 (patch) | |
tree | 01c5324db5017a274f701ce158b1be95a25668d9 /include/vcl/layout.hxx | |
parent | cb82c96f859d6cfc5567b63d17c732fdd6c249b4 (diff) |
add and use VclExpander::[g|s]et_expanded
Change-Id: I3b4e0947e85a7f6d6533dd17f39542584087c68a
Diffstat (limited to 'include/vcl/layout.hxx')
-rw-r--r-- | include/vcl/layout.hxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/vcl/layout.hxx b/include/vcl/layout.hxx index f72b93a1cd37..041f01b3029d 100644 --- a/include/vcl/layout.hxx +++ b/include/vcl/layout.hxx @@ -516,6 +516,14 @@ public: virtual Window *get_child(); virtual const Window *get_child() const; virtual bool set_property(const OString &rKey, const OString &rValue); + bool get_expanded() const + { + return m_aDisclosureButton.IsChecked(); + } + void set_expanded(bool bExpanded) + { + m_aDisclosureButton.Check(bExpanded); + } virtual void StateChanged(StateChangedType nType); protected: virtual Size calculateRequisition() const; |