(copying my answert to Antonis) On Wed, 24 Jun 2015, Antonis Tsolomitis wrote:
> On 24/06/2015 04:07 μμ, Marcin Cieslak wrote: > > *0*ColorPalette: DarkGold.dp > > *ColorUse: HIGH_COLOR > > *DtEditor*textFontList: -dt-interface > > user-medium-r-normal-xs*-*-*-*-*-*-*-*-*: > > *DtTerm*shadowThickness: 1 /*...*/ > > *textFontList: -dt-interface > > user-medium-r-normal-xs*-*-*-*-*-*-*-*-*: > > *ttyModes: erase ^H intr ^C kill ^U start ^Q stop ^S swtch ^@ susp ^Z > > *userFont: -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*: > Yes and No. Indeed Qt programs (take vlc) pick up resources from CDE. But they > do not do it completely right. As seen above, CDE does not publish resources related to menus and some widgets. > And one more: The fact that Qt does something about CDE theming does not mean > that I must use > KMail, Koffice, Konqueror etc which are also slow (to my opinion). Most of the > big standard desktop > apps use GTK. Nobody is saying that. We are talking about integration issues, that's it. > To create all the CDE themes for gtk will not be very difficult. To set a gtk > theme is also easy. What is missing > is a way when choosing a CDE theme from dtstyle this sould also set resources > for GTK apps. > This will facilitate switching from one theme to another. /usr/dt/share/palettes contain palettes - which are just lists of color values. There is some interesting code in cde/programs/dtsession/SrvPalette.c This code takes care of writing resources, there is also some Sun OW integration in #ifdef - this way the color information is being sent to a slightly different windowing system (OWsyncColorResources). One could possibly add some GTK-specific code there, maybe. It looks like one can communicate with this part of dtsession via X11 selections - so maybe the tool could simply ask for colors needed. The actual problem is probably how to match those few colors onto vast array of GTK widgets. ~Marcin ------------------------------------------------------------------------------ Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical & virtual servers, alerts via email & sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o _______________________________________________ cdesktopenv-devel mailing list cdesktopenv-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel