Skip to content

Instantly share code, notes, and snippets.

@mer30hamid
Last active August 29, 2015 14:02
Show Gist options
  • Save mer30hamid/0207cd9bc087cfb01738 to your computer and use it in GitHub Desktop.
Save mer30hamid/0207cd9bc087cfb01738 to your computer and use it in GitHub Desktop.
How easy to create a Hello World program with Nana?
#include <nana/gui/wvl.hpp>
#include <nana/gui/widgets/label.hpp>
int main()
{
using namespace nana::gui;
form fm;
label lb(fm, fm.size());
lb.caption(L"Hello, World");
fm.show();
exec();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment