Questions and Answers
Need help? Post your questions here and other people will give you answers.
364
Topics
1.92k
Posts
13
Followers
Yes No
Hide topic messages
Yes No
Enable infinite scrolling
I have a nana::group which, inside it has a nana::checkbox and a nana::label.

The label provides a help message for the options in the checkbox. If label is located in the same vertical level as the checkbox option then when I press on label, instead of seeing the message, the checkbox option close to it gets activated. How can I limit the action of checkbox to the horizontal length of the t
5ee007401c5ff.png
1replies
20views
recent by Error Flynn  ·  Jun 10 at 6:24 am
DMA posted Jun 10 at 3:34 am
The text of combox is left justified. How can I make it centered or right justified?

If there is no method to do this, then I ask Jinhao to add these features to the nana::combox class. Thanks.

0replies
6views
DMA posted Jun 5 at 4:56 pm
I am trying to specify a nana::combox that has several predefined options. I would like to have an option to get a user defined string for this combox. So, I decided to have a nana::checkbox and if this checkbox is checked then I make the combox editable and get the user specified string and add it to the combox options. This idea does not work. The combox remains un-editable. What is wrong here?
3replies
28views
recent by huycan  ·  Jun 7 at 9:00 am
Hare Krishna, All!

I have Windows 10, download and install MinGW from https://nuwen.net/mingw.html into C:\MinGW, download and install CodeBlocks 11979 from http://forums.codeblocks.org/index.php/topic,23712.0.html , I followed instruction from https://github.com/qPCR4vir/nana-docs/wiki/Code-Blocks . I set also Settings-> Compiler...->Toolchain executable:

I edit item GNU GCC Compi
0replies
32views
I still cannot build a simple "hello world" program using nana v1.7.3, even when I build with gcc v8.3

This problem was reported back in August when v1.7.2 broke it.

Here is the program

#include <iostream>
#include <nana>
#include <nana>

using namespace std;

int main()
{
using namespace nana;
form fm;
label lb(fm, rectangle(fm.size()));
lb.capt
13replies
66views
recent by jinhao  ·  Feb 14 at 4:39 am
#include <nana/gui.hpp>
#include <nana/gui/widgets/menubar.hpp>
#include <nana/gui/widgets/textbox.hpp>
#include <nana/gui/widgets/label.hpp>
#include <nana/gui/place.hpp>
#include <nana/gui/msgbox.hpp>
#include <nana/gui/filebox.hpp>
#include <thread>
#include <iostream>
using namespace nana;
using namespace std;
using path_type = std::filesy
7replies
43views
recent by jinhao  ·  Feb 13 at 7:11 am
Hi All,
I'm currently learning advanced STL concepts and consider nana as my learning project. Currently focused on how animation works and for that, I have started looking into related classes and methods.

One question I have in my mind is to render BMP image sequences we have to use pushback method of image class but I am unable to create frambuilder example.

How can I use this std:
0replies
7views
huycan posted Jan 18 at 10:24 pm
When you click on a menu choice, the menu will be closed... this is fine. But if it is an option or a highlight, you'd want it remaining open... so that user knows that they choose the right option.

The question then, how to let the menu remaining open after choosing an option?

10replies
43views
recent by Error Flynn  ·  Jan 30 at 12:58 am
Load more
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft