[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: gtk_entry display val
- From: Antonio Gomes <tonikitoo gmail com>
- To: srinivas comodo com
- Cc: gtk-app-devel-list gnome org
- Subject: Re: gtk_entry display val
- Date: Tue, 21 Jun 2005 14:55:26 -0400
Sorry , if I did not understand properly your intentions. If so, I
suggest you take a look at:
http://developer.gnome.org/doc/API/2.0/gtk/GtkSpinButton.html
regards
On 6/21/05, srinivas <srinivas comodo com> wrote:
> hi ;
>
> i want to display int values in gtk_entry widget;
>
> gchar data=(gchar *)malloc(sizeof(gchar)*MAX_SIZE);
>
> for (int_num =0; int_num < data; int_num++)
> {
> sprintf (data, "%d", &int_num);
>
> gtk_entry_set_text (GTK_ENTRY (win_entry),(gchar *) int_num );
>
> gtk_widget_show (win_cmp);
> }
>
> win_cmp is widget name, and win_entry is entry name.
> i am using this routine, so for each increment the val has to be
> displayed in entry widget. but i can't able to display the value change
> in the entry widget. what i have to do for that.
>
> thanks®ards;
>
> vas
>
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
>
--
Antonio Gomes
E-mail: antonio gomes indt org br
Embedded Linux Lab - 10LE
INdT - Instituto Nokia de Tecnologia (Manaus/Br)
NOKIA's Technology Institute
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]