Skip to content

Instantly share code, notes, and snippets.

@sh-cho
Created September 5, 2017 18:11
Show Gist options
  • Save sh-cho/f576e5bee14d926c99c1720246391bbe to your computer and use it in GitHub Desktop.
Save sh-cho/f576e5bee14d926c99c1720246391bbe to your computer and use it in GitHub Desktop.
nana hello world program
#include <nana/gui.hpp>
#include <nana/gui/widgets/label.hpp>
int main()
{
using namespace nana;
form fm;
label lb{ fm, rectangle{ 10, 10, 100, 100 } };
lb.caption("Hello, world!");
fm.show();
exec();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment