Re: How to get and change the RadioButton's display texts
- From: "chao yeaj" <yeajchao gmail com>
- To: "Iago Rubio" <iago iagorubio com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: How to get and change the RadioButton's display texts
- Date: Fri, 7 Jul 2006 19:22:14 +0800
thank you
but i want to get the "label" widget of the radio button
and then,chang the label text's color and font
On 7/7/06, Iago Rubio <iago iagorubio com> wrote:
On Fri, 2006-07-07 at 16:15 +0800, chao yeaj wrote:
> Hello ,all
> You know,the radio button has its display text,
> i think there is a label widget
>
> i want to chang the text of the radio button
> but i do not know how to do that
> i need your help
> Any comments would be much appreciated,and thanks in advance
void gtk_button_set_label (GtkButton *button,
const gchar *label);
As example:
void
change_radio_button_label (GtkRadioButton* radio_button, const gchar* label_text)
{
gtk_button_set_label (GTK_BUTTON(radio_button), label_text);
}
Cheers.
--
Iago Rubio
_______________________________________________
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]