Re: button label problem
- From: vyadav cdotd ernet in
- To: Olexiy Avramchenko <ath beast stu cn ua>
- Cc: Olexiy Avramchenko <ath beast stu cn ua>, gtk-list gnome org
- Subject: Re: button label problem
- Date: Wed, 14 Aug 2002 10:34:28 +0500 (GMT+0500)
  
   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]