Re: GdkFont deprecated but in GdkGC

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

 



Hi.

"Marc K." <marc@xxxxxxxxxxxxxx> writes:

> In the GDK Reference Manual for GDK 2.5.6:
> GdkFont is deprecated but it is a field on GdkGCValues.
> How must we treat that field? Just pretend that
> it does not exist or should we set it to NULL?

The GdkGCValues struct is always used along with a bitmask with values
from GdkGCValuesMask. You don't need to set the fields of a GdkGCValue
that you haven't marked as valid in the values_mask. If you don't set
GDK_GC_FONT, the font field won't be touched.


Sven
_______________________________________________

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