forked from cnjinhao/nana-docs
-
Notifications
You must be signed in to change notification settings - Fork 6
RAII
qPCR4vir edited this page Mar 12, 2015
·
2 revisions
This is an important feature. As shown in the above examples, as soon as a form
object is created,
its corresponding window is created, but the window is invisible till the show()
is called
for the form
object. As soon as the form
object is destructed, its corresponding window is
closed: this conforms with the C++ object life-time concept.