Re: gtk_text_buffer_insert
- From: shakti <shprasad novell com>
- To: Aaron Yang <porsche1904 yahoo com>
- Cc: gtk-app-devel-list gnome org, gtk-list gnome org
- Subject: Re: gtk_text_buffer_insert
- Date: Mon, 10 Jan 2005 10:43:46 +0530
Hi,
You can change the integer to string and can use it.
str = g_strdup_printf ("%d", i);
And then use the string variable str.
Then free the str variable.
Thanks,
Shakti
Aaron Yang wrote:
hi everyone,
how do I do this:
int i;
printf("%d", i);
in a textview:
gtk_text_buffer_insert(buffer, &iter, "%d", -1);
regards
__________________________________
Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today!
http://my.yahoo.com
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]