Mercurial > octave
comparison libinterp/corefcn/graphics.in.h @ 27730:5b9067c17e4b
Keep track of children in uibuttongroup (bug #55230).
* graphics.in.h (uibuttongroup::properties::adopt,
uibuttongroup::properties::remove_child): Add new functions.
* graphics.cc (uicontrol::properties::set_style,
uibuttongroup::properties::adopt,
uibuttongroup::properties::remove_child): Update "selectedobject" and "value".
* uibuttongroup.m: Make the demo resizable. Add BISTs for programmatic
interaction.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sat, 15 Dec 2018 12:53:18 +0100 |
parents | 0a84a7d0998d |
children | a9780be9ecbc |
comparison
equal
deleted
inserted
replaced
27729:718845eb3c7a | 27730:5b9067c17e4b |
---|---|
5600 { | 5600 { |
5601 public: | 5601 public: |
5602 class OCTINTERP_API properties : public base_properties | 5602 class OCTINTERP_API properties : public base_properties |
5603 { | 5603 { |
5604 public: | 5604 public: |
5605 void remove_child (const graphics_handle& h, bool from_root = false); | |
5606 | |
5607 void adopt (const graphics_handle& h); | |
5608 | |
5605 Matrix get_boundingbox (bool internal = false, | 5609 Matrix get_boundingbox (bool internal = false, |
5606 const Matrix& parent_pix_size = Matrix ()) const; | 5610 const Matrix& parent_pix_size = Matrix ()) const; |
5607 | 5611 |
5608 double get___fontsize_points__ (double box_pix_height = 0) const; | 5612 double get___fontsize_points__ (double box_pix_height = 0) const; |
5609 | 5613 |