Reference » Window classes » MWindow » getSize

Elgrint::MWindow::getSize() method

Declaration (see MWindow.h):

MSize getSize();


Returns the current size of the window.

Return type: MSize


getSize() is functionally equivalent to getRect().size(), including the premature finalizing and the default value for closed windows (see getRect), but using getSize is better (not to mention more convenient), because the "missing repaint" mechanism relies on it (see Resized for explanation regarding this mechanism).

Let us know

Please Contact us to report any errors on this page, or to suggest any improvements.

Miranor Home | About Miranor | About Elgrint | Create account | Login | Account settings | Contact Us | Privacy Policy | Site map

© Copyright 2014 by Miranor. All rights reserved. By using this site you agree to the Terms of Use.

Page last updated on August 10th, 2014.