I've been asked to build a CRM pacakge, and hope to use the job as an
opportunity to get back into Gtk2-Perl, which I've been away from for 2
years now. I'd also like to use Camelbox for Windows desktops. I've just
installed on my Window Vista partition, and got some old apps up and
running in 1/2 an hour or so. Cool :)
However, all is not perfect.
The default theme. What's going on? I realise that this is the default
Gtk2 theme, but seriously, this not *not* how you sell people on the
wonders of Gtk2 on Windows. If I install this on a client's desktop and
start demoing things, they'll wonder what rock I've been under for the
last 15 years, and why they agreed to pay me so much money.
I will soon(ish) be looking at the easiest option: grabbing some dlls
from other Windows Gtk2 packages, dumping them into the right place, and
hoping I can remember how to set up a .gtkrc.
But for the love of God, we need a better theme than this as the
*default*. If anyone has made an attempt at this, please let me know
what you did, how far you got, etc. If I get a working solution, I'll
document and submit patches etc.
Dan
> The default theme. What's going on? I realise that this is the default
> Gtk2 theme, but seriously, this not *not* how you sell people on the
> wonders of Gtk2 on Windows. If I install this on a client's desktop and
> start demoing things, they'll wonder what rock I've been under for the
> last 15 years, and why they agreed to pay me so much money.
>
> I will soon(ish) be looking at the easiest option: grabbing some dlls
> from other Windows Gtk2 packages, dumping them into the right place, and
> hoping I can remember how to set up a .gtkrc.
>
> But for the love of God, we need a better theme than this as the
> *default*. If anyone has made an attempt at this, please let me know
> what you did, how far you got, etc. If I get a working solution, I'll
> document and submit patches etc.
When I distribute my software on Windows, I always supply GTK+ runtime
packages along with main program to avoid having to worry about what
is installed on users computer. Part of this runtime are also theme
engine DLLs from Alexander Shaduri's gtk-win page[1], along with some
themes. Final touch is modification of default gtkrc file inside
etc/gtk-2.0 to set some default theme and that's generally it.
It's been a while since I did this for the last time (I try to avoid
Windows related stuff if possible), but if you need more help, I'll
boot into Windows and test things out.
Tadej
[1] http://gtk-win.sourceforge.net/home/index.php/en/Home
--
Tadej Borovšak
tadeboro.blogspot.com
tade...@gmail.com
tadej.b...@gmail.com
> When I distribute my software on Windows, I always supply GTK+ runtime
> packages along with main program to avoid having to worry about what
> is installed on users computer. Part of this runtime are also theme
> engine DLLs from Alexander Shaduri's gtk-win page[1], along with some
> themes. Final touch is modification of default gtkrc file inside
> etc/gtk-2.0 to set some default theme and that's generally it.
Right. Yeah I've always used Alex's runtime, in combination with
ActiveState perl, but this has been strictly for 'internal' customers,
where I've had the luxury of doing each install & config myself.
With an external customer, I don't like the idea of saying to them
"Install Camelbox from here, then install another Gtk runtime from here,
and override the default Gtk environment by doing this, then install
these themes, then put this config file here, etc, etc. Oh ... and then
you can install my app here." Ideally, the Perl/Gtk runtime would be set
up to look acceptable out of the box. There are also questions of
whether it's wise to use gtk2-perl bindings built against 1 version of
gtk2, then using a completely different runtime, with different
compiler, etc. It might work, but then it might all blow up and cause my
a major headache.
> It's been a while since I did this for the last time (I try to avoid
> Windows related stuff if possible), but if you need more help, I'll
> boot into Windows and test things out.
Yeah I'm in the same boat ... ie I avoid Windows where possible. I think
my best approach will be first to try compiling some other themes using
the same compiler that camelbox was built with. I was kinda hoping
someone would respond with more info on this task. My problem is that I
have incredibly little time for this kind of thing these days
( full-time job, baby, general turmoil ), and I can imagine loosing many
nights / weekends to this without really getting anywhere.
Anyway, I'll soon(ish) reboot into Windows, and see if I can build build
a theme engine.
Dan