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

Re: checkbutton labels



e.g.:

  GtkWidget *wid = gtk_check_button_new_with_label("The initial text");
  /* ... after a while ... */
  gtk_label_set_text(GTK_LABEL(GTK_BIN(wid)->child), "The NEW text!!");

WARNING: not tested, but should work...

Cheers,
//mishoo

On 03 Aug 2001 19:00:09 +0200
Yves Kurz <yves_kurz@web.de> wrote:

> hello.. 
> 
> how can i change a label of a checkbutton (or togglebutton or button) at
> runtime?? 
> 
> thank you 
> 
> yves
> 
> 
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


-- 

  ... and on the seventh day, He exited from append mode.




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