Hello,
Is there any signal that being called when text has been changed in a Editbox?
Is there any signal that being called when text has been changed in a Editbox?
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 Menutgui::ListBox::Ptr
but i keep getting QuoteSegmentation Fault ( Core Dumped )here is my way to print:
std::cout << explorer -> getSelectedItem().toAnsiString() /*error*/ << std::endl;
gdb error: Quote0x00007ffff776a634 in sf::String::String(sf::String const&) () from /usr/lib/x86_64-linux-gnu/libsfml-system.so.2.4here is backtrace:
Quotewhat am i doing wrong ?
#0 0x00007ffff776a634 in sf::String::String(sf::String const&) () from /usr/lib/x86_64-linux-gnu/libsfml-system.so.2.4
#1 0x00007ffff7462551 in tgui::ListBox::getSelectedItem() const () from /usr/local/lib/libtgui.so.0.7.6
#2 0x000055555556578f in Filesystem::Filesystem(bool)::{lambda()#1}::operator()() const ()
#3 0x000055555556825d in void std::__invoke_impl<void, Filesystem::Filesystem(bool)::{lambda()#1}&>(std::__invoke_other, Filesystem::Filesystem(bool)::{lambda()#1}&) ()
#4 0x000055555556821e in std::__invoke_result<Filesystem::Filesystem(bool)::{lambda()#1}&>::type std::__invoke<Filesystem::Filesystem(bool)::{lambda()#1}&>(std::__invoke_result&&, (Filesystem::Filesystem(bool)::{lambda()#1}&)...) ()
#5 0x00005555555681e6 in void std::_Bind<Filesystem::Filesystem(bool)::{lambda()#1} ()>::__call<void>(std::tuple<>&&, std::_Index_tuple<>) ()
#6 0x00005555555680f3 in void std::_Bind<Filesystem::Filesystem(bool)::{lambda()#1} ()>::operator()<, void>() ()
#7 0x0000555555567f6e in std::_Function_handler<void (), std::_Bind<Filesystem::Filesystem(bool)::{lambda()#1} ()> >::_M_invoke(std::_Any_data const&) ()
#8 0x00007ffff738f262 in tgui::Signal::operator()(unsigned int) () from /usr/local/lib/libtgui.so.0.7.6
#9 0x00007ffff73f20ed in void tgui::SignalWidgetBase::sendSignal<sf::String>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&, sf::String) ()
#10 0x00007ffff73efa3c in tgui::Button::leftMouseReleased(float, float) () from /usr/local/lib/libtgui.so.0.7.6
#11 0x00007ffff73748d6 in tgui::Container::handleEvent(sf::Event&) () from /usr/local/lib/libtgui.so.0.7.6
#12 0x00007ffff7374c3d in tgui::Container::leftMouseReleased(float, float) () from /usr/local/lib/libtgui.so.0.7.6
#13 0x00007ffff7410a84 in tgui::ChildWindow::leftMouseReleased(float, float) () from /usr/local/lib/libtgui.so.0.7.6
#14 0x00007ffff73748d6 in tgui::Container::handleEvent(sf::Event&) () from /usr/local/lib/libtgui.so.0.7.6
#15 0x00007ffff737abfd in tgui::Gui::handleEvent(sf::Event) () from /usr/local/lib/libtgui.so.0.7.6
#16 0x000055555555c109 in Window::loop() ()
#17 0x000055555555bcd0 in main ()