Re: About gtk_label_set_text()
- From: Clemens Kirchgatterer <clemens root at>
- To: Antonio Martínez Álvarez <newton retemail es>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: About gtk_label_set_text()
- Date: Sat, 24 Feb 2001 19:00:53 +0100
Antonio Martínez Álvarez wrote:
Hello list:
I'm trying to write a simple application. One button with label "1", and
every time the user do a click on it, the label must increase the label
by one. 1 --> 2 --> 3 etc...
I have found that I only can use a const string
(gtk_label_set_text(label, "anything") but no way to do what I say. How
can I do that.
make a atoi (ascii to integer) conversation in your callback or store
the number that is shown in the label seperatly (the easier way).
warm regards ...
clemens
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]