font usage

Gtk Developers:

I read the docs/styles.txt file and I've still got some questions on
how to use styles and fonts.  Specifically, when is it okay to change
the contents of a GtkStyle?  Should I only change the attributes of a
copied style and then re-apply it?  What is the right way to change
the font for a particular style?  Is this correct?

mystyle->font = new_font;

Also, is it dangerous (or inefficent) to multiply load the same font?
(Or does Gdk take care of this?)



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