Nana - a C++ framework project  

The Programmer's Guide 
nana::gui::panel<bool HasBackground>

Description

A panel widget is used for placing some widgets. This widget is a class template with a bool template parameter, to determinte the widget and lite_widget by using the bool template parameter.

Model of

Widget Window 

Public base classes

class widget_object<widget_tag, DrawerTrigger>: public widget
or
class widget_object<lite_widget_tag, DrawerTrigger>: public widget

Members

panel() Default construction.
panel(window wd, bool visible) Create a penel with a specified rectangle.
panel(window wd, const rectangle& r = rectangle(), bool visible = true) Ditto.
bool transparent() cosnt Returns true if it is transparent background.
void transparent(bool) Sets the background whether it is transparent.

File

nana/gui/widgets/panel.hpp

Notes

1. The panel is no difference between widget_tag and lite_widget_tag in use.

See also

None.


Move to The Nana Programmer's Guide Main Page