Re: Radio Buttons w/ Labels and RC STYLE
- From: Steve & Patti Getzinger <steveandpatti wubs org>
- To: gtk-app-devel-list gnome org
- Subject: Re: Radio Buttons w/ Labels and RC STYLE
- Date: Mon, 12 Mar 2001 20:35:24 -0600
That did the trick :) I knew the GTK_LABEL was causing the warning just
didn't open my brain far enough. If I could just cut down all these
trees maybe I could see the forest you all are talking about.
Thanks,
Steve
Havoc Pennington wrote:
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
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
--
=========================================================
WDI Steve & Patti Getzinger
702 Lincolnway West steveandpatti wubs org
South Bend, IN 46616 http://www.wubs.org/
219-287-4700 (Main Office) 317-535-0239 (Direct Line)
=========================================================
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]