Query::Setting Color of submenu Widgets

Hi Anil:

I have tried with same syntax whatever u told.., but the thing is that.., whenever i am trying to assign new stylecolor( any color ) it is not taking with newly assign color.., by default for all it is showing white color only.after assigning., even i tried this wth one front by creating wthglade ....,but again it is showing white only.., even i tried to copy this newly created style (submenu widget color) into default style..and , but no inprovemnt .., since i have done this for desktop application but same thinngs doesnot work on target ...(cross compiling applicaton)..,

Please do mail at my gmail : raju.tewari@gmail.com or call me at 9886233564.., for this query...

Thanks

Raju tewari

hi try this

GtkWidget *menu;// menu or submenu objects.
GtkWidget *menuitem;// menu or submenu menuitem.

gdk_color_parse ("red", &menu->style->bg[GTK_STATE_NORMAL]);

gdk_color_parse ("blue", &menuitem->style->bg[GTK_STATE_PRELIGHT]);

--
_| _| _| Ashoka Gudigara. Email;Agudigara@india.tensor.com
_| _| _| Software Engineer.
_| _| _| Tensor PLC.