Re: gtkentry->set_text("hello") segmentation fault signal 11



Oscar Dávila wrote:
ok i tried to do that i get a lot of errors.

when i used

Gtk::Entry* entry_rapidrate;
entry_rapidrate->get_text();
worked verywell

but set_text dont.

It is not possible that this worked, except by accident. You're calling a function on a pointer that is pointing to a random memory address.

--
jonner


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]