Re: [INIMSS] How can I change the text of a button.



 Hi Dino

 you can add a label to button by :
  gtk_container_add(GTK_CONTAINER(button),label);
 
and change label by:
 gtk_label_set_text(label ,"hello ;-)" );

 Vahid


--- Dino Cherian K <inimss yahoo com> wrote:
> Hi
> 
> Any body please help me in finding a way to change
> the text of a
> GtkButton.
> 
> Thanks
> Dino CK
> 
>
_________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at
> http://mail.yahoo.com
> 
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list


__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]