Re: button label problem



  
   hi...

        thanx for ur help....

     i want to ask one more thing..if i changed the label by clicking
once..how can i change it again on next click...

   thanx..in advance...
   

              




                                              
                                              
                                              
                                              

                                              
                                              
                                              

                                            
                                                
                                                         
                                                      
            

                                     
  




                                                          

                             

On Tue, 13 Aug 2002, Olexiy Avramchenko wrote:

> vyadav cdotd ernet in wrote:
> 
> >   hi..
> >
> >   i did like it..but i got undefined reference of "gtk_button_set_label"
> > 
> >    then what should i do....
> >
> >      thanx...
> >
> Oops, you're using gtk+-1.2, the gtk_button_set_label function is from 
> gtk+-2.0 library.
> Try this:
> ---
> gtk_label_set_text(GTK_LABEL(GTK_BIN(button)->child), label);
> ---
> instead of
> 
> ---
> gtk_button_set_label(...)
> ---
> 
> Olexiy
> 
> 
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
> 
> 





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