It has been a long time... Anyway I'm still working on the
same realtime communication package for linux, in the past
year it has really matured into a powerfull piece of
software, too bad I can never release it....
But, I've started the userinterface of the project and it is being done in gtk+. I've developed 1 custome widget that I've got permission to release under the LGPL after the project is released. When that happens it will be nice to give back to a community that has given me so much.
My current head banging experience is changing the background color of gtk widgets, it is really beginning to suck, I've discoved a way to get label widgets background to change by this little snipet of code
GtkRcStyle *rc_style = gtk_rc_style_new();
rc_style->color_flags[GTK_STATE_NORMAL] = (GtkRcFlags)(rc_style->color_flags[GTK_STATE_NORMAL] | GTK_RC_BG);
rc_style->bg[GTK_STATE_NORMAL].red = 0; rc_style->bg[GTK_STATE_NORMAL].green = 0; rc_style->bg[GTK_STATE_NORMAL].blue = 0xA0FF;
gtk_widget_modify_style (eventBox, rc_style); gtk_widget_modify_style (label1, rc_style);
But it only seems to work for labels, and I need entries, if anybody happens to read this and knows how to change gtk+ widget colors please I beg you, email me!!!
Well, I got to go.