Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - 2ant

#1
Thank you for your answer and thank you for TGUI !!

menu->connectMenuItem("File","Exit",[&]{ window.close(); });  works fine but
when i first posted this i was decifering the doc ( connectMenuItem() [1/2] )
and then i looked at ( connectMenuItem() [2/2] )  and left the correct answer in the post.

If anyone has more advices, please share !
#2
Hello, i am trying to use tgui with opencv and sfml.

I managed to install them and i am now learning how to use them.

Since i'm a semi-beginner in c++, i don't know how to do some things but i want to learn.

for ex : I want to close the window when i click on a menu item.

I had trouble to write the hierarchy in menu->connectMenuItem("File","Exit",[&]{ window.close(); });

When i look at a documentation, some things are hard to get.

What do i need to learn to understand how to use tgui ?

I know i need at least to understand signals and lambda functions.

Can you tell me what other subjects i need to know about ?

Do you know any good sites or books ?