Re: gtk_entry display val



hi all;

      according to your suggestion i can use spinbutton, but can i
display the spinbutton with out arrows.

thanks for reply;

srinivas.
    
On Tue, 2005-06-21 at 19:21, srinivas 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&regards;

vas

_______________________________________________
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]