RE: Checking current font?




Unless I'm mistaken, you should be able to do the following:

  GdkGCValues gc_values;
  gdk_gc_get_values( ptr_to_your_GC, &gc_values );

You can then extract the current state of the GC from gc_values.  In
particular, gc_values.font is a pointer to the GC's GdkFont object.

-Jon Trowbridge
 EMC Capital Management, Inc.



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