Re: How to get and change the RadioButton's display texts



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




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