Re: GtkText widget
- From: Glitch <brandon ovnet com>
- To: Havoc Pennington <hp redhat com>
- Cc: Martynas Jocius <falco infoseka lt>, gtk-list gnome org
- Subject: Re: GtkText widget
- Date: Sun, 29 Apr 2001 01:40:37 -0400
Havoc Pennington wrote:
Glitch <brandon ovnet com> writes:
GtkWidget *ball[6];
ball[0] = gtk_editable_get_chars(GTK_EDITABLE(entry[0]), 0 , -1);
Surely you mean:
gchar *ball = gtk_editable_get_chars (... etc.)
Assigning gchar* to GtkWidget* is not kosher.
Havoc
maybe that's how it should be done but it isn't the way i've been doing
it in my program and actually, i took out the real way im doing it so it
woudlnt' confuse the OP.
I actually have the rvalue wrapped in an atoi() so I get an int, not a char.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]