Menu

glui edittext problems

st_claire
2007-08-27
2012-09-26
  • st_claire

    st_claire - 2007-08-27

    When I try and use get_text(), it works the first time, but the second time it uses the original value. How can I get it to give me the new value?

    GLUI_EditText fileText;
    fileText = gluiOpen->add_edittext_to_panel( file_selection, "Filename", GLUI_EDITTEXT_TEXT );
    const char
    fileName = fileText->get_text();

    I think it might be because its a const, but get_text insists on using a const. Any thoughts???

     
    • st_claire

      st_claire - 2007-08-27

      nevermind, stupid mistake :)

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.