Re: GtkTextView with transparent background

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux