[Glade-users] gtk/glade programming
- From: g_mitter web de ( Günther Mittermayer )
- Subject: [Glade-users] gtk/glade programming
- Date: Thu, 25 Sep 2003 16:12:04 +0200
Glad it worked,
if you mean by "append", something as adding a string to the end, as strca=
t would, I think there is no function to it, but you can do it indirectly,=
copying the contents to a string, and setting it back to the GtkTextBuffe=
r..
check out:
http://developer.gnome.org/doc/API/2.0/gtk/GtkTextBuffer.html=20
for all related functions.
G=FCnther.
Seb James <seb hypercubesystems co uk> schrieb am 25.09.03 14:08:33:
=20
On Thu, 2003-09-25 at 13:00, =3D=3Fiso-8859-1=3FQ=3F G=3DFCnther=3D20Mittermayer =3F=3D
wrote:
=20
/* Plus output it to the console window: */
gtk=5Ftext=5Fbuffer=5Fset=5Ftext (gtk=5Ftext=5Fview=5Fget=5Fbuffer (GTK=5FTEXT=5FVIEW (c=
onsole=5Ftextview)),
=5F("Buffer text"), -1);
/* How to replace "Buffer text" with "%s", buf =3F */
=20
How about a simple buf instead of the whole =5F() thing=3F like that:
gtk=5Ftext=5Fbuffer=5Fset=5Ftext (gtk=5Ftext=5Fview=5Fget=5Fbuffer (GTK=5FTEXT=5FVIEW (con=
sole=5Ftextview)), buf, -1);
=20
=20
Thanks Guenter, this helps. Can I append text to a gtk=5Ftext=5Fbuffer, by
the way, do you know=3F
=20
Seb
=20
=20
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
Glade-users maillist - Glade-users lists ximian com
http://lists.ximian.com/mailman/listinfo/glade-users
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F
Jetzt neu bei WEB.DE - Call by Call vom Handy. Fuenfmal mehr mobil
telefonieren. Jetzt ausprobieren! http://handybycall.web.de/=3Fmc=3D021101
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]