Helper class to block invalidate_layout. More...
#include <window.hpp>
Public Member Functions | |
tinvalidate_layout_blocker (twindow &window) | |
~tinvalidate_layout_blocker () | |
Private Attributes | |
twindow & | window_ |
Helper class to block invalidate_layout.
Some widgets can handling certain layout aspects without help. For example a listbox can handle hiding and showing rows without help but setting the visibility calls invalidate_layout(). When this blocker is Instantiated the call to invalidate_layout() becomes a nop.
Definition at line 250 of file window.hpp.
gui2::twindow::tinvalidate_layout_blocker::tinvalidate_layout_blocker | ( | twindow & | window | ) |
Definition at line 928 of file window.cpp.
References gui2::twindow::invalidate_layout_blocked_, and window_.
gui2::twindow::tinvalidate_layout_blocker::~tinvalidate_layout_blocker | ( | ) |
Definition at line 935 of file window.cpp.
|
private |
Definition at line 257 of file window.hpp.
Referenced by tinvalidate_layout_blocker().