I'm having a little trouble with the gtk lib. I made this function...
function encrypt_textarea_0()
object str
str=get_text(txt)
printf(1,"%s",str)
return NULL
end function
constant encrypt_textarea=call_back(routine_id("encrypt_textarea_0"))
when I click on the button that calls this funtion I get....
Gtk-CRITICAL **: file gtkentry.c: line 535 (gtk_entry_get_text):
assertion `GTK_IS_ENTRY (entry)' failed.
Segmentation fault
from looking at the error, it looks like get_text is for a GtkEntry
widget and not a GtkText object. so my question is ...
how do you get the contents of a GtkText widget a store them in a
sequence?
Ron_W
|
Not Categorized, Please Help
|
|