hi try this
Query::Setting Color of submenu Widgets By: Raju Tewari (1 replies) Fri, 02/22/2008 - 13:34
- hi try this By: ashoka.g (02/25/2008 - 05:23)
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.