Overview of widgets
Basic concepts
The widgets are basic components based on the concept window. All GUI elements are represented in the internal of Nana are windows, the widget defines some methods and a drawer to manipulate the window.
There are three different categories of windows. They have different behaviors and accessing methods.
root window
A root window is a window that attachs to the OS/Windowing system native window. nana::form, nana::nested_form are kind of ROOT windows.
Widget window
A widget window is a window that is used for implementing a contrl. nana::button, nana::label are kind of widget windows.
Lite widget window
A lite widget window is a window that is used for implementing a contrl, but it does not have a drawer.
Frame window
A frame window is a window that is used for docking an OS/windowing system native window. nana::frame is a kind of frame window.
The class hierarchy
nana::widget
|
|- nana::widget_object
|
|- nana::widget_object
|
|- nana::widget_object
|
|- nana::widget_object