Gtk_Text question
- From: Lixin Tang <ltang auto ugcs caltech edu>
- To: gtk-list redhat com
- Subject: Gtk_Text question
- Date: Fri, 25 Sep 1998 16:21:27 -0700 (PDT)
Hi,
what's wrong with my following code when I try to put a string into a text
widget? I got "** ERROR **: sigsegv caught" message when I ran it (not
compiled it). Your help is appreciated!
Lixin
==================================================================
...
Gtk_Text* my_text = new Gtk_Text();
int i = 0;
// syntax: void insert_text(const gchar *new_text, gint new_text_length,
// gint *position); of class Gtk_Editable
my_text->insert_text( "Hello", 5, &i );
my_text->show();
...
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]