Re: Radio Buttons w/ Labels and RC STYLE



Steve & Patti Getzinger <steveandpatti wubs org> writes:

gtk_widget_modify_style(GTK_WIDGET(GTK_LABEL(radiobutton)->label), rc1_style);

...

Gtk-WARNING **: invalid cast from `GtkRadioButton' to `GtkLabel'


The cast GTK_LABEL(radiobutton) is a good guess at the problem ;-)

How about modify_style (GTK_BIN (radiobutton)->child, rc1_style)

Havoc




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