Re: GtkTextView with transparent background
- From: Joost <joost h-labahn de>
- To: gtk-list gnome org
- Subject: Re: GtkTextView with transparent background
- Date: Tue, 05 Jan 2010 01:59:44 +0100
Hello,
just to this question:
"""
Would it perhaps be possible to write a GTK theme engine that
gets loaded as the program starts, and is only responsible for
rendering this single widget?
"""
Yes, that is easily possible. I do the same - using a special
engine different from that for the other widgets - for my notebooks
(thus for a whole widget class though). I showed the related .gtkrc
here on this list about a month before:
http://mail.gnome.org/archives/gtk-list/2009-December/msg00095.html
Such a .gtkrc will of course also accept a widget directive by
name - also it is not necessary to set this globally, a rc-file
for your application could do the same. Crucial and applicable to
your needs in that rc-code is, how the engines are specified in
the style directives (besides: if nothing helps, modify some
existing engine - to make only this change in any engine code
cannot be very difficult).
This addressing of varying engines in rc-files is that easy,
that we should consider it as recommended (but badly documented)
by the gtk developers - you should give a solution based on it
a second thought.
Good luck, Joost
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]