Query::Setting Color of submenu Widgets
Submitted by Raju Tewari on Fri, 02/22/2008 - 13:34.
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
- Raju Tewari's blog
- Login or register to post comments









Recent blog posts
- Nirmitsu Technologies Launches NU2000, NU2100 and NU4000
- Gtk and Embedded Devices - part 1
- gtk extra plot...
- GtkSheet with freeze panes
- Fake a signal
- Query::Setting Color of submenu Widgets
- how to color the combo box entry
- Multiline Text Editing Widget
- Setting Color of submenu Widgets
- GtkFB (Gtk+) for the Linux Framebuffer
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.