Re: [gtk-list] newbie: Gint to string ?
- From: hihihi <hihihi casema net>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] newbie: Gint to string ?
- Date: Mon, 25 Oct 1999 23:05:27 +0200
hihihi wrote:
> gint new_val;
> gtk_label_set_text(GTK_LABEL(label),new_val);
> How can i make a string from a gint ???
I found something that seems to work :
sprintf(buf,"%i",new_val);
gtk_label_set_text(GTK_LABEL(label),buf);
Is this the best way to do it ??
--
My webserver http://hihihi.penguinpowered.com
My home page at my provider http://www.casema.net/~hihihi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]